Commit Graph

54221 Commits

Author SHA1 Message Date
Antoine Pitrou 8315f96764 Issue #13872: socket.detach() now marks the socket closed (as mirrored in the socket repr()).
Patch by Matt Joiner.
2012-04-01 01:00:55 +02:00
Antoine Pitrou 70deb3de39 Issue #13872: socket.detach() now marks the socket closed (as mirrored in the socket repr()).
Patch by Matt Joiner.
2012-04-01 01:00:17 +02:00
Antoine Pitrou 8612b4c21c Null merge 2012-03-31 23:51:25 +02:00
Antoine Pitrou 6211b88161 Issue #14437: Fix building the _io module under Cygwin. 2012-03-31 23:50:31 +02:00
Antoine Pitrou 8bbe9b4390 Fix formatting 2012-03-31 21:09:53 +02:00
Antoine Pitrou 682d443e01 Issue #14456: improve documentation of the signal module w.r.t. threads. 2012-03-31 21:09:00 +02:00
Antoine Pitrou 6afd11c762 Issue #14456: improve documentation of the signal module w.r.t. threads. 2012-03-31 20:56:21 +02:00
Antoine Pitrou 8b34b53c52 Issue #14406: Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`.
Patch by Matt Joiner.
2012-03-31 20:25:22 +02:00
Antoine Pitrou f70401e842 Issue #14406: Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`.
Patch by Matt Joiner.
2012-03-31 20:23:30 +02:00
Sandro Tosi 6eeadf0a3e merge heads 2012-03-31 18:46:45 +02:00
Sandro Tosi 3510632ad3 merge heads 2012-03-31 18:44:18 +02:00
Andrew Svetlov 29e665dbda fix typo 2012-03-31 19:44:18 +03:00
Andrew Svetlov 9e892bbf28 fix issue #5136: deprecate old unused functions from tkinter.
These functions are not documnted, so no documentation update.
2012-03-31 19:36:39 +03:00
Sandro Tosi 4cc229ad65 merge with 3.2 2012-03-31 18:35:16 +02:00
Sandro Tosi 317075de29 use unittest.skip; thanks to Chang Min Jeon from docs@ 2012-03-31 18:34:59 +02:00
R David Murray 8613b0dea4 Merge #14434: make tutorial link in 'help' banner version-specific
Without this fix, both 2.7 and 3.x would always point to the "current"
docs...which means that before this fix python 3.2 'help' pointed to the 2.7
tutorial.
2012-03-31 12:08:59 -04:00
R David Murray de0f6297a7 #14434: make tutorial link in 'help' banner version-specific
Without this fix, both 2.7 and 3.x would always point to the "current"
docs...which means that before this fix python 3.2 'help' pointed to the 2.7
tutorial.
2012-03-31 12:06:35 -04:00
Sandro Tosi dc60f940b5 merge with 3.2 2012-03-31 17:44:33 +02:00
Sandro Tosi 9ee65f1f92 add 'safari' to webbrowser browsers table; thanks to Jonathan Eunice from docs@ 2012-03-31 17:23:10 +02:00
Kristján Valur Jónsson 310052c1f0 Fix warning when compiling socketmodule.c with VS2010
VS2010 defineds the old errno constants in addition to the WSA* ones.
2012-03-31 13:35:00 +00:00
Kristján Valur Jónsson d4bb972839 Issue #14435: Add Misc/NEWS and Misc/ACKS 2012-03-31 13:08:11 +00:00
Andrew Svetlov 69c2ffa3f3 issue #3035: update PendingDeprecationWarning to DeprectionWarning, point deprecation in tkinter doc 2012-03-31 14:55:55 +03:00
Andrew Svetlov 78a0f208cc Merge from 3.2 2012-03-31 14:20:19 +03:00
Andrew Svetlov f3c297675d update NEWS as Terry Reedy proposed 2012-03-31 14:10:10 +03:00
Eli Bendersky a5e822045c Fix the tests of GC collection in ET.Element according to Benjamin's recommendations 2012-03-31 13:55:38 +03:00
Raymond Hettinger c6897854f8 Fix-up a comment 2012-03-31 02:19:06 -07:00
Raymond Hettinger 7f7a5a7b87 Fix-up comments and add a sentinel variable for clarity. 2012-03-30 21:50:40 -07:00
Raymond Hettinger 41eb79a016 No need to create and destroy links when updating a fixed-sized circular queue. 2012-03-30 19:15:18 -07:00
R David Murray 3288e948f3 Merge #10423: clarify options vs args in argparse discussion of optparse
Patch by Sandro Tosi.
2012-03-30 18:08:29 -04:00
R David Murray 5e0c57142d #10423: clarify options vs args in argparse discussion of optparse
Patch by Sandro Tosi.
2012-03-30 18:07:42 -04:00
Raymond Hettinger 1ff50df8bc Minor cleanup: add whitespace, add comments, bring function attribute updates together. 2012-03-30 13:15:48 -07:00
Eli Bendersky 0192ba33b4 Issue #14065: Added cyclic GC support to ET.Element 2012-03-30 16:38:33 +03:00
Stefan Krah 1e25755006 Merge. 2012-03-30 14:19:21 +02:00
Stefan Krah 0e41981cd5 Use abort() rather than exit() to appease tools like rpmlint. abort() is used
in libmpdec to prevent undefined behavior if an invalid context is used. This
cannot occur for the _decimal module since user input for the context is
validated.
2012-03-30 14:12:20 +02:00
Kristján Valur Jónsson daa06544c8 Issue #14435: Remove special block allocation code from floatobject.c
PyFloatObjects are now allocated using PyObject_MALLOC like all other
internal types, but maintain a limited freelist of objects at hand for
performance.  This will result in more consistent memory usage by Python.
2012-03-30 09:18:15 +00:00
Eli Bendersky c1d9869cb9 Issue #14006: improve the documentation of xml.etree.ElementTree
Removed the useless explanation of the Element data structure that started the
documentation page. Instead, the documentation now starts with a brief tutorial
skimming some of the capabilities of the module. The tutorial can be followed
by additional topic-specific sections (such as XPath support), and eventually
by a reference that goes over the module's classes and functions, as usual.
2012-03-30 11:44:15 +03:00
Eli Bendersky dbaedb8cf9 fix typo in glossary 2012-03-30 11:02:05 +03:00
Eli Bendersky 6bdb650ab2 Added the "provisional package" glossary term from PEP 411 2012-03-30 10:52:25 +03:00
Vinay Sajip b4f6da8265 Closes #14436: merged fix from 3.2. 2012-03-29 20:18:21 +01:00
Vinay Sajip 6f5e54e769 Closes #14436: Convert msg + args to string before pickling. 2012-03-29 20:17:18 +01:00
Andrew Svetlov d3cebd790d Merge with 3.2 2012-03-29 19:50:46 +03:00
Ross Lagerwall 86407432d5 Issue #14442: Add missing errno import in test_smtplib. 2012-03-29 18:08:48 +02:00
Andrew Svetlov 67ac079203 Issue #14409: IDLE doesn't not execute commands from shell with default keybinding for <Return>.
Patch by Roger Serwy.
2012-03-29 19:01:28 +03:00
Michael Foord e55f6636cc Fix typo in unittest.mock docs 2012-03-29 13:46:50 +01:00
R David Murray eac0939ddd #14416: conditionally add LOG_AUTHPRIV facility and LOG_ODELAY to syslog.
Unlike the other facilities, we don't use a fallback for AUTHPRIV if it
doesn't exist.  Because it is intended for logging sensitive log messages, it
is better that a program trying to log such messages fail than that it log
them insecurely.

Initial patch by Federico Reghenzani.
2012-03-29 07:15:45 -04:00
R David Murray 8c696321eb Merge #14416: add missing LOG_SYSLOG facility to syslog docs. 2012-03-29 06:49:29 -04:00
R David Murray 07cf1d8085 #14416: add missing LOG_SYSLOG facility to syslog docs. 2012-03-29 06:47:35 -04:00
Georg Brandl 909f5bc849 Fix newlines. 2012-03-29 09:18:14 +02:00
Michael Foord 324b58bf18 Update unittest.mock.patch example 2012-03-28 15:49:08 +01:00
Michael Foord aa8ec7e076 Fix unittest.mock.patch docstring 2012-03-28 15:41:28 +01:00