Stefan Krah
650365b163
Issue #11826 : Fix memory leak in atexitmodule.
2012-03-27 11:49:21 +02: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
Georg Brandl
c0fdf6cf7a
Closes #14421 : use with statement to properly close socket in bandwidth test.
2012-03-27 07:43:53 +02:00
Éric Araujo
1641bb7669
Fix typo
2012-03-26 23:35:31 -04:00
Eli Bendersky
ede001a832
Fix doc typo noticed by Amaury Forgeot d'Arc
2012-03-27 04:57:23 +02:00
Victor Stinner
8486076dd5
Fix time.steady(strict=True): don't use CLOCK_REALTIME
2012-03-26 22:53:14 +02:00
Victor Stinner
3c1e48176e
Issue #14383 : Add _PyDict_GetItemId() and _PyDict_SetItemId() functions
...
These functions simplify the usage of static constant Unicode strings.
Generalize the usage of _Py_Identifier in ceval.c and typeobject.c.
2012-03-26 22:10:51 +02:00
Victor Stinner
70b2e1e7d9
Issue #14368 : _PyTime_gettimeofday() cannot fail
...
floattime() must not raise an error if the current time is 1970.1.1 at 00:00.
2012-03-26 22:08:02 +02: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
Benjamin Peterson
0df542985a
grammar
2012-03-26 14:50:32 -04:00
Eli Bendersky
3a4875e5e3
Issue #6488 : Explain the XPath support of xml.etree.ElementTree, with code
...
samples and a reference. Also fix the other nits mentioned in the issue.
This also partially addresses issue #14006 .
2012-03-26 20:43:32 +02:00
Sandro Tosi
70ea34de85
Issue #14410 : merge with 3.2
2012-03-26 19:36:44 +02:00
Sandro Tosi
99e7d0706e
Issue #14410 : fix typo in argparse doc; patch by Tshepang Lekhonkhobe
2012-03-26 19:36:23 +02:00
R David Murray
4a1ad9148b
#14413 : tweak word order in deprecation section
2012-03-26 13:34:46 -04:00
Vinay Sajip
38a12af36a
Updated handler documentation.
2012-03-26 17:17:39 +01:00
Vinay Sajip
8ece80faae
Minor documentation tweak.
2012-03-26 17:09:58 +01:00
Stefan Krah
16ecb9dea0
Issue #3367 : Merge fix from 3.2.
2012-03-26 15:11:22 +02:00
Stefan Krah
0f6ce8d9df
Issue #3367 : NULL-terminate argv[] copies to prevent an invalid access
...
in sys_update_path().
2012-03-26 15:05:22 +02:00
Benjamin Peterson
c067d6661f
merge 3.2
2012-03-25 22:41:16 -04:00
Benjamin Peterson
533281dd4f
merge heads
2012-03-25 22:41:06 -04:00
Benjamin Peterson
a8755c586e
kill this terribly outdated comment
2012-03-25 22:40:54 -04: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
Georg Brandl
87b3caf873
merge with 3.2
2012-03-25 20:41:06 +02:00
Georg Brandl
d34fc8b275
Add missing files for new doc theme.
2012-03-25 20:40:57 +02:00
Georg Brandl
09d71269e2
merge heads
2012-03-25 20:38:15 +02:00
Michael Foord
fb5d0a78cf
unittest.mock: remove another piece of Python 2 specific code
2012-03-25 19:35:22 +01:00
Georg Brandl
288b9bf1ea
merge with 3.2
2012-03-25 20:32:35 +02:00
Georg Brandl
ab7121430e
Switch to new "lighter" doc design.
2012-03-25 20:31:57 +02: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
1d5617958f
Remove extra spaces in doc example.
2012-03-25 11:44:59 +03: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
Georg Brandl
1a7742eb4d
merge with 3.2
2012-03-25 08:43:32 +02:00
Georg Brandl
11ee31ab08
Closes #14401 : fix typos in curses howto.
2012-03-25 08:43:22 +02: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
Eli Bendersky
60ee04969e
Issue #14349 : Fix the doc of the MAKE_FUNCTION opcode in Doc/library/dis.rst to
...
correctly list the stack params it expects.
2012-03-24 18:52:45 +02:00
Martin v. Löwis
ecc92db031
merge 3.2
2012-03-24 17:40:50 +01:00
Martin v. Löwis
2dee394af9
Issue #14400 : Fix typo.
2012-03-24 17:39:57 +01:00