Armin Rigo
51fc8c456e
Fix and test for an infinite C recursion.
2006-08-09 14:55:26 +00:00
Andrew M. Kuchling
98c048041d
Reindent code
2006-08-09 14:06:19 +00:00
Andrew M. Kuchling
58aa6f70a1
Add missing 'self' parameters
2006-08-09 14:05:35 +00:00
Andrew M. Kuchling
13300f2bfa
[Patch #1534027 ] Add notes on locale module changes
2006-08-09 13:57:05 +00:00
Andrew M. Kuchling
b71366081f
[Bug #1536021 ] Mention __hash__ change
2006-08-09 13:03:41 +00:00
Martin v. Löwis
ab2f8f7bd5
__hash__ may now return long int; the final hash
...
value is obtained by invoking hash on the long int.
Fixes #1536021 .
2006-08-09 07:57:39 +00:00
Georg Brandl
209307eb3b
Introduce an upper bound on tuple nesting depth in
...
C argument format strings; fixes rest of #1523610 .
2006-08-09 07:03:22 +00:00
Tim Peters
8e24a9678f
Whitespace normalization.
2006-08-09 00:52:26 +00:00
Georg Brandl
7572f0322a
``str`` is now the same object as ``types.StringType``.
2006-08-08 20:48:10 +00:00
Georg Brandl
7f719c5edf
Bug #1536660 : separate two words.
2006-08-08 20:13:13 +00:00
Georg Brandl
6c223fe796
Bug #1536828 : typo: TypeType should have been StringType.
2006-08-08 20:11:22 +00:00
Andrew M. Kuchling
4f71b55040
Bump version number
2006-08-08 19:00:34 +00:00
Andrew M. Kuchling
a9771307b5
'Other changes' section now has only one item; move the item elsewhere and remove the section
2006-08-08 19:00:14 +00:00
Andrew M. Kuchling
88eb45fa1e
Move obmalloc item into C API section
2006-08-08 18:56:08 +00:00
Andrew M. Kuchling
30c0d1d174
Reword paragraph to clarify
2006-08-08 18:50:14 +00:00
Thomas Heller
dc68ffd003
Remove accidently committed, duplicated test.
2006-08-08 17:39:20 +00:00
Thomas Heller
ab1049c046
memcmp() can return values other than -1, 0, and +1 but tp_compare
...
must not.
2006-08-08 17:37:00 +00:00
Georg Brandl
b0061c8e93
Remove "non-mapping" and "non-sequence" from TypeErrors raised by
...
PyMapping_Size and PySequence_Size.
Because len() tries first sequence, then mapping size, it will always
raise a "non-mapping object has no len" error which is confusing.
2006-08-08 11:56:21 +00:00
Georg Brandl
f3321b5e76
webbrowser: Silence stderr output if no gconftool or gnome browser found
2006-08-08 11:52:34 +00:00
Andrew M. Kuchling
8607042889
[Patch #1464056 ] Ensure that we use the panelw library when linking with ncursesw.
...
Once I see how the buildbots react, I'll backport this to 2.4.
2006-08-06 22:07:04 +00:00
Andrew MacIntyre
16ee33adfc
test_threading now skips testing alternate thread stack sizes on
...
platforms that don't support changing thread stack size.
2006-08-06 12:37:03 +00:00
Georg Brandl
d336e98ed9
Don't produce output in test_builtin.
2006-08-06 09:17:16 +00:00
Georg Brandl
7e3ba2a699
Bug #1535165 : fixed a segfault in input() and raw_input() when
...
sys.stdin is closed.
2006-08-06 08:23:54 +00:00
Georg Brandl
534fe18e17
Bug #1535081 : A leading underscore has been added to the names of
...
the md5 and sha modules, so add it in Modules/Setup.dist too.
2006-08-06 07:26:21 +00:00
Georg Brandl
9908d1656c
Bug #1535182 : really test the xreadlines() method of bz2 objects.
2006-08-06 07:06:33 +00:00
Georg Brandl
212b587a52
Patch #1534922 : correct and enhance unittest docs.
2006-08-05 06:10:54 +00:00
Bob Ippolito
e6c9f982a0
Fix #1530559 , struct.pack raises TypeError where it used to convert.
...
Passing float arguments to struct.pack when integers are expected
now triggers a DeprecationWarning.
2006-08-04 23:59:21 +00:00
Tim Peters
b1ccc4d409
Whitespace normalization.
2006-08-04 22:00:35 +00:00
Andrew M. Kuchling
f4152c3215
Fix mangled sentence
2006-08-04 21:10:03 +00:00
Andrew M. Kuchling
0067b5fa2b
Typo fixes
2006-08-04 20:37:43 +00:00
Thomas Heller
db7b443d8a
Fix #1534738 : win32 debug version of _msi must be _msi_d.pyd, not _msi.pyd.
...
Fix the name of the pdb file as well.
2006-08-04 19:49:31 +00:00
Thomas Heller
1798489547
Fix #1530448 - fix ctypes build failure on solaris 10.
...
The '-mimpure-text' linker flag is required when linking _ctypes.so.
2006-08-04 18:57:34 +00:00
Thomas Heller
74d36f0d95
On Windows, make PyErr_Warn an exported function again.
2006-08-04 18:17:40 +00:00
Georg Brandl
16183631ed
Better fix for bug #1531405 , not executing str(value) twice.
2006-08-04 18:07:34 +00:00
Georg Brandl
e9462c72bd
Change fix for segfaulting property(), add a NEWS entry and a test.
2006-08-04 18:03:37 +00:00
Neil Schemenauer
06ded09d40
Fix the 'compiler' package to generate correct code for MAKE_CLOSURE.
...
In the 2.5 development cycle, MAKE_CLOSURE as changed to take free
variables as a tuple rather than as individual items on the stack.
Closes patch #1534084 .
2006-08-04 16:20:30 +00:00
Georg Brandl
45381938e9
Fix bug caused by first decrefing, then increfing.
2006-08-04 06:03:53 +00:00
Gregory P. Smith
d856ce0a1f
fix typos
2006-08-04 05:17:47 +00:00
Fred Drake
7a36f5f344
SF patch #1534048 (bug #1531003 ): fix typo in error message
2006-08-04 05:17:21 +00:00
Neal Norwitz
9a70f95ee8
There were really two issues
2006-08-04 05:12:19 +00:00
Neal Norwitz
0cbd805a10
Bug #1333982 : string/number constants were inappropriately stored
...
in the byte code and co_consts even if they were not used, ie
immediately popped off the stack.
2006-08-04 05:09:28 +00:00
Neal Norwitz
4ffedadb10
Bug #1191458 : tracing over for loops now produces a line event
...
on each iteration. I'm not positive this is the best way to handle
this. I'm also not sure that there aren't other cases where
the lnotab is generated incorrectly. It would be great if people
that use pdb or tracing could test heavily.
Also:
* Remove dead/duplicated code that wasn't used/necessary
because we already handled the docstring prior to entering the loop.
* add some debugging code into the compiler (#if 0'd out).
2006-08-04 04:58:47 +00:00
Neal Norwitz
ff4b63b80f
Bug #1531405 , format_exception no longer raises an exception if
...
str(exception) raised an exception.
2006-08-04 04:50:21 +00:00
Anthony Baxter
4b8bd31ef0
Tagging for release of Python 2.5b3
2006-08-03 00:21:45 +00:00
Tim Peters
54e3cf0633
Add missing svn:eol-style property to text files.
2006-08-02 18:19:35 +00:00
Martin v. Löwis
961b91bd3c
Correction of patch #1455898 : In the mbcs decoder, set final=False
...
for stream decoder, but final=True for the decode function.
2006-08-02 13:53:55 +00:00
Thomas Heller
5c387f2e5d
Fix a mistake.
2006-08-02 12:00:13 +00:00
Thomas Heller
6a0ce407fb
A few nore words about what ctypes does.
...
Document that using the wrong calling convention can also raise
'ValueError: Procedure called with the wrong number of arguments'.
2006-08-02 11:35:31 +00:00
Anthony Baxter
5d32a9f188
pre-release machinations
2006-08-02 07:43:09 +00:00
Neal Norwitz
30eb9660b6
Add some explanation about Klocwork and Coverity static analysis
2006-08-02 07:09:32 +00:00