Benjamin Peterson
d5890c8db5
add str.casefold() (closes #13752)
2012-01-14 13:23:30 -05:00
Meador Inge
94d5a7174a
Issue #13786: Remove unimplemented 'trace' long option from regrtest.py.
2012-01-14 11:54:43 -06:00
Meador Inge
b0ae0ac668
Issue #13786: Remove unimplemented 'trace' long option from regrtest.py.
2012-01-14 11:50:33 -06:00
Meador Inge
d61fdc17d3
Issue #13725: Add a NEWS entry.
2012-01-14 09:56:42 -06:00
Meador Inge
f37c1989b1
Issue #13725: Add a NEWS entry.
2012-01-14 09:32:41 -06:00
Meador Inge
124598caf7
Issue #13725: regrtest does not recognize -d flag.
...
Patch by Erno Tukia.
2012-01-14 09:17:10 -06:00
Meador Inge
3f55e59282
Issue #13725: regrtest does not recognize -d flag.
...
Patch by Erno Tukia.
2012-01-14 09:12:55 -06:00
Senthil Kumaran
4479577388
merge from 3.2 - Fix Issue #13642: Unquote before b64encoding user:password during Basic Authentication.
2012-01-14 19:12:28 +08:00
Senthil Kumaran
c5c5a14577
Fix Issue #13642: Unquote before b64encoding user:password during Basic Authentication.
2012-01-14 19:09:04 +08:00
Senthil Kumaran
0e0772d859
merge from 3.2
2012-01-14 18:39:06 +08:00
Senthil Kumaran
bcfe56d77c
Issue13726 - Fix the ambiguous -S flag in regrtest. It is -o/--slow for printing the 10 slowest test.
2012-01-14 18:26:27 +08:00
Nick Coghlan
138f4656e3
Add a separate NEWS entry for a change to PyObject_CallMethod in the PEP 380 patch, and make the private CallMethod variants consistent with the public one
2012-01-14 16:45:48 +10:00
Antoine Pitrou
fffbfbd397
Issue #13764: remove outdated script Misc/build.sh
2012-01-13 19:41:42 +01:00
Ross Lagerwall
66e2fb68ac
Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor.
2012-01-08 08:29:40 +02:00
Charles-François Natali
ded0348c08
Issue #13502: threading: Fix a race condition in Event.wait() that made it
...
return False when the event was set and cleared right after.
2012-01-07 18:24:56 +01:00
Lars Gustäbel
dee45e20f6
Issue #12926: Fix a bug in tarfile's link extraction.
...
On platforms that do not support (symbolic) links, tarfile offers a
work-around and extracts a link in an archive as the regular file the link is
pointing to. On other platforms, this code was accidentally executed even
after the link had been successfully extracted which failed due to the already
existing link.
2012-01-05 18:48:06 +01:00
Senthil Kumaran
6497aa3e00
Issue13696 - Fix 302 Redirection for Relative urls.
2012-01-04 13:46:59 +08:00
Antoine Pitrou
8f85f907e3
Issue #13636: Weak ciphers are now disabled by default in the ssl module
...
(except when SSLv2 is explicitly asked for).
2012-01-03 22:46:48 +01:00
Charles-François Natali
366999a011
Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
...
Vilmos Nebehaj.
2012-01-02 15:47:29 +01:00
Senthil Kumaran
83194f5b92
News entry for Issue12798
2011-12-23 11:11:21 +08:00
Ross Lagerwall
031bf95d32
Issue #11006: Don't issue low level warning in subprocess when pipe2() fails.
2011-12-22 09:07:30 +02:00
Michael Foord
3ba95f8bd9
Metaclasses with metaclasses with a __dict__ descriptor can no longer trigger code execution with inspect.getattr_static.
...
Closes issue 11829.
2011-12-22 01:13:37 +00:00
Antoine Pitrou
86a8a9ae98
Issue #1785: Fix inspect and pydoc with misbehaving descriptors.
...
Also fixes issue #13581: `help(type)` wouldn't display anything.
2011-12-21 09:57:40 +01:00
Antoine Pitrou
7ded21e917
Issue #5424: add tests for inet_ntoa, inet_ntop, inet_aton and inet_pton.
...
Patch by Philipp Hagemeister.
2011-12-19 16:21:21 +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
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
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
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
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
Antoine Pitrou
07b1c877b2
Issue #13522: document error return values of some float and complex C API functions.
2011-12-18 01:25:27 +01:00
Victor Stinner
bb2e9c477d
Issue #11231: Fix bytes and bytearray docstrings
...
Patch written by Brice Berna.
2011-12-17 23:18:07 +01:00
Victor Stinner
e83f899364
Issue #13530: Document os.lseek() result
...
Patch written by Jérémy Anger.
2011-12-17 23:15:09 +01:00
Antoine Pitrou
98f4e39ed4
Issue #13764: remove outdated script Misc/build.sh
2012-01-13 19:42:13 +01:00
Georg Brandl
bc3b682923
Closes #13761: add a "flush" keyword argument to print().
2012-01-13 19:41:25 +01:00
Antoine Pitrou
5136ac0ca2
Issue #13645: pyc files now contain the size of the corresponding source
...
code, to avoid timestamp collisions (especially on filesystems with a low
timestamp resolution) when checking for freshness of the bytecode.
2012-01-13 18:52:16 +01:00
Nick Coghlan
1f7ce62bd6
Implement PEP 380 - 'yield from' (closes #11682)
2012-01-13 21:43:40 +10:00
Antoine Pitrou
3a5d4cb940
Issue #13748: Raw bytes literals can now be written with the rb
prefix as well as br
.
2012-01-12 22:46:19 +01:00
Benjamin Peterson
b2bf01d824
use full unicode mappings for upper/lower/title case (#12736)
...
Also broaden the category of characters that count as lowercase/uppercase.
2012-01-11 18:17:06 -05:00
Charles-François Natali
dc3044c704
Issue #12760: Add a create mode to open(). Patch by David Townshend.
2012-01-09 22:40:02 +01:00
Antoine Pitrou
94f6fa62bf
Issue #13738: Simplify implementation of bytes.lower() and bytes.upper().
2012-01-08 16:22:46 +01:00
Ross Lagerwall
69f39a53f6
Merge with 3.2 for #12364.
2012-01-08 08:42:03 +02:00
Charles-François Natali
61d28d6a74
Issue #13502: threading: Fix a race condition in Event.wait() that made it
...
return False when the event was set and cleared right after.
2012-01-07 18:26:39 +01:00
Antoine Pitrou
0a08d7a095
Issue #9993: When the source and destination are on different filesystems,
...
and the source is a symlink, shutil.move() now recreates a symlink on the
destination instead of copying the file contents.
Patch by Jonathan Niehof and Hynek Schlawack.
2012-01-06 20:16:19 +01:00
Lars Gustäbel
8f771a4716
Merge from 3.2: Issue #12926: Fix a bug in tarfile's link extraction.
...
On platforms that do not support (symbolic) links, tarfile offers a
work-around and extracts a link in an archive as the regular file the link is
pointing to. On other platforms, this code was accidentally executed even
after the link had been successfully extracted which failed due to the already
existing link.
2012-01-05 18:53:00 +01:00
Senthil Kumaran
239a0429fd
merge from 3.2
2012-01-04 14:47:30 +08:00
Antoine Pitrou
72aeec35a1
Issue #13636: Weak ciphers are now disabled by default in the ssl module
...
(except when SSLv2 is explicitly asked for).
2012-01-03 22:49:08 +01:00
Charles-François Natali
42663334cd
Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
...
Vilmos Nebehaj.
2012-01-02 15:57:30 +01:00
Antoine Pitrou
78091e63d6
Issue #12715: Add an optional symlinks argument to shutil functions (copyfile, copymode, copystat, copy, copy2).
...
When that parameter is true, symlinks aren't dereferenced and the operation
instead acts on the symlink itself (or creates one, if relevant).
Patch by Hynek Schlawack.
2011-12-29 18:54:15 +01:00
Benjamin Peterson
2fb9ae9dfc
add a flags parameter to select.epoll
2011-12-27 15:15:41 -06:00