Staging
v0.8.1
v0.8.1
Revision 91879ab8ea3ccb611a2b46b81a9984f451cb0669 authored by Tim Peters on 27 August 2004, 22:35:44 UTC, committed by Tim Peters on 27 August 2004, 22:35:44 UTC
need to convert str objects from the iterable to unicode. So, if someone set the system default encoding to something nasty enough, the conversion process could mutate the input iterable as a side effect, and PySequence_Fast doesn't hide that from us if the input was a list. IOW, can't assume the size of PySequence_Fast's result is invariant across PyUnicode_FromObject() calls.
1 parent 05eba1f
File | Mode | Size |
---|---|---|
.cvsignore | -rw-r--r-- | 22 bytes |
acceler.c | -rw-r--r-- | 2.8 KB |
bitset.c | -rw-r--r-- | 949 bytes |
firstsets.c | -rw-r--r-- | 2.1 KB |
grammar.c | -rw-r--r-- | 5.1 KB |
grammar.mak | -rw-r--r-- | 1.3 KB |
grammar1.c | -rw-r--r-- | 1.0 KB |
intrcheck.c | -rw-r--r-- | 2.7 KB |
listnode.c | -rw-r--r-- | 983 bytes |
metagrammar.c | -rw-r--r-- | 2.2 KB |
myreadline.c | -rw-r--r-- | 5.3 KB |
node.c | -rw-r--r-- | 3.5 KB |
parser.c | -rw-r--r-- | 8.9 KB |
parser.h | -rw-r--r-- | 1000 bytes |
parsetok.c | -rw-r--r-- | 5.0 KB |
pgen.c | -rw-r--r-- | 14.2 KB |
pgenmain.c | -rw-r--r-- | 3.2 KB |
printgrammar.c | -rw-r--r-- | 2.4 KB |
tokenizer.c | -rw-r--r-- | 31.5 KB |
tokenizer.h | -rw-r--r-- | 2.3 KB |
tokenizer_pgen.c | -rw-r--r-- | 36 bytes |
Computing file changes ...