Victor Stinner
d974393419
(Merge 3.2) Issue #13628 : python-gdb.py is now able to retrieve more frames in
...
the Python traceback if Python is optimized.
* delay the lookup of the size_t type, it is not available at startup
* The second argument of the PyFrameObjectPtr constructor is optional, as
done in other constructors
* iter_builtins() and iter_globals() methods of PyFrameObjectPtr returns
an empty tuple instead of None if Python is optimized
* Fix py-bt and py-bt-full to handle correctly "optimized" frames
* Frame.get_pyop() tries to get the frame pointer from PyEval_EvalCodeEx()
if the pointer is optimized out in PyEval_EvalFrameEx()
2011-12-19 13:47:10 +01:00
Victor Stinner
d208416a40
Issue #13628 : python-gdb.py is now able to retrieve more frames in the Python
...
traceback if Python is optimized.
* delay the lookup of the size_t type, it is not available at startup
* The second argument of the PyFrameObjectPtr constructor is optional, as
done in other constructors
* iter_builtins() and iter_globals() methods of PyFrameObjectPtr returns
an empty tuple instead of None if Python is optimized
* Fix py-bt and py-bt-full to handle correctly "optimized" frames
* Frame.get_pyop() tries to get the frame pointer from PyEval_EvalCodeEx()
if the pointer is optimized out in PyEval_EvalFrameEx()
2011-12-19 13:42:24 +01:00
Antoine Pitrou
6db4944cc5
Issue #13635 : Add ssl.OP_CIPHER_SERVER_PREFERENCE, so that SSL servers
...
choose the cipher based on their own preferences, rather than on the
client's.
2011-12-19 13:27:11 +01:00
Michael Foord
a699a2d0c1
Merge 3.2
2011-12-18 22:09:27 +00:00
Michael Foord
a51623b160
Fix inspect.getattr_static to work on modules (again).
...
Closes issue 11813.
2011-12-18 22:01:40 +00:00
Antoine Pitrou
92d4acb7a7
Issue #7502 : Fix equality comparison for DocTestCase instances.
...
Patch by Cédric Krier.
2011-12-18 19:29:06 +01:00
Antoine Pitrou
a74252633f
Merge
2011-12-18 19:28:33 +01:00
Antoine Pitrou
2bc801c4ea
Issue #7502 : Fix equality comparison for DocTestCase instances.
...
Patch by Cédric Krier.
2011-12-18 19:27:45 +01:00
Charles-François Natali
b055bf6acb
Issue #11870 : threading: Properly reinitialize threads internal locks and
...
condition variables to avoid deadlocks in child processes.
2011-12-18 18:45:16 +01:00
Charles-François Natali
6d5f9e73d9
Issue #11870 : threading: Properly reinitialize threads internal locks and
...
condition variables to avoid deadlocks in child processes.
2011-12-18 18:35:09 +01:00
Charles-François Natali
3c4dcea712
Issue #8035 : urllib: Fix a bug where the client could remain stuck after a
...
redirection or an error.
2011-12-18 16:08:33 +01:00
Charles-François Natali
cf53ae2171
Issue #8035 : urllib: Fix a bug where the client could remain stuck after a
...
redirection or an error.
2011-12-18 16:05:07 +01:00
Victor Stinner
1f33f2b0c3
Issue #13560 : os.strerror() now uses the current locale encoding instead of UTF-8
2011-12-17 04:45:09 +01:00
Victor Stinner
f2ea71fcc8
Issue #13560 : Add PyUnicode_EncodeLocale()
...
* Use PyUnicode_EncodeLocale() in time.strftime() if wcsftime() is not
available
* Document my last changes in Misc/NEWS
2011-12-17 04:13:41 +01:00
Antoine Pitrou
6ec29e299b
Issue #8373 : The filesystem path of AF_UNIX sockets now uses the filesystem
...
encoding and the surrogateescape error handler, rather than UTF-8. Patch
by David Watson.
2011-12-16 14:46:36 +01:00
Antoine Pitrou
ab0e9f7089
Issue #10350 : Read and save errno before calling a function which might overwrite it.
...
Original patch by Hallvard B Furuseth.
2011-12-16 12:29:37 +01:00
Antoine Pitrou
c345ce1a69
Issue #10350 : Read and save errno before calling a function which might overwrite it.
...
Original patch by Hallvard B Furuseth.
2011-12-16 12:28:32 +01:00
Antoine Pitrou
093ce9cd8c
Issue #6695 : Full garbage collection runs now clear the freelist of set objects.
...
Initial patch by Matthias Troffaes.
2011-12-16 11:24:27 +01:00
Benjamin Peterson
bfebb7b54a
improve abstract property support ( closes #11610 )
...
Thanks to Darren Dale for patch.
2011-12-15 15:34:02 -05:00
Antoine Pitrou
e0e2735f41
Fix OSError.__init__ and OSError.__new__ so that each of them can be
...
overriden and take additional arguments (followup to issue #12555 ).
2011-12-15 14:31:28 +01:00
Antoine Pitrou
d73a9acb63
Fix the fix for issue #12149 : it was incorrect, although it had the side
...
effect of appearing to resolve the issue. Thanks to Mark Shannon for
noticing.
2011-12-15 14:17:36 +01:00
Antoine Pitrou
2e872082f6
Fix the fix for issue #12149 : it was incorrect, although it had the side
...
effect of appearing to resolve the issue. Thanks to Mark Shannon for
noticing.
2011-12-15 14:15:31 +01:00
Meador Inge
c2f9874280
Issue #13591 : Moving the NEWS line to the right release.
2011-12-14 22:39:28 -06:00
Meador Inge
b7288a74f2
Issue #13591 : Moving the NEWS line to the right release.
2011-12-14 22:37:48 -06:00
Meador Inge
d7afeeeb8d
Issue #13591 : import_module potentially imports a module twice.
2011-12-14 22:27:28 -06:00
Meador Inge
416f12ddb3
Issue #13591 : import_module potentially imports a module twice.
2011-12-14 22:23:46 -06:00
Ned Deily
abbcd0872f
Issue #4625 : Add NEWS entry.
2011-12-14 15:14:52 -08:00
Ned Deily
061c0289af
Issue #4625 : add NEWS entry.
2011-12-14 15:06:50 -08:00
Giampaolo Rodola'
556ba04a8d
Fix #13449 : add 'blocking' parameter to sched.scheduler.run() so that the scheduler can be used in non-blocking applications
2011-12-14 14:38:45 +01:00
Giampaolo Rodola'
73520d57eb
Fix #8684 : make sched.scheduler class thread-safe
2011-12-14 13:34:26 +01:00
Alexandre Vassalotti
a23d65ccfe
Merge 3.2
2011-12-13 13:22:42 -05:00
Alexandre Vassalotti
3bfc65a25b
Issue #13505 : Make pickling of bytes object compatible with Python 2.
...
Initial patch by sbt.
2011-12-13 13:08:09 -05:00
Benjamin Peterson
8bbe788deb
merge heads
2011-12-10 17:55:31 -05:00
Benjamin Peterson
2122cf717f
alias resource.error to OSError
2011-12-10 17:50:22 -05:00
Lars Gustäbel
0a9dd2f11d
Issue #5689 : Add support for lzma compression to the tarfile module.
2011-12-10 20:38:14 +01:00
Florent Xicluna
67317750af
Issue #13248 : turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd).
2011-12-10 11:07:42 +01:00
Victor Stinner
db6238964d
(Merge 3.2) Issue #5905 : time.strftime() is now using the locale encoding,
...
instead of UTF-8, if the wcsftime() function is not available.
2011-12-09 20:21:17 +01:00
Victor Stinner
720f34a3e8
Issue #5905 : time.strftime() is now using the locale encoding, instead of
...
UTF-8, if the wcsftime() function is not available.
2011-12-09 20:19:24 +01:00
Ned Deily
3be637e67f
Issue #8641 : Update IDLE 3 syntax coloring to recognize b".." and not u"..".
...
(Patch by Tal Einat)
2011-12-07 01:12:50 -08:00
Ned Deily
2f0ad742b5
Issue #8641 : Update IDLE 3 syntax coloring to recognize b".." and not u"..".
...
(Patch by Tal Einat)
2011-12-07 01:08:35 -08:00
Antoine Pitrou
38d9643d5e
Issue #13464 : Add a readinto() method to http.client.HTTPResponse.
...
Patch by Jon Kuhn.
2011-12-06 22:33:57 +01:00
Lars Gustäbel
45fb082180
Merge with 3.2: Correctly detect bzip2 compressed streams with blocksizes other than 900k.
2011-12-06 13:00:58 +01:00
Lars Gustäbel
ed1ac587df
Correctly detect bzip2 compressed streams with blocksizes other than 900k.
2011-12-06 12:56:38 +01:00
Barry Warsaw
04f6974d84
- Issue #11147 : Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
...
given by Campbell Barton).
2011-12-05 16:50:41 -05:00
Barry Warsaw
9f57135465
- Issue #11147 : Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
...
given by Campbell Barton).
2011-12-05 16:45:02 -05:00
Antoine Pitrou
b0e1f8b38b
Issue #13503 : Use a more efficient reduction format for bytearrays with
...
pickle protocol >= 3. The old reduction format is kept with older
protocols in order to allow unpickling under Python 2.
Patch by Irmen de Jong.
2011-12-05 20:40:08 +01:00
Meador Inge
80c219b5e7
Issue #13513 : IOBase docs incorrectly link to the readline module
2011-12-03 12:50:18 -06:00
Meador Inge
777bebb0ef
Issue #13513 : IOBase docs incorrectly link to the readline module
2011-12-03 12:29:54 -06:00
Petri Lehtinen
5645850013
Issue #13439 : Merge branch 3.2
2011-12-02 21:25:39 +02:00
Petri Lehtinen
9aa20affb6
Issue #13439 : Fix many errors in turtle docstrings.
2011-12-02 21:24:14 +02:00