Stefan Krah
b9e36b97f2
Add unused parameter to a couple of METH_NOARGS functions. The previous
...
form is used in many places in the source tree, but was found to be incorrect
in a recent tracker discussion.
2012-07-28 13:53:47 +02:00
Stefan Krah
7d12d9df13
Issue #12834 : Fix PyBuffer_ToContiguous() for non-contiguous arrays.
2012-07-28 12:25:55 +02:00
Antoine Pitrou
f3923e9dd7
Issue #15413 : os.times() had disappeared under Windows.
2012-07-24 21:23:53 +02:00
Meador Inge
9f65899d19
Issue #15402 : Add a __sizeof__ method to struct.Struct.
...
Initial patch by Serhiy Storchaka.
2012-07-23 10:22:36 -05:00
Meador Inge
b14d8c9bcf
Issue #15402 : Add a __sizeof__ method to struct.Struct.
...
Initial patch by Serhiy Storchaka.
2012-07-23 10:01:29 -05:00
Andrew Svetlov
80823d7ed7
#15094 : fix incorrectly placed #endif in _tkinter.c.
...
Patch by Serhiy Storchaka.
2012-07-22 13:56:54 +03:00
Eli Bendersky
7b31b1a2a4
Raise ImportError if pyexpat's version is incompatible
2012-07-21 20:32:39 +03:00
Eli Bendersky
ef391ac982
Raise ImportError if pyexpat's version is incompatible
2012-07-21 20:28:46 +03:00
Stefan Krah
26a1c7a905
Fix Visual Studio warning.
2012-07-20 12:34:18 +02:00
Jesus Cea
024abca053
MERGE: Closes #15395 : memory leaks in selectmodule.c
2012-07-19 21:32:07 +02:00
Jesus Cea
62a5c3216d
Closes #15395 : memory leaks in selectmodule.c
2012-07-19 21:31:26 +02:00
Jesus Cea
3cd346ae33
MERGE: Closes #15396 : memory leak in tkinter
2012-07-19 21:18:45 +02:00
Jesus Cea
ef86d12979
Closes #15396 : memory leak in tkinter
2012-07-19 21:18:07 +02:00
Meador Inge
7506dab2e8
Issue #6493 : Fix handling of c_uint32 bitfields with width of 32 on Windows.
2012-07-19 00:14:35 -05:00
Meador Inge
60c2266afe
Issue #6493 : Fix handling of c_uint32 bitfields with width of 32 on Windows.
2012-07-19 00:01:22 -05:00
Vinay Sajip
90db661b43
Closes #15307 : symlinks now work on OS X with framework Python builds. Patch by Ronald Oussoren.
2012-07-17 17:33:46 +01:00
Eli Bendersky
b48ff7fdda
Merge for #14988
2012-07-17 14:25:14 +03:00
Eli Bendersky
66099b0cdc
ISsue #14988 : restore Python 2's behavior of raising ImportError when unable to load pyexpat, instead of a SystemError/RuntimeError
2012-07-17 14:20:38 +03:00
Gregory P. Smith
7c6309c6af
Update the embedded copy of the expat XML parser to 2.1.0. It brings
...
with it a vareity of bug fixes, both security and behavior. See
http://www.libexpat.org/ for the list.
NOTE: I already backported the expat hash randomization fix in March.
Fixes issue #14340 .
2012-07-14 14:12:35 -07:00
Stefan Krah
e574402bd6
Issue #7652 : Clean up _mpd_qinvroot() and mark it LIBMPDEC_ONLY. Use the
...
algorithm from decimal.py for mpd_qsqrt().
2012-07-12 21:17:59 +02:00
Florent Xicluna
109d57358e
Issue #13248 : io: Remove obsolete argument "max_buffer_size" of BufferedWriter and BufferedRWPair.
2012-07-07 17:03:22 +02:00
Antoine Pitrou
7d7f40c613
Issue #15247 : FileIO now raises an error when given a file descriptor pointing to a directory.
2012-07-06 18:52:58 +02:00
Antoine Pitrou
9235b254dc
Issue #15247 : FileIO now raises an error when given a file descriptor pointing to a directory.
2012-07-06 18:48:24 +02:00
Richard Oudkerk
2240ac1eae
Issue #15261 : Stop os.stat(fd) crashing on Windows when fd not open.
2012-07-06 12:05:32 +01:00
Senthil Kumaran
f28fbabc7f
Fix issue # 15033 - Return the proper exitcode for failure when modules are invoked using -m switch. Patch contributed by Jeff Knupp
2012-07-04 19:33:45 -07:00
Senthil Kumaran
f01a337950
Fix issue # 15033 - Return the proper exitcode for failure when modules are invoked using -m switch. Patch contributed by Jeff Knupp
2012-07-04 19:28:16 -07:00
Stefan Krah
d57caf36bd
Remove ISSUES.txt.
2012-07-01 12:24:20 +02:00
doko@ubuntu.com
d4ea23f200
- Issue #15194 : check in the missing m4/ax_append_flag.m4 file.
...
Regenerate aclocalm4 and configure.
2012-07-01 01:08:20 +02:00
doko@ubuntu.com
49a7da30aa
- Issue #15194 : check in the missing m4/ax_check_compile_flag.m4 file.
...
Regenerate aclocalm4 and configure.
2012-07-01 00:37:47 +02:00
doko@ubuntu.com
cc5addd3b6
- Issue #14330 : Don't derive the include and library search dirs
...
from GCC for native builds
2012-07-01 00:23:51 +02:00
doko@ubuntu.com
b14168d64a
null merge
2012-06-30 22:36:12 +02:00
doko@ubuntu.com
36f98051af
- Regenerate the libffi configure file
2012-06-30 22:35:52 +02:00
Stefan Krah
5431e30853
After 79d2eb29c755 it is no longer necessary to zero the output array:
...
None of the _mpd_shortadd() or _mpd_shortmul() functions read uninitialized
values. Previously zeroing was required since _mpd_real_size() was called
on the output array.
2012-06-30 21:57:49 +02:00
Stefan Krah
c35a8e5c98
Proactive reliability fix for broken FPUs: The base conversion functions
...
use log10() to calculate the size of the output array. The current code
has been tested on x86/amd64 (and to a lesser extent on qemu-mips qemu-sparc)
and produces sufficiently large values for all inputs tested so far (coefficient
sizes of 10**18 - 1 are hard to test exhaustively).
The new code does not rely on the correctness of log10() and resizes
the output arrays if the allocated space is insufficient.
2012-06-30 18:05:33 +02:00
Antoine Pitrou
802d669044
Issue #5067 : improve some json error messages.
...
Patch by Serhiy Storchaka.
2012-06-29 01:59:54 +02:00
Antoine Pitrou
2d24e94bbe
Issue #5067 : improve some json error messages.
...
Patch by Serhiy Storchaka.
2012-06-29 01:58:26 +02:00
Victor Stinner
591c1cca32
Remove dead code
...
os.urandom() has now one unique implementation, posix_urandom() which
calls _PyOS_URandom(). _PyOS_URandom() uses RAND_pseudo_bytes() on VMS.
2012-06-28 01:45:48 +02:00
Matthias Klose
c02be613cc
- whitespace-normalize libffi file
2012-06-26 17:59:32 +02:00
doko@ubuntu.com
2a918768f1
- Issue #15194 : Update libffi to the 3.0.11 release.
2012-06-26 17:56:44 +02:00
Georg Brandl
969288e488
Use ValueError, not RuntimeError for a utime flag combination illegal on some systems.
2012-06-26 09:25:44 +02:00
Brett Cannon
0b1b9ce494
If main() is called and an argument cannot be decoded, make sure to
...
free the copy of the command-line.
Found using Clang's static analyzer.
2012-06-25 16:25:28 -04:00
Antoine Pitrou
0ab5cf9b46
Issue #15181 : importlib bytecode is unsigned and shouldn't have negative numbers.
...
This fixes a compiler warning with suncc.
2012-06-25 17:32:43 +02:00
Stefan Krah
1edab78859
Update test script to Visual Studio 2010.
2012-06-25 14:41:37 +02:00
Larry Hastings
fdaea06d3c
Issue #15176 : Clarified behavior, documentation, and implementation
...
of os.listdir().
2012-06-25 04:42:23 -07:00
Larry Hastings
48986d68c2
Minor grammar refinement for hmac.compare_digest().
2012-06-25 00:59:34 -07:00
Georg Brandl
db99dd0605
Small wording update from Larry.
2012-06-24 16:15:46 +02:00
Georg Brandl
a1bc35f07f
Improve hmac.compare_digest() docstring and documentation, courtesy of Larry H.
2012-06-24 16:07:33 +02:00
Stefan Krah
39e810eb6c
Make the benchmark more fair for _decimal/decimal.py by setting context.prec
...
only once (float obviously doesn't set any context at all).
2012-06-24 14:10:49 +02:00
Georg Brandl
f78755968a
Whitespace cleanup.
2012-06-24 13:58:31 +02:00
Georg Brandl
9dcbfc353d
Remove unused variable.
2012-06-24 13:55:35 +02:00