Neal Norwitz
d39d861a36
Fix icc warnings: strlen() returns size_t
2006-01-08 01:03:36 +00:00
Neal Norwitz
daf595f8a9
Fix icc warnings: shadowing local variable (i) and complex is set but not used, so remove
2006-01-07 21:24:54 +00:00
Neal Norwitz
08b401f67a
Fix icc warnings: single bit fields should be unsigned, shadowing local variables
2006-01-07 21:24:09 +00:00
Neal Norwitz
406c640344
Fix icc warnings: shadowing local variables
2006-01-07 21:23:26 +00:00
Tim Peters
e86e7a5b62
svnversion_init(): Use standard layout for function defn.
2006-01-06 02:42:46 +00:00
Tim Peters
216b78bdaa
Trimmed trailing whitespace.
2006-01-06 02:40:53 +00:00
Martin v. Löwis
43b57805fb
Drop sys.build_number. Add sys.subversion.
2006-01-05 23:38:54 +00:00
Hye-Shik Chang
23f391c6a1
Fix a warning from gcc by adding a missed const qualifier.
2006-01-04 01:30:17 +00:00
Martin v. Löwis
5b43126e03
Regenerate.
2006-01-02 21:18:55 +00:00
Martin v. Löwis
94962615b7
Adjust usage of compiler_use_new_block to its return type.
2006-01-02 21:15:05 +00:00
Fredrik Lundh
24f0fa97c5
SF#1391872
...
Floating point literals don't work in non-US locale in 2.5. Patch and
new locale tests by Hye-Shik Chang.
2005-12-29 20:35:52 +00:00
Tim Peters
35c3f4f249
do_mkvalue(), 'I' and 'k' cases: squash legitimate
...
compiler warnings about mixing signed and unsigned types
in comparisons.
2005-12-24 06:23:41 +00:00
Tim Peters
c3d12ac88c
const poisoning, spreading to fix new const warnings
...
in _winreg.c.
2005-12-24 06:03:06 +00:00
Neal Norwitz
4ac13dfc3a
Remove extra parens
2005-12-19 06:10:07 +00:00
Neal Norwitz
30b5c5d011
Fix SF bug #1072182 , problems with signed characters.
...
Most of these can be backported.
2005-12-19 06:05:18 +00:00
Neal Norwitz
5d0ad50f5a
Bug #889500 , fix line number on SyntaxWarning for global declarations.
2005-12-19 04:27:42 +00:00
Fredrik Lundh
93d69a7948
fixed compilation with an ordinary C89 compiler
2005-12-18 15:44:21 +00:00
Neal Norwitz
51abbc7b4a
Fix Armin's bug 1333982. He found it, he didn't created it :-)
...
This code generated a C assertion:
assert 1, ([s for s in x] +
[s for s in x])
pass
assert was completely broken, it needed to use the proper block.
compiler_use_block() is now no longer used, so remove it.
2005-12-18 07:06:23 +00:00
Neal Norwitz
0e7a0ed335
Fix compiler warnings
2005-12-18 05:37:36 +00:00
Neal Norwitz
4e6bf49a5e
Handle more error conditions with SystemError
2005-12-18 05:32:41 +00:00
Neal Norwitz
db83eb3170
Fix Bug #1378022 , UTF-8 files with a leading BOM crashed the interpreter.
...
Needs backport.
2005-12-18 05:29:30 +00:00
Neal Norwitz
e7214a130b
Get float() to be more portable across platforms. Disable hex strings.
2005-12-18 05:03:17 +00:00
Neal Norwitz
87b801cc2d
Set MemoryError when alloc fails
2005-12-18 04:42:47 +00:00
Neal Norwitz
3c52c5a888
Wrap long lines in the grammar
2005-12-18 04:12:30 +00:00
Neal Norwitz
84456bdab3
Cleanup a bit and make things more consistent.
...
Don't double check for NULLs and don't initialize if not necessary.
No functional changes.
2005-12-18 03:16:20 +00:00