Ned Deily
acdc56d0d0
Issue #14662 : Prevent shutil failures on OS X when destination does not
...
support chflag operations. (Patch by Hynek Schlawack)
2012-05-10 17:45:49 -07:00
Antoine Pitrou
c2b714ce21
Issue #14157 : Fix time.strptime failing without a year on February 29th.
...
Patch by Hynek Schlawack.
2012-05-10 20:17:46 +02:00
Jesus Cea
f2011e3e49
Closes #14768 : os.path.expanduser('~/a') doesn't works correctly when HOME is '/'
2012-05-10 05:01:11 +02:00
Antoine Pitrou
284fa08eb7
Issue #14761 : Fix potential leak on an error case in the import machinery.
2012-05-09 13:24:31 +02:00
Ezio Melotti
e48daea2a6
#14034 : added the argparse tutorial. Patch by Tshepang Lekhonkhobe.
2012-05-06 16:15:35 +03:00
Benjamin Peterson
042c47b2c7
fix calling the classmethod descriptor directly ( closes #14699 )
2012-05-01 09:51:09 -04:00
Senthil Kumaran
7f6d4e1926
issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye
2012-05-01 10:36:28 +08:00
Antoine Pitrou
3815316714
Issue #14664 : It is now possible to use @unittest.skip{If,Unless} on a test class that doesn't inherit from TestCase (i.e. a mixin).
2012-04-25 17:31:12 +02:00
Lars Gustäbel
231d474a7b
Issue #14160 : TarFile.extractfile() failed to resolve symbolic links when
...
the links were not located in an archive subdirectory.
2012-04-24 22:42:08 +02:00
Benjamin Peterson
d157a4c3dd
don't use a slot wrapper from a different special method ( closes #14658 )
...
This also alters the fix to #11603 . Specifically, setting __repr__ to
object.__str__ now raises a recursion RuntimeError when str() or repr() is
called instead of silently bypassing the recursion. I believe this behavior is
more correct.
2012-04-24 11:06:25 -04:00
R David Murray
c313b1d9b0
#14638 : pydoc now treats non-str __name__ as None instead of raising
...
Original patch by Peter Otten.
2012-04-23 13:27:11 -04:00
Senthil Kumaran
4c20c4e198
news for issue13684
2012-04-23 23:52:40 +08:00
Antoine Pitrou
52849bfaa3
Issue #14308 : Fix an exception when a "dummy" thread is in the threading module's active list after a fork().
2012-04-19 23:55:01 +02:00
Ezio Melotti
c45868ec69
#14538 : HTMLParser can now parse correctly start tags that contain a bare /.
2012-04-18 19:08:41 -06:00
Benjamin Peterson
76605557ea
SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno ( closes #14612 )
2012-04-18 11:14:31 -04:00
Vinay Sajip
7e9c9d51b6
Issue #14452 : remove BOM insertion code.
2012-04-16 14:38:23 +01:00
Antoine Pitrou
9945a64a8b
Issue #14589 : Update certificate chain for sha256.tbs-internet.com, fixing a test failure in test_ssl.
2012-04-16 03:34:44 +02:00
Mark Dickinson
0407e96061
Issue 13496: Fix bisect.bisect overflow bug for large collections.
2012-04-15 16:43:19 +01:00
Mark Dickinson
9c0baf7202
Issue #13889 : On MSVC builds, set FPU control word at runtime for all string <-> float conversions. Patch by Samuel Iseli and Stefan Krah.
2012-04-15 15:19:06 +01:00
R David Murray
9955ad4eb7
#14399 : corrected news item
2012-04-13 21:27:00 -04:00
R David Murray
3f4ccbabaf
#14399 : zipfile now correctly handles comments added to empty zipfiles.
...
Patch by Serhiy Storchaka.
2012-04-12 18:42:47 -04:00
Charles-François Natali
0d3db3a815
Issue #14557 : Fix extensions build on HP-UX. Patch by Adi Roiban.
2012-04-12 19:11:54 +02:00
Antoine Pitrou
fa1d84107a
Issue #7978 : socketserver now restarts the select() call when EINTR is returned.
...
This avoids crashing the server loop when a signal is received.
Patch by Jerzy Kozera.
2012-04-09 00:47:24 +02:00
Antoine Pitrou
02a380105d
Issue #14505 : Fix file descriptor leak when deallocating file objects created with PyFile_FromString().
2012-04-05 14:07:52 +02:00
Benjamin Peterson
f73813a8bb
prevent writing to stderr from messing up the exception state ( closes #14474 )
2012-04-02 11:15:17 -04:00
Antoine Pitrou
fe9417726c
Issue #13019 : Fix potential reference leaks in bytearray.extend().
...
Patch by Suman Saha.
2012-04-01 16:05:46 +02:00
Antoine Pitrou
4b536d4771
Issue #14437 : Fix building the _io module under Cygwin.
2012-03-31 23:53:07 +02:00
Andrew Svetlov
8af872983f
update NEWS for 2.7 as Terry Reedy proposed
2012-03-31 14:34:16 +03:00
Andrew Svetlov
c37db10e03
Backport of Issue #14409 to 2.7
...
IDLE doesn't not execute commands from shell with default keybinding
for <Return>.
Patch by Roger Serwy.
2012-03-29 19:54:58 +03:00
krisvale
479c8f8c51
Issue #10538 - Update Misc/NEWS
2012-03-22 20:17:42 +00:00
Giampaolo Rodola'
96cb5d15c1
fix #10340 : properly handle EINVAL on OSX and also avoid to call handle_connect() in case of a disconnetected socket which is not meant to connect.
2012-03-22 16:06:43 +01:00
Benjamin Peterson
72c6227df8
merge heads
2012-03-22 08:57:56 -04:00
Benjamin Peterson
eff19a13ed
check by equality for __future__ not identity ( closes #14378 )
2012-03-22 08:19:04 -04:00
R David Murray
b3f95d7ff1
#12757 : Make doctest skipping in -OO mode work with unittest/regrtest -v
2012-03-21 15:02:30 -04:00
Andrew Svetlov
7c010ee00c
#3573 : idle now doesn't hungs if launched as: idle -e <directory>
...
Patch by Guilherme Polo.
2012-03-21 13:35:08 +02:00
Giampaolo Rodola'
3d3cf48e53
Fix issue #13694 : asynchronous connect in asyncore.dispatcher does not set addr.
2012-03-20 16:46:57 +01:00
Gregory P. Smith
fcdf04becc
Fixes Issue #14331 : Use significantly less stack space when importing modules by
...
allocating path buffers on the heap instead of the stack.
2012-03-18 16:07:10 -07:00
Benjamin Peterson
dbc52f8a0d
check for string attribute names in old-style classes ( closes #14334 )
2012-03-16 10:58:46 -05:00
Benjamin Peterson
6e7832b04c
check to make sure the attribute is a string ( #14334 )
2012-03-16 09:32:59 -05:00
Senthil Kumaran
51a65c9161
2.7 - Issue #10484 : Fix the CGIHTTPServer's PATH_INFO handling problem
2012-03-16 01:07:16 -07:00
Senthil Kumaran
4c59211bd5
Fix the urllib closing issue which hangs on particular ftp urls/ftp servers. closes issue11199
2012-03-15 13:24:40 -07:00
Benjamin Peterson
f1acd0ab38
merge from 2.7 release branch
2012-03-15 13:01:04 -05:00
Benjamin Peterson
ee933eccc9
bump to 2.7.3rc2
2012-03-15 12:25:54 -05:00
Gregory P. Smith
d0e1a5b241
Fixes Issue #14234 : CVE-2012-0876: Randomize hashes of xml attributes
...
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.
2012-03-14 15:28:10 -07:00
Gregory P. Smith
c8ff46032f
Fixes Issue #14234 : CVE-2012-0876: Randomize hashes of xml attributes
...
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.
2012-03-14 15:28:10 -07:00
Martin v. Löwis
f163efd736
Issue #5219 : Prevent event handler cascade in IDLE.
...
Patch by Roger Serwy.
2012-03-13 14:46:22 -07:00
Ezio Melotti
11f8b6872a
#14161 : fix the __repr__ of file objects to escape the file name.
2012-03-12 01:17:02 +02:00
Antoine Pitrou
f60845b70a
Issue #14252 : Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
2012-03-11 19:29:12 +01:00
Benjamin Peterson
a2aa2ef313
bump to 2.7.3rc1
2012-02-23 10:52:17 -05:00
Nadeem Vawda
f00011aff4
Issue #14053 : Fix "make patchcheck" to work with MQ.
...
Patch by Francisco Martín Brugué
2012-02-22 11:40:09 +02:00
Martin v. Löwis
a1b2af8034
Issue #6807 : Run msisupport.mak earlier.
2012-02-21 18:12:02 +01:00
Martin v. Löwis
ef281bdddb
Issue #10580 : Minor grammar change in Windows installer.
2012-02-21 17:07:32 +01:00
Petri Lehtinen
4ab701b2d3
sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures
...
Closes #8033 .
2012-02-21 14:04:46 +02:00
Ezio Melotti
36b7361fe7
HTMLParser is now able to handle slashes in the start tag.
2012-02-21 09:22:16 +02:00
Benjamin Peterson
aee9dfba4a
merge 2.6 with hash randomization fix
2012-02-20 21:44:56 -05:00
Barry Warsaw
1e13eb084f
- Issue #13703 : oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
...
environment variable, to provide an opt-in way to protect against denial of
service attacks due to hash collisions within the dict and set types. Patch
by David Malcolm, based on work by Victor Stinner.
2012-02-20 20:42:21 -05:00
Ned Deily
c5df563041
Issue #12627 : Implement PEP 394 for OS X framework builds.
...
OS X framework builds already created versioned symlinks for all
executables and scripts installed in the framework bin directory,
of the general form ${cmd} - ${cmd}2.7. The changes here add a
hierarchy of ${cmd} -> ${cmd}2 -> ${cmd}2.7. Per previous
practice, all of the links are created in the framework bin
directory for both the install and altinstall targets. This is
consistent with the long-standing recommendation to manage multiple
framework versions by adding and ordering framework bin directories
on $PATH. Also, per past practice, symlinks to all framework bin
entries are created in $prefix/bin (by default, /usr/local/bin)
for the install target and only versioned links are created for
altinstall, although the use of these links is not recommended
for framework builds and their installation is optional with
the standard OS X installers.
2012-02-19 02:19:12 +01:00
Charles-François Natali
e062466480
Issue #14001 : CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
...
upon malformed POST request.
2012-02-18 14:30:34 +01:00
Charles-François Natali
66f3cc6f8d
Issue #14001 : CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
...
upon malformed POST request.
2012-02-18 14:15:38 +01:00
Petri Lehtinen
437b149b0c
Fix a variable scoping error in an sqlite3 test
...
Initial patch by Torsten Landschoff.
Closes #11689 .
2012-02-17 21:34:45 +02:00
Petri Lehtinen
002b202009
Fix errors in sqlite3's Cursor.rowcount documentation
...
Closes #13995 .
2012-02-16 21:42:34 +02:00
Gregory P. Smith
14dc510395
news entry for previous commit
2012-02-16 00:44:50 -08:00
Antoine Pitrou
dd7e071b23
Issue #13014 : Fix a possible reference leak in SSLSocket.getpeercert().
2012-02-15 22:25:27 +01:00
Éric Araujo
e897a7472d
Fix parsing of build_ext --libraries option ( #1326113 )
2012-02-15 16:28:20 +01:00
Ezio Melotti
65d36dab4d
#13987 : HTMLParser is now able to handle malformed start tags.
2012-02-15 13:19:10 +02:00
Ezio Melotti
d2307cb48a
#13987 : HTMLParser is now able to handle EOFs in the middle of a construct.
2012-02-15 12:44:23 +02:00
Antoine Pitrou
c66ed457ef
Issue #13020 : Fix a reference leak when allocating a structsequence object fails.
...
Patch by Suman Saha.
2012-02-15 02:51:43 +01:00
Antoine Pitrou
c39cd783fb
Issue #13015 : Fix a possible reference leak in defaultdict.__repr__.
...
Patch by Suman Saha.
2012-02-15 02:42:46 +01:00
Meador Inge
ff337ccd4b
Issue #13979 : Fix ctypes.util.find_library ldconfig regex
2012-02-13 22:22:06 -06:00
Ezio Melotti
f117443cb8
#13993 : HTMLParser is now able to handle broken end tags.
2012-02-13 16:28:54 +02:00
Ezio Melotti
4b92cc3f79
#13960 : HTMLParser is now able to handle broken comments.
2012-02-13 16:10:44 +02:00
Gregory P. Smith
12426998ce
Issue #13930 : Adds ability for 2to3 to write its output to a different
...
directory tree instead of overwriting the input files. Adds three command
line options: -o/--output-dir, -W/--write-unchanged-files and --add-suffix.
Feature backports into stable release branches for 2to3 are allowed by
a special exemption:
http://mail.python.org/pipermail/python-dev/2011-December/115089.html
2012-02-12 15:51:21 -08:00
Petri Lehtinen
587209f089
Fix sqlite3.Connection.iterdump on tables/fields with reserved names or quotes
...
Closes #9750
2012-02-12 21:03:02 +02:00
Florent Xicluna
c227965cbd
Typo in Misc/NEWS.
2012-02-12 14:49:03 +01:00
Éric Araujo
6faad8de7f
Fix distutils.filelist.FileList under Windows ( #13193 ).
...
The code used to call os.path.join to build a regex but without escaping
the backslash, which lead to test failures on Windows. Antoine Pitrou
fixed it in 557a973709de by enhancing the code to accept both / and \,
with proper escaping, but in my opinion this goes against the distutils
feature freeze, hence this change.
2012-02-12 04:41:36 +01:00
Ned Deily
c47a459251
Issue #13994 : Earler partial revert of Distutils enhancements in 2.7
...
has left two versions of customize_compiler, the original in
distutils.sysconfig and another copy in distutils.ccompiler, with some
parts of distutils calling one and others using the other.
Complete the revert back to only having one in distutils.sysconfig as
is the case in 3.x.
2012-02-11 20:40:24 +01:00
Ned Deily
0d0ea48709
Issue #13590 : On OS X 10.7 and 10.6 with Xcode 4.2, building
...
Distutils-based packages with C extension modules may fail because
Apple has removed gcc-4.2, the version used to build python.org
64-bit/32-bit Pythons. If the user does not explicitly override
the default C compiler by setting the CC environment variable,
Distutils will now attempt to compile extension modules with clang
if gcc-4.2 is required but not found. Also as a convenience, if
the user does explicitly set CC, substitute its value as the default
compiler in the Distutils LDSHARED configuration variable for OS X.
(Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u
SDK, neither of which are available in Xcode 4. This change does not
attempt to override settings to support their use with Xcode 4.)
2012-02-10 12:59:06 +01:00
Senthil Kumaran
59e7c8f177
Issue #9021 : Add an introduction to the copy module. Doc changes suggested by Terry Reedy.
2012-02-09 18:22:01 +08:00
Senthil Kumaran
607e31eddf
Fix Issue #6005 : Examples in the socket library documentation use sendall,
...
where relevant, instead send method. Patch contributed by Brian Brazil.
2012-02-09 17:43:31 +08:00
Petri Lehtinen
c7fd523ac5
Issue #10811 : Fix recursive usage of cursors. Instead of crashing, raise a ProgrammingError now.
2012-02-06 22:04:00 +02:00
Ned Deily
2c8bf04308
Issue #10881 : Fix test_site failures with OS X framework builds.
2012-02-06 00:55:50 +01:00
Terry Jan Reedy
adb87e2677
Issue 964437 Make IDLE help window non-modal.
...
Patch by Guilherme Polo and Roger Serwy.
2012-02-05 15:10:55 -05:00
Ned Deily
61c9534363
Issue #13933 : IDLE auto-complete did not work with some imported
...
module, like hashlib. (Patch by Roger Serwy)
2012-02-04 18:35:23 +01:00
Ned Deily
fbc56fde26
Issue #13901 : Prevent test_distutils failures on OS X with --enable-shared.
2012-02-03 02:39:49 +01:00
Petri Lehtinen
fe6f9d0edc
Document absoluteness of sys.executable
...
Closes #13402 .
2012-02-02 21:26:05 +02:00
Petri Lehtinen
0518f470b1
sqlite3: Handle strings with embedded zeros correctly
...
Closes #13676 .
2012-02-01 22:20:13 +02:00
Terry Jan Reedy
b98000ab5b
#13506 Add '' to path for interactive interpreter by adding with_cwd parameter
...
to PyShell.PyShell.transfer_path() and changing elsewhere as needed.
Original patches by Marco Scataglini and Roger Serwy.
2012-01-31 02:09:25 -05:00
Antoine Pitrou
88c51e8cb1
Issue #13806 : The size check in audioop decompression functions was too strict and could reject valid compressed data.
...
Patch by Oleg Plakhotnyuk.
2012-01-28 22:01:59 +01:00
Antoine Pitrou
374b4ea9da
Issue #13885 : CVE-2011-3389: the _ssl module would always disable the CBC IV attack countermeasure.
2012-01-27 09:44:08 +01:00
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
Benjamin Peterson
a84f468cf1
move notes for 2.7.4 to the right place
2012-03-07 19:17:57 -06:00