Commit graph

9056 commits

Author SHA1 Message Date
Christian Heimes
ba3e4a0bc0 Keccak: fromBytesToWord() and fromWordToBytes() are required on 64bit big endian platforms 2012-10-14 00:59:29 +02:00
Gregory P. Smith
70e0007f55 Fixes Issue #16114: The subprocess module no longer provides a
misleading error message stating that args[0] did not exist when
either the cwd or executable keyword arguments specified a path that
did not exist.
2012-10-10 03:53:16 -07:00
Christian Heimes
8836eefb1e brg_endian.h is back again 2012-10-07 23:38:44 +02:00
Christian Heimes
d8463e9cfd merge 2012-10-07 22:45:14 +02:00
Christian Heimes
dbc573ff29 re-add brg_endian.h to debug issue in big endian SPARC machine 2012-10-07 22:44:41 +02:00
Richard Oudkerk
8fb9f4cf7b Get rid of circular import and eliminate unprefixed exported symbols
from _multiprocessing.
2012-10-07 18:08:47 +01:00
Andrew Svetlov
09c61bef2d Remove unused functions from _tkinter. 2012-10-07 13:39:00 +03:00
Andrew Svetlov
885dc287d3 Utilize PyModule_Add{IntConstant,StringConstant,Object} in _tkinter. 2012-10-07 12:30:51 +03:00
Andrew Svetlov
9dc5bdddc0 Utilize Py_RETURN_NONE in _tkinter module. 2012-10-07 12:08:38 +03:00
Mark Dickinson
ff9c54aca2 Issue #16096: Merge fixes from 3.3. 2012-10-06 18:05:14 +01:00
Christian Heimes
2649105cdd remove #warning from sha3module.c 2012-10-06 15:44:29 +02:00
Christian Heimes
c018f57186 fix possible memory leak, dealloc newobj 2012-10-06 15:09:06 +02:00
Armin Ronacher
aa9a79d279 Issue #16148: implemented PEP 424 2012-10-06 14:03:24 +02:00
Christian Heimes
4a0270d82b Issue #16113: integrade SHA-3 (Keccak) patch from http://hg.python.org/sandbox/cheimes 2012-10-06 02:23:36 +02:00
Jesus Cea
6efe9dff14 Issue #14446: Remove deprecated tkinter functions: Delete an unused function to avoid a warning 2012-10-05 04:02:41 +02:00
Jesus Cea
bf0f34421c Issue #14446: Remove deprecated tkinter functions: Delete an unused function to avoid a warning 2012-10-05 03:57:56 +02:00
Jesus Cea
14c81aba50 #16135: Removal of OS/2 support (Modules/*) 2012-10-05 02:11:36 +02:00
Jesus Cea
ab70e2ab32 #16135: Removal of OS/2 support (posixmodule y platform dependent files) 2012-10-05 01:48:08 +02:00
Andrew Svetlov
456b2b8777 Issue #14446: Remove deprecated tkinter functions
Thanks to  Michael Driscoll
2012-10-04 22:10:09 +03:00
Antoine Pitrou
997adb5819 Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element element_factory (fixes a regression in SimpleTAL). 2012-10-04 19:54:53 +02:00
Jesus Cea
d96c1fb6ed MERGE: Closes #16126: PyErr_Format format mismatch in _testcapimodule.c 2012-10-04 16:07:03 +02:00
Jesus Cea
dc469454ec Closes #15488: Closed files keep their buffer alive 2012-10-04 12:37:56 +02:00
Jesus Cea
42db4157a9 MERGE: Closes #15897: zipimport.c doesn't check return value of fseek() 2012-10-03 03:03:04 +02:00
Alexander Belopolsky
cf77454908 Issue #9650: List commonly used format codes in time.strftime and time.strptime docsttings. 2012-10-02 18:39:16 -04:00
Antoine Pitrou
5f62aaaa9e Sanitize and modernize some of the _elementtree code (see issue #16089). 2012-10-01 23:41:51 +02:00
Stefan Krah
16dd5245ac Merge 3.3. 2012-09-30 17:35:57 +02:00
Stefan Krah
e65676b194 Merge 3.3. 2012-09-30 17:21:49 +02:00
Christian Heimes
c7d9bde2ff Change libmpdec to use ANSI code in strict ansi mode as inline asm isn't supported in ANSI C 2012-09-30 15:50:20 +02:00
Stefan Krah
2118a01ef9 Merge 3.3. 2012-09-30 09:25:34 +02:00
Benjamin Peterson
b8350f1c7d upgrade to UCD 6.2 2012-09-29 13:47:39 -04:00
Gregory P. Smith
64359d203e 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
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