Antoine Pitrou
323b9da16d
Issue #7211 : Allow 64-bit values for the ident and data fields of kevent
...
objects on 64-bit systems. Patch by Michael Broghton.
I will revert this checkin if it causes problems on our BSD buildbots.
2009-11-04 19:25:14 +00:00
Georg Brandl
efc285880c
#7259 : show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs.
2009-11-04 07:38:12 +00:00
Raymond Hettinger
fa7dadd339
Fix exception handling in itertools.izip_longest().
2009-11-01 20:45:16 +00:00
Antoine Pitrou
e50efaad9f
Buffered I/O: optimize lock taking in the common non-contended case.
2009-11-01 11:58:22 +00:00
Gregory P. Smith
b2b92ea7bc
Define TCSASOFT if the flag exists.
2009-10-31 21:23:39 +00:00
Antoine Pitrou
2c970a2ba2
Remove official documentation entry for thread._count() and make the
...
docstring more descriptive instead.
2009-10-30 22:19:09 +00:00
Antoine Pitrou
59c44f36e0
Issue #7222 : Make thread "reaping" more reliable so that reference
...
leak-chasing test runs give sensible results. The previous method of
reaping threads could return successfully while some Thread objects were
still referenced. This also introduces a new private function:
:func:hread._count().
2009-10-30 17:07:08 +00:00
Georg Brandl
a8f8bed203
Use a single style for all the docstrings in the math module.
2009-10-29 20:54:03 +00:00
Georg Brandl
40777e6606
Use the correct function name in docstring.
2009-10-29 20:38:32 +00:00
Mark Dickinson
3ddb52717f
Roll back ill-considered attempts to fix printf specifier mismatch for off_t.
...
The sensible solution seems to be to implement %lld for PyString_FromFormat(V)
and PyErr_Format. See issue #7228 .
2009-10-29 09:46:04 +00:00
Eric Smith
129c97df02
Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in _json.c as part of short float repr. Change made after consulting with Bob Ippolito. This completes the removal of calls to PyOS_ascii_strtod.
2009-10-28 08:44:37 +00:00
Mark Dickinson
e8486931b6
Fix format specifier for MSVC
2009-10-28 07:47:32 +00:00
Mark Dickinson
791181b0ff
Replace long long with PY_LONG_LONG
2009-10-28 07:23:49 +00:00
Mark Dickinson
bf1039d98c
Silence gcc warnings when trying to print an off_t using "lld", on platforms
...
where off_t has type long (e.g., 64-bit Linux).
2009-10-27 21:48:20 +00:00
Antoine Pitrou
dd62966a5f
Issue #7205 : Fix a possible deadlock when using a BZ2File object from several threads at once.
2009-10-27 17:41:58 +00:00
Eric Smith
b53e1a6ed3
Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in stropmodule as part of short float repr.
2009-10-27 12:12:44 +00:00
Eric Smith
97be1ca1d9
Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in cPickle as part of short float repr.
2009-10-27 11:32:11 +00:00
Mark Dickinson
e052b64def
Use correct conversion specifier and length modifier when printing an
...
integer of type off_t. Also, don't assume that long long is available.
2009-10-26 19:59:23 +00:00
Antoine Pitrou
d9ff74e51d
Some platforms have rl_completion_append_character but not rl_completion_suppress_append.
...
Reported by Mark D.
2009-10-26 19:16:46 +00:00
Eric Smith
b05d3be2f1
Continue removing _PyOS_double_to_string, as mentioned in issue 7117.
2009-10-26 15:06:39 +00:00
Antoine Pitrou
5e9f6676ea
Fix compilation error in debug mode.
2009-10-24 12:41:27 +00:00
Antoine Pitrou
f7820c1626
Manual py3k backport: [svn r74316] Issue #5449 : Fix io.BytesIO to not accept arbitrary keywords
2009-10-24 12:28:22 +00:00
Antoine Pitrou
fa94e80f3b
Manual py3k backport: [svn r74158] Issue #6218 : Make io.BytesIO and io.StringIO picklable.
2009-10-24 12:23:18 +00:00
Antoine Pitrou
f98a267be3
Manual py3k backport: [svn r74155] Issue #6242 : Fix deallocator of io.StringIO and io.BytesIO
2009-10-24 11:59:41 +00:00
Antoine Pitrou
efb60c0ceb
Issue #1722344 : threading._shutdown() is now called in Py_Finalize(), which
...
fixes the problem of some exceptions being thrown at shutdown when the
interpreter is killed. Patch by Adam Olsen.
2009-10-20 21:29:37 +00:00