|
|
|
This patch implements parts of the new struct string syntax from PEP 3118. More specifically, the 'T{}' syntax and the ability to place byte-order specifiers ('<', '>', '@', '^', '!", '=') anywhere in the struct string.
Patch Set 1 #
Total comments: 2
Total messages: 2
|
minge
|
15 years, 7 months ago (2010年05月18日 12:18:21 UTC) #1 | ||||||||||||||||||||||||||
http://codereview.appspot.com/1258041/diff/1/4 File Modules/_struct.c (right): http://codereview.appspot.com/1258041/diff/1/4#newcode1730 Modules/_struct.c:1730: assert(soself->s_codes != NULL); This should be 'assert(soself->s_tree->s_codes != NULL)'. http://codereview.appspot.com/1258041/diff/1/4#newcode1765 Modules/_struct.c:1765: assert(soself->s_codes != NULL); This should be 'assert(soself->s_tree->s_codes != NULL)'.