Fix grammar. Reported by R. David Murray.

This commit is contained in:
Martin v. Löwis 2009-06-02 21:43:06 +00:00
parent d2a8910fd3
commit f8e01ad3a3
1 changed files with 11 additions and 10 deletions

View File

@ -104,16 +104,17 @@ will produce non-sensical data.
Data obtained from other sources may conflict with data produced Data obtained from other sources may conflict with data produced
by this PEP. Dealing with such conflicts is out of scope of the PEP. by this PEP. Dealing with such conflicts is out of scope of the PEP.
This PEP allows to "smuggle" bytes in character strings. This would This PEP allows the possibility of "smuggling" bytes in character
be a security risk if the bytes are security-critical when interpreted strings. This would be a security risk if the bytes are
as characters on a target system, such as path name separators. For security-critical when interpreted as characters on a target system,
this reason, the PEP rejects smuggling bytes below 128. If the target such as path name separators. For this reason, the PEP rejects
system uses EBCDIC, such smuggled bytes may still a security risk, smuggling bytes below 128. If the target system uses EBCDIC, such
allowing to smuggle, e.g. square brackets or the backslash. Python smuggled bytes may still be a security risk, allowing smuggling of
currently does not support EBCDIC, so this should not be a problem in e.g. square brackets or the backslash. Python currently does not
practice. Anybody porting Python to an EBCDIC system might want to support EBCDIC, so this should not be a problem in practice. Anybody
adjust the error handlers, or come up with other approaches to address porting Python to an EBCDIC system might want to adjust the error
the security risks. handlers, or come up with other approaches to address the security
risks.
Encodings that are not compatible with ASCII are not supported by Encodings that are not compatible with ASCII are not supported by
this specification; bytes in the ASCII range that fail to decode this specification; bytes in the ASCII range that fail to decode