Commit Graph

77397 Commits

Author SHA1 Message Date
Michael Foord 050e9e5c59 Closes issue 14971.
unittest test discovery no longer gets confused when a function
has a different __name__ than its name in the TestCase class dictionary.
2013-09-08 15:34:27 +12:00
Senthil Kumaran cb7e5fa935 Correct Profile class usage example. Addresses issue #18033 .
Patch contributed by Olivier Hervieu and Dmi Baranov.
2013-09-07 17:50:35 -07:00
Senthil Kumaran 2646e6758d os.isatty is not Unix only. Correct the wrong documentation.
Addresses issue #18553
2013-09-07 11:27:45 -07:00
Ezio Melotti ad54307b9b #18895: split a sentence in unittest docs. 2013-09-07 15:23:36 +03:00
Ezio Melotti 2676583b66 #18894: remove mention of deprecated fail* methods. 2013-09-07 15:19:30 +03:00
Eli Bendersky 8c7e925f6e Close #18849: Fixed a Windows-specific tempfile bug where collision with an
existing directory caused mkstemp and related APIs to fail instead of
retrying. Report and fix by Vlad Shcherbina.
2013-09-06 06:17:15 -07:00
Vinay Sajip fb03696fda Issue #18941: Respected delay when doing rollover. 2013-09-06 10:24:08 +01:00
Vinay Sajip 6d7e29651c Issue #18940: Handled low-volume logging when delay is True. 2013-09-06 10:09:45 +01:00
Vinay Sajip 6971f2e6b7 Issue #18933: Added links to source code. 2013-09-05 22:57:20 +01:00
Serhiy Storchaka cf29ba8cf0 Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output in
the _sre moduel.
2013-09-05 18:02:57 +03:00
Serhiy Storchaka 2984f2bcf6 Merge heads 2013-09-05 17:30:56 +03:00
Serhiy Storchaka 6db9e88eff Issue #18830: inspect.getclasstree() no more produces duplicated entries even
when input list contains duplicates.
2013-09-05 17:28:10 +03:00
Christian Heimes 5eb6e3b40d Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case 2013-09-05 16:05:50 +02:00
Christian Heimes ed9884b2d0 Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case 2013-09-05 16:04:35 +02:00
Victor Stinner 930c3c9e43 Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
64-bit pointer to long (32 bits).
2013-09-05 00:26:15 +02:00
Antoine Pitrou 213fec4bff Issue #18876: The FileIO.mode attribute now better reflects the actual mode under which the file was opened.
Patch by Erik Bray.
2013-09-04 20:46:33 +02:00
Tim Peters ab70a7dc41 Null merge of 2.6 into 2.7.
Changeset 25683ceaf341 left a new head on 2.6.
2013-09-03 11:39:06 -05:00
Eli Bendersky e6802db7d1 Close #18912: Fix indentation in docstring
Contributed by Jeroen Van Goey
2013-09-03 06:41:58 -07:00
Christian Heimes bde2985f1d Python 2.6's ssl module has neither OPENSSL_VERSION_INFO nor _OPENSSL_API_VERSION 2013-09-03 14:47:00 +02:00
Benjamin Peterson b44c8619fe document that various functions that parse from source will interpret things as latin-1 (closes #18870) 2013-09-01 19:06:35 -04:00
Terry Jan Reedy 71b2ded05e Silence deprecation warning in test_mmap for ValueError.message.
Replacement is from 3.3, with 'p' added to make '...Regexp'.
2013-08-31 21:14:00 -04:00
Terry Jan Reedy 0c534a4624 Silence deprecation warning in test_unittest for 'None > 1'.
This is the same change that was made in 3.x when this became an error.
2013-08-31 20:37:21 -04:00
Terry Jan Reedy 4c42735a99 Issue #18489: Add complete, gui-free tests for idlelib.SearchEngine.
Patch import and initialization in SearchEngine to make testing easier.
Improve docstrings, especially to clarify the double role of 'ok' parameters.
Original patch by Phil Webster.
2013-08-31 16:27:08 -04:00
Antoine Pitrou 33fc744ea3 Issue #18851: Avoid a double close of subprocess pipes when the child process fails starting. 2013-08-30 23:38:13 +02:00
Charles-François Natali 30a5445b30 Issue #18418: After fork(), reinit all threads states, not only active ones.
Patch by A. Jesse Jiryu Davis.
2013-08-30 23:30:50 +02:00
Charles-François Natali b2fa280e9e Merge. 2013-08-29 19:26:12 +02:00
Charles-François Natali 5aac8b7c2c Issue #18643: Fix some test_socket failures due to large default socket buffer
sizes.
2013-08-29 19:00:30 +02:00
Serhiy Storchaka 6d5bd5258c Issue #18743: Improved cross-references to the StringIO class. 2013-08-29 11:44:44 +03:00
Serhiy Storchaka 7653e26ecc Issue #18760: Improved cross-references in the xml package. 2013-08-29 10:34:23 +03:00
Ezio Melotti 08350fb639 #18839: document that sys.exit() will not accept a non-integer numeric value as exit status. 2013-08-26 14:00:39 +03:00
Ezio Melotti 6d0f0f299b #18803: fix more typos. Patch by Févry Thibault. 2013-08-26 01:31:30 +03:00
Ezio Melotti 290c6b3446 #18833: add a test for test_telnetlib. Patch by Alex Volkov. 2013-08-25 23:56:43 +03:00
Tim Peters a8ceef4b47 Null merge of 2.6 into 2.7.
Changeset 50803d881a92 left a new dangling head on 2.6, and the
change was applied separately to 2.7 in changeset 1cd24ea5abeb.
2013-08-25 11:53:55 -05:00
Charles-François Natali b0042000c4 Merge. 2013-08-25 18:27:34 +02:00
Charles-François Natali 4c53314475 Issue #18763: subprocess: The file descriptors are now closed after calling the
preexec_fn callback, which may open file descriptors.
2013-08-25 18:22:49 +02:00
Serhiy Storchaka 879a213736 Issue #18817: Fix a resource warning in Lib/aifc.py demo. 2013-08-25 19:12:33 +03:00
Christian Heimes 42831fefa7 Issue #11973: Fix a problem in kevent. The flags and fflags fields are now
properly handled as unsigned.
2013-08-25 14:57:00 +02:00
Christian Heimes a0c8373e32 Fix test 2013-08-25 14:44:27 +02:00
Christian Heimes 8ee5ffddf5 Issue #18747: Fix spelling errors in my commit message and comments,
thanks to Vajrasky Kok for proof-reading.
2013-08-25 14:19:16 +02:00
Christian Heimes 8f65ef8853 Issue #18709: Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger 2013-08-25 14:12:41 +02:00
Christian Heimes f869a9484a Issue #18709: Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger 2013-08-25 14:12:41 +02:00
Tim Peters 59a06f5020 Various clarifications based on feedback & questions over the years. 2013-08-24 15:15:19 -05:00
Antoine Pitrou e758715144 Issue #18756: make test_urandom_failure more robust by executing its code in a subprocess 2013-08-24 20:52:27 +02:00
Serhiy Storchaka c8f26f500a Issue #18757: Improved cross-references in the concurrent package. 2013-08-24 00:28:38 +03:00
Ezio Melotti 6c61a5afef #18798: fix typo in test_fcntl. Patch by Vajrasky Kok. 2013-08-23 23:06:31 +03:00
Barry Warsaw 537f15645a null merge with 2.6 2013-08-23 13:38:02 -04:00
Barry Warsaw 82f8828317 - Issue #18709: Fix CVE-2013-4238. The SSL module now handles NULL bytes
inside subjectAltName correctly. Formerly the module has used OpenSSL's
  GENERAL_NAME_print() function to get the string represention of ASN.1
  strings for `rfc822Name` (email), `dNSName` (DNS) and
  `uniformResourceIdentifier` (URI).
2013-08-23 13:26:49 -04:00
Tim Peters 78cc8daa9b Add line explaining the "%sort" test. 2013-08-22 18:32:53 -05:00
Serhiy Storchaka b445558d84 Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6. 2013-08-22 17:53:16 +03:00
Serhiy Storchaka 2ac1c1a31d Issue #16809: Tkinter's splitlist() and split() methods now accept Tcl_Obj
argument.

This is needed for support Tcl/Tk 8.6.
2013-08-22 17:42:45 +03:00