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
Neal Norwitz
9b0ca79213
Patch #1519025 and bug #926423 : If a KeyboardInterrupt occurs during
...
a socket operation on a socket with a timeout, the exception will be
caught correctly. Previously, the exception was not caught.
2006-08-02 06:46:21 +00:00
Neal Norwitz
3ee5941f68
Let us know when there was a problem and the child had to kill the parent
2006-08-02 06:19:19 +00:00
Neal Norwitz
c0328d17a5
v is already checked for NULL, so just DECREF it
2006-08-02 06:15:10 +00:00
Neal Norwitz
c5e060dee6
_PyWeakref_GetWeakrefCount() now returns a Py_ssize_t instead of long.
2006-08-02 06:14:22 +00:00
Ronald Oussoren
5fb9c20f2a
Updated documentation for the script that builds the OSX installer.
2006-08-02 06:10:10 +00:00
Tim Peters
a05f6e244a
_Stream.close(): Try to kill struct.pack() warnings when
...
writing the crc to file on the "PPC64 Debian trunk" buildbot
when running test_tarfile.
This is again a case where the native zlib crc is an unsigned
32-bit int, but the Python wrapper implicitly casts it to
signed C long, so that "the sign bit looks different" on
different platforms.
2006-08-02 05:20:08 +00:00
Neal Norwitz
99dfe3c411
Prevent memory leak on error.
...
Reported by Klocwork #36
2006-08-02 04:27:11 +00:00
Tim Peters
62decc9f49
Try to squash struct.pack warnings on the "amd64 gentoo trunk"
...
buildbot (& possibly other 64-bit boxes) during test_gzip.
The native zlib crc32 function returns an unsigned 32-bit integer,
which the Python wrapper implicitly casts to C long. Therefore the
same crc can "look negative" on a 32-bit box but "look positive" on
a 64-bit box. This patch papers over that platform difference when
writing the crc to file.
It may be better to change the Python wrapper, either to make
the result "look positive" on all platforms (which means it may
have to return a Python long at times on a 32-bit box), or to
keep the sign the same across boxes. But that would be a visible
change in what users see, while the current hack changes no
visible behavior (well, apart from stopping the struct deprecation
warning).
Note that the module-level write32() function is no longer used.
2006-08-02 04:12:36 +00:00
Tim Peters
4edcba69f3
Whitespace normalization.
2006-08-02 03:27:46 +00:00