Commit Graph

5980 Commits

Author SHA1 Message Date
Terry Jan Reedy 673770c59d Issue 16584: in filecomp._cmp, catch IOError as well as os.error.
Patch by Till Maas.
2013-05-08 23:42:41 -04:00
Antoine Pitrou 4ccdc966ce Fix NEWS order 2013-05-08 03:23:10 +02:00
Antoine Pitrou 1e18102a72 Issue #17928: Fix test_structmembers on 64-bit big-endian machines.
(_testcapi isn't Py_ssize_t-clean, the "s#" code should use an int for length)
2013-05-08 02:07:13 +02:00
Antoine Pitrou 38f1afe8d1 Issue #17926: Fix dbm.__contains__ on 64-bit big-endian machines. 2013-05-08 01:51:37 +02:00
Antoine Pitrou f16ff7bc21 Issue #17918: When using SSLSocket.accept(), if the SSL handshake failed on the new socket, the socket would linger indefinitely.
Thanks to Peter Saveliev for reporting.
2013-05-06 22:19:48 +02:00
Antoine Pitrou 31bc8bef63 Issue #17289: The readline module now plays nicer with external modules or applications changing the rl_completer_word_break_characters global variable.
Initial patch by Bradley Froehle.
2013-05-06 21:51:03 +02:00
Charles-Francois Natali 880359c2bd Issue #12181: select module: Fix struct kevent definition on OpenBSD 64-bit
platforms. Patch by Federico Schwindt.
2013-05-06 21:21:57 +02:00
Ezio Melotti 6a4f394165 #17883: Fix buildbot testing of Tkinter on Windows. Patch by Zachary Ware. 2013-05-05 22:36:09 +03:00
Antoine Pitrou d8931c375a Issue #14173: Avoid crashing when reading a signal handler during interpreter shutdown. 2013-05-04 23:16:59 +02:00
Ezio Melotti 5cea09d290 #7855: Add tests for ctypes/winreg for issues found in IronPython. Initial patch by Dino Viehland. 2013-05-04 17:59:03 +03:00
Serhiy Storchaka 6aca765220 Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions. 2013-05-04 15:11:46 +03:00
Raymond Hettinger 0801d73b1b Issue #15535: Fix regression in pickling of named tuples. 2013-05-03 00:59:20 -07:00
Antoine Pitrou b996e04f11 Issue #17712: Fix test_gdb failures on Ubuntu 13.04. 2013-05-01 00:15:44 +02:00
Gregory P. Smith 4832f34f05 move the NEWS entry to the right section and mention ctypes. 2013-04-30 00:56:07 -07:00
Gregory P. Smith b0cabc2b31 NEWS entry 2013-04-30 00:54:45 -07:00
Nadeem Vawda c1ea5ec905 Add missing NEWS entry for issue #17843. 2013-04-28 19:01:31 +02:00
Serhiy Storchaka 8493a04e0f Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3,
such as was shipped with Centos 5 and Mac OS X 10.4.

This bug was already fixed in issue14572 for 2.7 only and then it was
backported back from 3.3 in issue17073.
2013-04-28 14:09:47 +03:00
Antoine Pitrou 68915d7510 Issue #17835: Fix test_io when the default OS pipe buffer size is larger than one million bytes. 2013-04-24 23:31:38 +02:00
Ronald Oussoren 7b0baf0d87 Ensure that plistlib doesn't corrupt deeply nested datastructures
Without this changeset plistlib would write empty tags for plistlib.Data
objects in deeply nested datastructures.

Fixes #17353
2013-04-23 13:47:06 +02:00
Serhiy Storchaka d194b30407 Issue #11714: Use 'with' statements to assure a Semaphore releases a
condition variable.  Original patch by Thomas Rachel.
2013-04-22 22:51:00 +03:00
Vinay Sajip 4dc385b4e3 Issue #17795: Reverted backwards-incompatible change in SysLogHandler with Unix domain sockets. 2013-04-22 09:58:51 +01:00
R David Murray 5cbff51745 #17065: Use process-unique key for winreg test.
Patch by Jeremy Kloth.
2013-04-21 10:13:43 -04:00
Richard Oudkerk 7bdd93c20e Issue #17555: Fix ForkAwareThreadLock so that size of after fork
registry does not grow exponentially with generation of process.
2013-04-17 19:15:52 +01:00
Roger Serwy 90f8b23be2 #14735: Update IDLE docs to omit "Control-z on Windows". 2013-04-17 00:22:50 -05:00
Antoine Pitrou be92971b38 Issue #17710: Fix cPickle raising a SystemError on bogus input. 2013-04-15 21:35:25 +02:00
Antoine Pitrou 108d1b4a79 Issue #17703: Fix a regression where an illegal use of Py_DECREF() after interpreter finalization can cause a crash. 2013-04-15 21:20:14 +02:00
R David Murray 6077339270 #17341: Include name in re error message about invalid group name.
Patch by Jason Michalski.
2013-04-14 13:08:50 -04:00
Serhiy Storchaka ff99e414c9 Issue #17221: Resort Misc/NEWS. 2013-04-14 18:52:15 +03:00
Serhiy Storchaka 616f2fe28c Issue #17016: Get rid of possible pointer wraparounds and integer overflows
in the re module.  Patch by Nickolai Zeldovich.
2013-04-13 21:15:10 +03:00
Andrew Svetlov 524773020a null merge 2013-04-13 18:07:15 +03:00
Andrew Svetlov 75f1fc27c3 Revert changes for #13355 by request from Raymond Hettinger 2013-04-13 18:05:44 +03:00
doko@ubuntu.com 66da7c573b - Issue #17536: Add to webbrowser's browser list: xdg-open, gvfs-open,
www-browser, x-www-browser, chromium browsers, iceweasel, iceape.
2013-04-13 17:05:11 +02:00
Mark Dickinson f794b143d3 Issue #16447: Fix potential segfault when setting __name__ on a class. 2013-04-13 15:19:05 +01:00
Serhiy Storchaka 6fa83f99af Issue #17656: Fix extraction of zip files with unicode member paths. 2013-04-13 12:28:17 +03:00
Andrew Svetlov b6cdae3db4 Issue #13355: Raise ValueError on random.triangular call with invalid params.
Initial patch by Yuriy Senko.
2013-04-12 23:39:33 +03:00
Ezio Melotti 0ba584c023 #6696: add documentation for the Profile objects, and improve profile/cProfile docs. Patch by Tom Pinckney. 2013-04-12 16:22:24 +03:00
Roger Serwy 53dc4f0148 #17585: Fixed IDLE regression. Now closes when using exit() or quit(). 2013-04-11 19:13:21 -05:00
doko@ubuntu.com 77d8dbc1e8 - Issue #17086: Search the include and library directories provided by the
compiler.
2013-04-11 00:19:55 +02:00
doko@ubuntu.com 5ef41abc7c - Issue #17682: Add the _io module to Modules/Setup.dist (commented out). 2013-04-09 17:34:39 +02:00
Roger Serwy 789299f858 #17657: Show full Tk version in IDLE's about dialog.
Patch by Todd Rovito.
2013-04-08 20:57:13 -05:00
Serhiy Storchaka 371432b961 Close #17666: Fix reading gzip files with an extra field. 2013-04-08 22:33:55 +03:00
doko@ubuntu.com 6cb4343d0d - Issue #13150, #17512: sysconfig no longer parses the Makefile and config.h
files when imported, instead doing it at build time.  This makes importing
  sysconfig faster and reduces Python startup time by 20%.
2013-04-08 21:20:09 +02:00
Roger Serwy 4e9a705887 #17613: Prevent traceback when removing syntax colorizer in IDLE. 2013-04-07 12:41:16 -05:00
Roger Serwy 231a8fd22d #1207589: Backwards-compatibility patch for right-click menu in IDLE. 2013-04-07 12:15:52 -05:00
Benjamin Peterson 74001fad7d list slotdefs in offset order rather than sorting them (closes #17610)
This means we can remove our usage of qsort() than relied on undefined behavior.

Backport by Zbigniew Halas.
2013-04-07 09:52:59 -04:00
Roger Serwy 75b249c914 #16887: IDLE now accepts Cancel in tabify/untabify dialog box. 2013-04-06 20:26:53 -05:00
Roger Serwy 08759c7d2a move idle news entries to its section 2013-04-06 20:21:21 -05:00
Serhiy Storchaka 6c467a41bc Revert a premature patch for issue #14010 (changeset d17d10c84d27). 2013-04-06 22:51:29 +03:00
Benjamin Peterson 0e7df43128 merge heads 2013-04-06 15:19:11 -04:00
Benjamin Peterson 89e2aed9cc move idle news to its own section 2013-04-06 15:19:04 -04:00
Serhiy Storchaka bb84565cdb Issue #14010: Fix a crash when iterating or deleting deeply nested filters
in itertools module (i.e. itertools.izip(), itertools.chain(), etc).
2013-04-06 22:04:10 +03:00
Benjamin Peterson 9db034161e merge 2.7.4 release branch 2013-04-06 10:00:24 -04:00
Benjamin Peterson 376dd0edfa change version to 2.7.4 2013-04-06 09:58:51 -04:00
Benjamin Peterson bf51717022 merge 2.7.4 release branch 2013-04-03 22:35:28 -04:00
Benjamin Peterson 167a96c0ea close search and replace dialog after it is used (closes #17625) 2013-04-03 22:35:12 -04:00
Terry Jan Reedy 6e65e99fe1 Issue #15940: NEWS entry 2013-04-03 13:24:26 -04:00
Roger Serwy ad8cad3c6d #14254: IDLE now handles readline correctly across shell restarts. 2013-04-03 00:42:24 -05:00
Roger Serwy d7c9d9cdcd #17614: IDLE no longer raises exception when quickly closing a file. 2013-04-02 22:37:12 -05:00
R David Murray c993a19480 #13163: fix names of _get_socket args
This was already done in Python3, but having it wrong leads to
incorrect debug output, so it seems worth fixing in 2.7 as well.

Patch by Victor Terrón.
2013-04-02 12:15:07 -04:00
Roger Serwy 34d0c66ef2 #6698: IDLE now opens just an editor window when configured to do so. 2013-03-31 23:28:55 -05:00
Roger Serwy cadd7864d8 #8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception. 2013-03-31 15:53:08 -05:00
Roger Serwy 6e4e4abf16 #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo. 2013-03-31 00:57:16 -05:00
Benjamin Peterson 337b1737df merge 2.7.4 release branch 2013-03-30 10:37:25 -04:00
Benjamin Peterson d627e122d7 fall back when an old test_support doesn't have various data and functions (closes #17533) 2013-03-30 10:36:31 -04:00
Ezio Melotti e66e7de5d6 #17526: fix an IndexError raised while passing code without filename to inspect.findsource(). Initial patch by Tyler Doyle. 2013-03-30 05:10:28 +02:00
Christian Heimes 92acb0a81c Issue 17538: Document XML vulnerabilties 2013-03-26 17:53:05 +01:00
Christian Heimes 23790b4be0 Issue 17538: Document XML vulnerabilties 2013-03-26 17:53:05 +01:00
Benjamin Peterson 4b394db41f merge 2.7.4 release branch (#17550) 2013-03-26 08:56:16 -04:00
Benjamin Peterson b9be7bbe2e fix variable reference to fix --enable-profiling (closes #17550) 2013-03-26 08:55:37 -04:00
Vinay Sajip 1e76e8643b Issue #12718: Set importer on instance if Python function, to avoid bad interaction with winpdb. 2013-03-25 23:37:41 +00:00
Benjamin Peterson bc1d9c9963 merge 2.7.4 release branch 2013-03-23 22:32:34 -05:00
Benjamin Peterson da2c7ebd23 allow any type with __getitem__ to be a mapping for the purposes of % (#15801) 2013-03-23 22:32:00 -05:00
Benjamin Peterson 2350ecd711 merge 2.7.4 release branch 2013-03-23 16:35:57 -05:00
Benjamin Peterson 7e2f197a2b update NEWS for #17531 2013-03-23 16:35:45 -05:00
Benjamin Peterson 4a03c7d482 merge 2.7.4 release branch 2013-03-23 15:40:48 -05:00
Benjamin Peterson 01d9a775fa group ids and user ids can be longs now (#17531) 2013-03-23 15:40:36 -05:00
Benjamin Peterson aec813993f add 2.7.5 header 2013-03-23 15:24:13 -05:00
Benjamin Peterson 31289230e2 return int instead long when possible (#17531) 2013-03-23 15:22:20 -05:00
Benjamin Peterson a1f6fab464 version to 2.7.4rc1 2013-03-23 10:17:29 -05:00
Vinay Sajip bb2dad8915 Issue #17521: Corrected non-enabling of logger following two calls to fileConfig(). 2013-03-23 11:18:10 +00:00
Vinay Sajip 0e29f22855 Updated Misc/NEWS with #17508. 2013-03-23 10:56:39 +00:00
Martin v. Loewis 18613e6e7b Issue #17425: Build against openssl 0.9.8y on Windows. 2013-03-22 22:01:56 +01:00
Benjamin Peterson 469ee9d84c backout 66e30c4870bb for breaking OSX (#13150) 2013-03-22 09:37:13 -05:00
doko@ubuntu.com 28b7c05131 - Issue #13150: sysconfig no longer parses the Makefile and config.h files
when imported, instead doing it at build time.  This makes importing
  sysconfig faster and reduces Python startup time by 20%.
2013-03-21 15:02:16 -07:00
Kristján Valur Jónsson 9795ca44fb Issue #10212: Support new buffer interface for struct.unpack and
cStringIO
2013-03-19 17:17:47 -07:00
Kristján Valur Jónsson 8927e8f421 Issue #12098: multiprocessing on Windows now starts child processes
using the same sys.flags as the current process.
Backport from default branch.
2013-03-19 15:07:35 -07:00
doko@ubuntu.com 4950a3b6cc - Issue #17477: Update the bsddb module to pybsddb 5.3.0, supporting
db-5.x, and dropping support for db-4.1 and db-4.2.
2013-03-19 14:46:29 -07:00
R David Murray a39c47aab0 #8862: Fix curses cleanup with getchar is interrupted by a signal.
I have no idea how one would write a test for this.

Patch by July Tikhonov.
2013-03-19 16:26:53 -04:00
Kristján Valur Jónsson 6ebc8f3f38 Issue #9090 : Error code 10035 calling socket.recv() on a socket with a timeout
(WSAEWOULDBLOCK - A non-blocking socket operation could not be completed
 immediately)
2013-03-19 10:58:59 -07:00
Gregory P. Smith 46ce27ab1e Fixes issue #17192: Update the ctypes module's libffi to v3.0.13. This
specifically addresses a stack misalignment issue on x86 and issues on
some more recent platforms.
2013-03-18 16:58:50 -07:00
Ezio Melotti e015b6b1fc #11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters. 2013-03-16 20:04:44 +02:00
Terry Jan Reedy 0b2173a1ee Issue #17412: update 2.7 Doc/make.bat to also use sphinx-1.0.7. 2013-03-14 19:32:22 -04:00
Serhiy Storchaka 923baea9f9 Issue #1285086: Get rid of the refcounting hack and speed up urllib.unquote(). 2013-03-14 21:31:09 +02:00
Serhiy Storchaka 2556c8388c Issue #17299: Add test coverage for cPickle with file objects and general IO
objects.  Original patch by Aman Shah.
2013-03-14 20:59:09 +02:00
Ezio Melotti fda7a8ce78 #17368: Fix an off-by-one error in the Python JSON decoder that caused a failure while decoding empty object literals when object_pairs_hook was specified. 2013-03-13 01:49:57 +02:00
Terry Jan Reedy 21e52aad13 Fix issue number 2013-03-12 02:19:09 -04:00
Terry Jan Reedy f9d31069db Issue #14707: add news entry 2013-03-12 01:26:28 -04:00
Ezio Melotti 617e2c186d #16004: Add `make touch`. 2013-03-11 09:14:09 +02:00
Ezio Melotti efaad09c9a #11963: remove human verification from test_subprocess. 2013-03-11 00:34:33 +02:00
Senthil Kumaran 6234cc0098 Reverting the changeset c31d700dea8b made for Issue #12921 2013-03-05 02:24:03 -08:00