Antoine Pitrou
d358e0554b
Issue #13885 : CVE-2011-3389: the _ssl module would always disable the CBC IV attack countermeasure.
2012-01-27 09:42:45 +01:00
Brett Cannon
64b2b6a84d
Issue #13883 : Document all platforms PYTHONCASEOK works on.
2012-01-26 18:32:24 -05:00
Florent Xicluna
a1f948bdec
Issue #12501 : merge the discordant NEWS entries.
2012-01-24 21:05:10 +01:00
Antoine Pitrou
d1c818a9c0
Issue #11235 : Fix OverflowError when trying to import a source file whose modification time doesn't fit in a 32-bit timestamp.
2012-01-24 17:44:06 +01:00
Senthil Kumaran
b05f91d155
NEWS entry for Issue6631
2012-01-21 11:45:12 +08:00
Meador Inge
da747c3d97
Issue #2134 : Clarify token.OP handling rationale in tokenize documentation.
2012-01-19 00:17:44 -06:00
Nadeem Vawda
d7664dee0c
Issue #13781 : Fix GzipFile to work with os.fdopen()'d file objects.
2012-01-19 00:40:46 +02:00
Jesus Cea
4a8ba19783
Closes #13803 : Under Solaris, distutils doesn't include bitness in the directory name
2012-01-18 03:51:38 +01:00
Antoine Pitrou
3b6a31412f
Issue #13589 : Fix some serialization primitives in the aifc module.
...
Patch by Oleg Plakhotnyuk.
2012-01-17 17:13:04 +01:00
Jesus Cea
23fbd8ccb1
Berkeley DB: Erratic behaviour of "DBEnv->rep_elect()" because a typo
2012-01-17 00:17:10 +01:00
Amaury Forgeot d'Arc
dee76e627d
Issue #13774 : json: Fix a SystemError when a bogus encoding is passed to
...
json.loads().
2012-01-13 22:53:25 +01:00
Senthil Kumaran
bcd833f30f
- Issue #13642 : Unquote before b64encoding user:password during Basic
...
Authentication. Patch contributed by Joonas Kuorilehto and Michele Orrù.
2012-01-11 00:09:24 +08:00
Antoine Pitrou
d76088d972
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
3aa59e327c
Issue #9975 : socket: Fix incorrect use of flowinfo and scope_id. Patch by
...
Vilmos Nebehaj.
2012-01-02 15:38:27 +01:00
Jason R. Coombs
042370e750
Issue #11638 : Adding test to ensure .tar.gz files can be generated by sdist command with unicode metadata, based on David Barnett's patch.
...
Issue #11638 : Added tests to capture failures in make_tarball with various unicode strings.
Following fix for Issue #13639 , these tests now pass.
2011-12-26 10:15:15 -05:00
Senthil Kumaran
84c18aaa4c
Update News entry.
2011-12-23 11:14:56 +08:00
Lars Gustäbel
7d4d074c99
Issue #13639 : Accept unicode filenames in tarfile.open(mode="w|gz").
...
Passing a unicode filename to tarfile.open() along with mode "w|gz" failed
with a UnicodeError because the filename was not encoded properly before being
written to the gzipped stream in the FNAME extra field.
2011-12-21 19:27:50 +01:00
Antoine Pitrou
b8572a1673
Issue #1785 : Fix inspect and pydoc with misbehaving descriptors.
...
Also fixes issue #13581 : `help(type)` wouldn't display anything.
2011-12-21 10:16:14 +01:00
Victor Stinner
99cff3f182
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 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:59:58 +01:00
Antoine Pitrou
7a3d8aee8c
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
41616300b1
Issue #11870 : threading: Properly reinitialize threads internal locks and
...
condition variables to avoid deadlocks in child processes.
2011-12-18 18:22:24 +01:00
Charles-François Natali
f3d35f0efe
Issue #8035 : urllib: Fix a bug where the client could remain stuck after a
...
redirection or an error.
2011-12-18 15:52:48 +01:00
Antoine Pitrou
5b4b2da55d
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
Ned Deily
d8fdbad881
Issue #4625 : add NEWS entry.
2011-12-14 15:05:42 -08:00
Raymond Hettinger
f537702732
Issue #13573 : The csv.writer now uses the repr() for floats rather than str().
2011-12-11 22:31:09 -08:00
Amaury Forgeot d'Arc
4bf21e28df
Issue #13546 : Fixed an overflow issue that could crash the intepreter when
...
calling sys.setrecursionlimit((1<<31)-1).
2.7 only.
2011-12-07 21:46:48 +01:00
Lars Gustäbel
9a38863d8c
Correctly detect bzip2 compressed streams with blocksizes other than 900k.
2011-12-06 13:07:09 +01:00
Meador Inge
5295718399
Issue #13513 : IOBase docs incorrectly link to the readline module
2011-12-03 12:13:42 -06:00
Petri Lehtinen
49e49a218c
Issue #13439 : Fix many errors in turtle docstrings.
2011-12-02 21:22:53 +02:00
Antoine Pitrou
a5d5bb997b
Issue #12856 : Ensure child processes do not inherit the parent's random seed for filename generation in the tempfile module.
...
Patch by Brian Harring.
2011-11-25 21:28:15 +01:00
Antoine Pitrou
aa1c967f93
Issue #13458 : Fix a memory leak in the ssl module when decoding a certificate with a subjectAltName.
...
Patch by Robert Xiao.
2011-11-23 01:39:19 +01:00
Victor Stinner
53853c3fa9
Issue #13415 : os.unsetenv() doesn't ignore errors anymore.
2011-11-22 22:20:13 +01:00
Antoine Pitrou
5aa7df320f
Issue #13322 : Fix BufferedWriter.write() to ensure that BlockingIOError is
...
raised when the wrapped raw file is non-blocking and the write would block.
Previous code assumed that the raw write() would raise BlockingIOError, but
RawIOBase.write() is defined to returned None when the call would block.
Patch by sbt.
2011-11-21 20:16:44 +01:00
Ezio Melotti
00dc60beee
#13358 : HTMLParser now calls handle_data only once for each CDATA.
2011-11-18 18:00:40 +02:00
Ezio Melotti
93bbb6a9a6
#4147 : minidom's toprettyxml no longer adds whitespace around a text node when it is the only child of an element. Initial patch by Dan Kenigsberg.
2011-11-18 17:30:28 +02:00
Ned Deily
174c4f897f
Issue #8793 : Prevent IDLE crash in 2.7 when given strings with
...
invalid hex escape sequences.
2011-11-15 18:29:02 -08:00
Antoine Pitrou
30402549de
Issue #13333 : The UTF-7 decoder now accepts lone surrogates
...
(the encoder already accepts them).
2011-11-15 01:49:40 +01:00
Ezio Melotti
0f1571ce7f
#1745761 , #755670 , #13357 , #12629 , #1200313 : improve attribute handling in HTMLParser.
2011-11-14 18:04:05 +02:00
Antoine Pitrou
667383c8d4
Issue #13193 : Fix distutils.filelist.FileList under Windows. The
...
"recursive-include" directive now recognizes both legal path separators.
2011-11-12 01:33:59 +01:00
Antoine Pitrou
6a570d6b9a
Issue #13373 : multiprocessing.Queue.get() could sometimes block indefinitely
...
when called with a timeout. Patch by Arnaud Ysmal.
2011-11-10 00:33:50 +01:00
Jesus Cea
cb65f3249a
Partial patch for issue #11812 : Take care of test_telnetlib.py
2011-11-08 16:06:44 +01:00
Jesus Cea
71094b5d5b
Solved a potential deadlock in test_telnetlib.py. Related to issue #11812
2011-11-08 15:54:42 +01:00
Petri Lehtinen
3b9d92aefe
Revert "Accept None as start and stop parameters for list.index() and tuple.index()"
...
Issue #13340 .
2011-11-06 20:59:01 +02:00
Benjamin Peterson
a5ae1f0c25
remove py3k warning for callable
2011-11-06 08:20:12 -05:00
Petri Lehtinen
819d8d447d
Accept None as start and stop parameters for list.index() and tuple.index()
...
Closes #13340 .
2011-11-05 23:18:06 +02:00
Petri Lehtinen
416ecffcc4
Issue #3067 : Enhance the documentation and docstring of locale.setlocale()
2011-11-05 10:18:50 +02:00
Petri Lehtinen
49aa72ed4c
Fix Maildir initialization so that maildir contents are read correctly.
...
Closes #13254 .
2011-11-05 09:50:37 +02:00
Florent Xicluna
5f761d79c0
Issue #13140 : Fix the daemon_threads attribute of ThreadingMixIn.
2011-11-04 10:15:57 +01:00
Florent Xicluna
c4a11bd1d5
Missing NEWS entry in changeset e1dde980a92c
2011-11-01 23:47:46 +01:00
Ezio Melotti
7e82b276dd
#670664 : Fix HTMLParser to correctly handle the content of ``<script>...</script>`` and ``<style>...</style>``.
2011-11-01 14:09:56 +02:00
Ned Deily
1aacd7bb02
Issue #13304 : Skip test case if user site-packages disabled (-s or
...
PYTHONNOUSERSITE). (Patch by Carl Meyer)
2011-10-31 16:14:52 -07:00
Senthil Kumaran
87e585581d
Port to 2.7 - issue 10817 - Fix urlretrieve function to raise
...
ContentTooShortError even when reporthook is None. Patch by Jyrki Pulliainen.
2011-11-01 02:44:45 +08:00
Ned Deily
86d669bdb8
Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
...
(Patch by Roger Serwy)
2011-10-30 19:58:04 -07:00
Petri Lehtinen
8028dc215c
Add Misc/NEWS entry for issue #10519
2011-10-30 21:12:17 +02:00
Florent Xicluna
67d5d0ed44
Closes #7334 : close source files on ElementTree.parse and iterparse (partial backport of issue #10093 from 3.2).
2011-10-29 03:38:56 +02:00
Barry Warsaw
bf0cafa773
Oops, put fix news in the right section.
2011-10-28 16:16:58 -04:00
Barry Warsaw
be83698f21
- Issue #13218 : Fix test_ssl failures on Debian/Ubuntu.
2011-10-28 16:14:44 -04:00
Benjamin Peterson
0c0d756098
don't let a tuple msg be interpreted as arguments to AssertionError ( closes #13268 )
2011-10-27 08:21:59 -04:00
Vinay Sajip
c515eba9ff
Updated NEWS with fix for 13232.
2011-10-24 23:26:00 +01:00
Petri Lehtinen
99e93d2dde
merge heads
2011-10-24 21:29:20 +03:00
Petri Lehtinen
8ffbab8d02
Issue #13018 : Fix reference leaks in error paths in dictobject.c.
...
Patch by Suman Saha.
2011-10-24 20:59:29 +03:00
Charles-François Natali
46f990e58c
Issue #10332 : multiprocessing: fix a race condition when a Pool is closed
...
before all tasks have completed.
2011-10-24 18:43:51 +02:00
Nick Coghlan
8671157863
Issue #13237 : Rearrange subprocess module documentation to emphasise the convenience functions and commonly needed arguments
2011-10-24 22:19:40 +10:00
Florent Xicluna
df10d7cb97
Issue #13141 : Demonstrate recommended style for SocketServer examples.
2011-10-23 23:07:22 +02:00
Éric Araujo
b21f51a9d0
Note that the #1548891 fix indirectly fixes shlex ( #6988 , #1170 )
2011-10-23 04:37:51 +02:00
Antoine Pitrou
5a77fe92bd
Issue #1548891 : The cStringIO.StringIO() constructor now encodes unicode
...
arguments with the system default encoding just like the write() method
does, instead of converting it to a raw buffer.
2011-10-22 21:26:01 +02:00
Florent Xicluna
47fb192dda
Issue #9168 : now smtpd is able to bind privileged port.
2011-10-20 23:21:58 +02:00
Senthil Kumaran
797b95b4af
News entry for Issue12529 and Issue12604
2011-10-21 00:32:59 +08:00
Senthil Kumaran
ddd40312d5
Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
...
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by Petri Lehtinen.
2011-10-20 01:38:35 +08:00
Łukasz Langa
7a15390f83
Fixes #10860 : Handle empty port after port delimiter in httplib
...
Thanks, Shawn Ligocki!
3.x version will come as a separate patch.
2011-10-18 17:16:00 +02:00
Nadeem Vawda
deb1ce7b95
Issue #13194 : zlib.compressobj().copy() and zlib.decompressobj().copy() are now available on Windows.
2011-10-17 19:33:38 +02:00
Mark Hammond
323b5daa10
Issue #7833 : Ext. modules built using distutils on Windows no longer get a manifest
2011-10-17 11:05:36 +11:00
Benjamin Peterson
a7b0976c3e
PyEval_CallObject requires a tuple of args ( closes #13186 )
2011-10-15 13:43:21 -04:00
Nadeem Vawda
36248154a9
Issue #13159 : Replace FileIO's quadratic-time buffer growth algorithm with a linear-time one.
...
Also fix the builtin file class and the bz2 module, which used the same algorithm.
2011-10-13 13:52:46 +02:00
Charles-François Natali
40ab00233e
Issue #13156 : Add an entry in Misc/NEWS.
2011-10-12 22:29:09 +02:00
Éric Araujo
017e535bde
Fix distutils’ check and register Unicode handling ( #13114 ).
...
The check command was fixed by Kirill Kuzminykh.
The register command was using StringIO.getvalue, which uses “''.join”
and thus coerces to str using the default encoding (ASCII), so I changed
the code to use one extra intermediary list and correctly encode to
UTF-8.
2011-10-09 07:11:19 +02:00
Ned Deily
bd9d07c1dd
Issue #7425 and Issue #7367 : add NEWS items.
2011-10-06 14:29:49 -07:00
Charles-François Natali
9ffcbf71a5
Issue #13070 : Fix a crash when a TextIOWrapper caught in a reference cycle
...
would be finalized after the reference to its underlying BufferedRWPair's
writer got cleared by the GC.
2011-10-06 19:09:45 +02:00
Antoine Pitrou
ace2ccf387
Issue #13099 : Fix sqlite3.Cursor.lastrowid under a Turkish locale.
...
Reported and diagnosed by Thomas Kluyver.
2011-10-04 13:38:04 +02:00
Antoine Pitrou
561a821e93
Issue #7689 : Allow pickling of dynamically created classes when their
...
metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and
Craig Citro.
2011-10-04 09:34:48 +02:00
Meador Inge
ad349a190e
Issue #12881 : ctypes: Fix segfault with large structure field names.
2011-10-03 21:34:04 -05:00
Charles-François Natali
564f89036f
Issue #13058 : ossaudiodev: fix a file descriptor leak on error. Patch by Thomas
...
Jarosch.
2011-09-29 19:43:01 +02:00
Meador Inge
fe15003680
Issue #13013 : ctypes: Fix a reference leak in PyCArrayType_from_ctype.
...
Thanks to Suman Saha for finding the bug and providing a patch.
2011-09-27 20:35:28 -05:00
Mark Dickinson
a96b0d119d
Backport issue #12973 itertools fix from 3.x.
2011-09-24 09:01:16 +01:00
Victor Stinner
63c22fac72
Issue #7732 : Fix a crash on importing a module if a directory has the same name
...
than a Python module (e.g. "__init__.py"): don't close the file twice.
PyFile_FromFile() does also close the file if PyString_FromString() failed. It
did already close the file on fill_file_fields() error (e.g. if the file is a
directory).
2011-09-23 19:37:03 +02:00
Victor Stinner
51b719814e
Issue #12931 : xmlrpclib now encodes Unicode URI to ISO-8859-1, instead of
...
failing with a UnicodeDecodeError.
2011-09-23 01:15:32 +02:00
Jesus Cea
c23484b21f
Close #13022 : _multiprocessing.recvfd() doesn't check that file descriptor was actually received
2011-09-21 03:47:39 +02:00
Mark Dickinson
4ac5d2cda4
Backport issue #12973 list_repeat fix from 3.x.
2011-09-19 19:23:55 +01:00
Mark Dickinson
dbbed04941
Issue #12973 : Fix int.__pow__ overflow checks that invoked undefined behaviour, thereby producing incorrect results on Clang.
2011-09-19 16:38:08 +01:00
Jesus Cea
d256ca12c1
Close #13007 : whichdb should recognize gdbm 1.9 magic numbers
2011-09-19 16:57:18 +02:00
Amaury Forgeot d'Arc
439c25eb9e
Issue #12483 : ctypes: Fix a crash when the destruction of a callback
...
object triggers the garbage collector.
2011-09-12 20:12:09 +02:00
Éric Araujo
dcdc3ef5fa
Branch merge
2011-09-12 17:47:48 +02:00
Éric Araujo
a13cd39533
Fix determination of Metadata version ( #8933 ). Patch by Filip Gruszczyński.
2011-09-10 05:39:45 +02:00
Jesus Cea
6ebaca137f
NEWS
2011-09-10 04:35:18 +02:00
Éric Araujo
ab08da0a1c
Branch merge
2011-09-05 17:45:48 +02:00
Lars Gustäbel
8babfdfd45
Issue #12841 : Fix tarfile extraction of non-existent uids/gids.
...
tarfile unnecessarily checked the existence of numerical user and group ids on
extraction. If one of them did not exist the respective id of the current user
(i.e. root) was used for the file and ownership information was lost. (Patch
by Sebastien Luttringer)
2011-09-05 17:04:18 +02:00
Éric Araujo
0f2dbf3645
Warn instead of crashing because of invalid path in MANIFEST.in ( #8286 ).
...
sdist used to crash with a full traceback dump instead of printing a
nice warning with the faulty line number.
2011-09-03 00:47:07 +02:00
Amaury Forgeot d'Arc
cf316a171e
Issue #12764 : Fix a crash in ctypes when the name of a Structure field is not
...
a string.
2011-09-02 20:32:23 +02:00
Amaury Forgeot d'Arc
3d7f236329
Issue #9651 : Fix a crash when ctypes.create_string_buffer(0) was passed to
...
some functions like file.write().
2011-08-30 21:04:35 +02:00
Éric Araujo
429b890561
Make bdist_* commands respect --skip-build passed to bdist ( #10946 )
2011-08-30 01:48:59 +02:00