T/ZASDI 0002-2023 Active Group standards

T/ZASDI 0002-2023 Military Software Python Language Programming Guide

T/ZASDI 0002-2023

Publish Date: 2024-09-18 Implement Date: 2024-10-01 For services related to genuine standard inquiry, procurement, translation, and other related services in China, please Contact Us
Price: $ 20.00
Out of stock

Basic Information

Standard Code: T/ZASDI 0002-2023
Standard Type: Group standards
Standard Status: Active
is_force_gb: no
CCS Name: -
ICS Name: Language used in information technology
Publish Date: 2024-09-18
Implement Date: 2024-10-01

Scope

Scope: This document specifies the rules for safe and standardized coding using the Python 2 and Python 3 programming languages. This document is applicable to military basic software written in Python 2 and Python 3, especially military safety-critical system basic software, and other military software can also refer to and implement it accordingly. Each rule includes an identifier, a title, a rule description, a code example of a violation, and a code example of compliance. The identifier is a unique mnemonic for the rule, and the title is a concise but sometimes inaccurate description of the rule. The rule description specifies the normative requirements of the rule. The code example of a violation is a code example that violates the rule. The accompanying code example of compliance demonstrates equivalent code that does not violate the rules in this coding standard or any other rules. Main technical content: This coding standard consists of mandatory rules (requried rule) and advisory rules (advisory rule). Mandatory rules are designed to provide normative requirements for code, and violating mandatory rules usually indicates that there are defects in the code; advisory rules are intended to provide guidance, and when following these guidelines, it should be possible to improve the security, reliability, and readability and maintainability of the software system. However, violating advisory rules does not necessarily indicate that there are defects in the code. Mandatory and advisory rules are collectively referred to as guidelines. Mandatory rules must meet the following conditions: 1 Violating the guideline may lead to defects that adversely affect the safety, reliability, or security of the system, such as introducing security vulnerabilities that can be exploited. 2 The guideline does not depend on source code annotations or assumptions. 3 Whether the guideline is met can be determined by automatic analysis (static or dynamic), formal methods, or manual revi

Development Information

Related Standards

Contact Us