Stefan Krah
38548ad006
Whitespace.
2012-04-02 15:10:36 +02:00
Stefan Krah
5100171d81
Clear the context flags if a context is initialized from the DefaultContext.
2012-04-02 15:02:21 +02:00
Antoine Pitrou
93bba8fb8a
Issue #14151 : Raise a ValueError, not a NameError, when trying to create
...
a multiprocessing Client or Listener with an AF_PIPE type address under
non-Windows platforms. Patch by Popa Claudiu.
2012-04-01 17:25:49 +02:00
Antoine Pitrou
709176f10c
Issue #14151 : Raise a ValueError, not a NameError, when trying to create
...
a multiprocessing Client or Listener with an AF_PIPE type address under
non-Windows platforms. Patch by Popa Claudiu.
2012-04-01 17:19:09 +02:00
Eli Bendersky
0261d754cd
Removing the test of Element that causes ref-leak in GC (issue #14464 ).
...
I will now continue investigating the cause of the ref-leak, but I wanted
to remove the test so that the refcount test in the buildbots could be clean.
The whole change (adding GC to Element) is not reverted because it improved
the situation (GC works for immediate cycles) and didn't cause regressions
(the test is new and was added together with the fix).
2012-04-01 17:40:17 +03:00
Georg Brandl
50af011ca6
Bump to 3.3.0a2.
2012-04-01 13:49:21 +02:00
Georg Brandl
3f4a1b30e4
Update pydoc topics.
2012-04-01 13:46:44 +02:00
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
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
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
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
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
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
aa8ec7e076
Fix unittest.mock.patch docstring
2012-03-28 15:41:28 +01:00
Michael Foord
54b3db8c84
Minor unittest.mock.patch doc / docstring improvement
2012-03-28 15:08:08 +01:00
Georg Brandl
dc5a4e1611
merge with 3.2
2012-03-27 07:46:54 +02:00
Georg Brandl
d86440750f
Closes #14411 : remove outdated comment in rlcompleter docstring.
2012-03-27 07:46:46 +02:00
Éric Araujo
1641bb7669
Fix typo
2012-03-26 23:35:31 -04:00
Andrew Svetlov
a5cf6c4913
Update missed idlelib/NEWS.txt
2012-03-26 22:14:13 +03:00
Andrew Svetlov
d543f2b8b0
IDLE can be launched as python -m ildelib
2012-03-26 22:11:46 +03:00
Andrew Svetlov
753445a425
Issue #989712 : update the code to process tkinter messages in IDLE
...
without mainloop.
Thanks to Roger Serwy for patch.
2012-03-26 21:56:44 +03:00
Michael Foord
0340ea77d1
unittest.mock: removed another bit of Python 2 only code
2012-03-25 23:27:12 +01:00
Michael Foord
944e02d055
Adding unittest.mock documentation
2012-03-25 23:12:55 +01:00
Michael Foord
e58a562d93
unittest.mock: a mock created by patch with a spec as the list argument will be callable if __call__ is in the spec
2012-03-25 19:53:18 +01:00
Michael Foord
fb5d0a78cf
unittest.mock: remove another piece of Python 2 specific code
2012-03-25 19:35:22 +01:00
Michael Foord
1ab27c6fde
Remove more Python 2 code from unittest.mock (obsolete function attributes)
2012-03-25 19:16:10 +01:00
Michael Foord
0dccf657b5
Minor changes to the unittest.mock.mock_open helper
2012-03-25 19:11:50 +01:00
Michael Foord
99254730b2
Addition of docstrings to unittest.mock helpers
2012-03-25 19:07:33 +01:00
Michael Foord
a74561a56d
unittest.mock: set file_spec on first use
2012-03-25 19:03:13 +01:00
Michael Foord
50a8c0ef5d
Support subclassing unittest.mock._patch and fix various obscure bugs around patcher spec arguments
2012-03-25 18:57:58 +01:00
Michael Foord
a3eabb6f8e
Merge
2012-03-25 18:16:26 +01:00
Michael Foord
313f85f0ca
unittest.mock.MagicMock objects are now unorderable by default
2012-03-25 18:16:07 +01:00
Stefan Krah
fe17b2bc77
Raise MemoryError instead of InvalidOperation/MallocError for compatibility
...
with decimal.py. The standard specifies InsufficientStorage (MallocError) as
a sub-condition of InvalidOperation. This allows a calculation to continue
with NaN results when allocation fails.
2012-03-25 18:59:21 +02:00
Andrew Svetlov
cd49d53238
Issue #14200 — now displayhook for IDLE works in non-subprocess mode as well as subprecess.
2012-03-25 11:43:02 +03:00
Charles-François Natali
9384c7ddab
Issue #13902 : Fix a random test_threading failure on FreeBSD 6 buildbots (due
...
to a known bug in pthread implementation on FreeBSD < 7).
2012-03-24 20:37:01 +01:00
Charles-François Natali
8e6fe648cc
Issue #13902 : Fix a random test_threading failure on FreeBSD 6 buildbots (due
...
to a known bug in pthread implementation on FreeBSD < 7).
2012-03-24 20:36:09 +01:00