Ned Deily
3aee9416a0
Issue #10997 : Prevent a duplicate entry in IDLE's "Recent Files" menu.
2012-05-29 10:43:36 -07:00
Antoine Pitrou
e1ad3dac3d
Issue #14775 : Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts.
...
Additional comments by Tim Silk.
2012-05-28 22:22:34 +02:00
Meador Inge
031e25b0f7
Issue #9041 : raised exception is misleading
...
An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that
caused an incorrect exception to be returned in the case of overflow has been
fixed.
2012-05-28 14:21:16 -05:00
Nick Coghlan
4b6045c30f
Issue #14443 : Tell rpmbuild to use the correct version of Python
2012-05-28 22:34:46 +10:00
Terry Jan Reedy
e1c5087802
Issue14929: Stop Idle 3.x from closing on Unicode decode errors when grepping.
...
Patch by Roger Serwy.
2012-05-27 22:56:49 -04:00
Terry Jan Reedy
c5301ef2df
Issue12510: Attempting to get invalid tooltip no longer closes Idle.
...
Original patch by Roger Serwy.
2012-05-27 21:29:17 -04:00
Terry Jan Reedy
cd6b8c67ce
Issue #10365 : File open dialog now works instead of crashing
...
even when parent window is closed. Patch by Roger Serwy.
2012-05-26 20:23:45 -04:00
Terry Jan Reedy
809309a482
Issue #14876 : Use user-selected font for highlight configuration.
...
Patch by Roger Serwy.
2012-05-26 16:31:00 -04:00
Senthil Kumaran
ffa4b2c037
Issue #14920 : Fix the help(urllib.parse) failure on locale C terminals. Just have ascii in help msg
2012-05-26 09:53:32 +08:00
Petri Lehtinen
1a01ebc41c
#14863 : Update the documentation of os.fdopen()
...
There's no bufsize argument anymore, and os.fdopen() is only a very
thin wrapper around open() anymore. Change the documentation to
reflect that.
2012-05-24 21:46:36 +03:00
Senthil Kumaran
2fc5a50809
Issue #14036 : return None when port in urlparse cross 65535
2012-05-24 21:56:17 +08:00
Florent Xicluna
346c5de08e
Remove duplicate entries in Misc/NEWS.
2012-05-23 17:42:50 +02:00
Petri Lehtinen
1f50389370
#14472 : Update .gitignore
...
Patch by Matej Cepl.
2012-05-22 21:03:05 +03:00
Ezio Melotti
898d51da4d
#14875 : Use float('inf') instead of float('1e66666') in the json module.
2012-05-21 17:49:06 -06:00
Senthil Kumaran
6e8ba0aba6
news for Issue14426
2012-05-20 12:06:24 +08:00
Petri Lehtinen
079bfc962d
#14494 : Document that absolute imports became default in 3.0 instead of 2.7.
2012-05-19 18:36:33 +03:00
Ezio Melotti
6709b7d5d1
#14072 : Fix parsing of tel URIs in urlparse by making the check for ports stricter.
2012-05-19 17:15:19 +03:00
Senthil Kumaran
5fa4a89601
Fix Issue14721: Send Content-length: 0 for empty body () in the http.client requests
2012-05-19 16:58:09 +08:00
Senthil Kumaran
1be320ebdd
Issue9374 - Generic parsing of query and fragment portion of urls for any scheme
2012-05-19 08:12:00 +08:00
Petri Lehtinen
8d88604682
#14798 : pyclbr now raises ImportError instead of KeyError for missing packages
2012-05-18 21:56:36 +03:00
Martin v. Löwis
3407dfbaf9
Upgrade OpenSSL to 1.0.0j
2012-05-18 15:28:01 +02:00
Antoine Pitrou
a103b96a80
Issue #14829 : Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows.
2012-05-16 14:37:54 +02:00
Ned Deily
4d377d98a1
Issue #14777 : In an X11 windowing environment, tkinter may return
...
undecoded UTF-8 bytes as a string when accessing the Tk clipboard.
Modify clipboad_get() to first request type UTF8_STRING when no
specific type is requested in an X11 windowing environment, falling
back to the current default type STRING if that fails.
Original patch by Thomas Kluyver.
2012-05-15 18:08:11 -07:00
Senthil Kumaran
34f3fcc269
Issue #12541 : Be lenient with quotes around Realm field of HTTP Basic Authentation in urllib2.
...
G: changed Misc/NEWS
2012-05-15 22:30:25 +08:00
Ned Deily
5fddf866d8
Issue #14662 : Prevent shutil failures on OS X when destination does not
...
support chflag operations. (Patch by Hynek Schlawack)
2012-05-10 17:21:23 -07:00
Antoine Pitrou
1682e5d740
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
7f0d88860f
Closes #14768 : os.path.expanduser('~/a') doesn't works correctly when HOME is '/'
2012-05-10 05:10:50 +02:00
Antoine Pitrou
d576c711a5
Issue #14761 : Fix potential leak on an error case in the import machinery.
2012-05-09 13:24:31 +02:00
Mark Dickinson
da029fb293
Issue #14741 : Fix missing support for ellipsis in parser module.
2012-05-07 17:24:04 +01:00
Mark Dickinson
11c1dee183
Issue #14697 : Fix missing parser module support for set displays and set comprehensions.
2012-05-07 16:34:34 +01:00
Mark Dickinson
cf360b9209
Issue #14701 : Add missing support for 'raise ... from' in parser module.
2012-05-07 12:01:27 +01:00
Mark Dickinson
640335c61f
Fix issue number in Misc/NEWS.
2012-05-07 10:24:02 +01:00
Mark Dickinson
1b2e9444fe
Issue #14965 : Fix missing support for starred assignments in Tools/parser/unparse.py.
2012-05-06 17:27:39 +01:00
Ezio Melotti
6cc7a41c2f
#14034 : added the argparse tutorial. Patch by Tshepang Lekhonkhobe.
2012-05-06 16:15:35 +03:00
Benjamin Peterson
7295c6a871
fix calling the classmethod descriptor directly ( closes #14699 )
2012-05-01 09:51:09 -04:00
Senthil Kumaran
42d7081806
issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye
2012-05-01 10:07:49 +08:00
Martin v. Löwis
e654c11f56
Issue #14433 : Prevent msvcrt crash in interactive prompt when stdin is closed.
2012-04-30 06:10:41 +02:00
Mark Dickinson
407b3bd89b
Issue #14696 : Fix parser module to understand 'nonlocal' declarations.
2012-04-29 22:18:31 +01:00
Alexander Belopolsky
2420d83158
Issue #10941 : Fix imaplib.Internaldate2tuple to produce correct result near
...
the DST transition. Patch by Joe Peterson.
2012-04-29 15:56:49 -04:00
Mark Dickinson
ea7e9f9a83
Issue #9154 : Fix parser module to understand function annotations.
2012-04-29 18:34:40 +01:00
Antoine Pitrou
b05ac864f0
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 14:56:46 +02:00
Lars Gustäbel
1ef9eda7bc
Issue #14160 : TarFile.extractfile() failed to resolve symbolic links
...
when the links were not located in an archive subdirectory.
2012-04-24 21:04:40 +02:00
Benjamin Peterson
7b1668735a
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
c43125a05c
#14638 : pydoc now treats non-str __name__ as None instead of raising
...
Original patch by Peter Otten.
2012-04-23 13:23:57 -04:00
Senthil Kumaran
88ec6209cf
news for issue13684
2012-04-23 23:53:16 +08:00
Nick Coghlan
37fc401188
Close issue #14026 by better testing sys.argv handling in test_cmd_line_script (patch by Jason Yeo)
2012-04-22 17:11:33 +10:00
Mark Dickinson
bcc17eefd2
Issue #14630 : Fix an incorrect access of ob_digit[0] for a zero instance of an int subclass.
2012-04-20 21:42:49 +01:00
Martin v. Löwis
63674f4b52
Issue #14629 : Raise SyntaxError in tokenizer.detect_encoding
...
if the first two lines have non-UTF-8 characters without an encoding declaration.
2012-04-20 14:36:47 +02:00
Antoine Pitrou
8e6e0fdb7f
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
Nick Coghlan
10ac77d2d8
Close #14032 : fix incorrect variable reference in test_cmd_line_script
2012-04-19 22:19:36 +10:00
Ezio Melotti
0780b6bc58
#14538 : HTMLParser can now parse correctly start tags that contain a bare /.
2012-04-18 19:18:22 -06:00
Benjamin Peterson
2c1414661d
improve
2012-04-18 11:25:12 -04:00
Benjamin Peterson
e42fb307ed
SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno ( closes #14612 )
2012-04-18 11:14:31 -04:00
Benjamin Peterson
32c59b6fc1
mangle keyword-only argname when loading defaults ( closes #14607 )
2012-04-17 19:53:21 -04:00
Vinay Sajip
ee9e485c21
Closes #14452 : remove BOM insertion code.
2012-04-16 14:39:53 +01:00
Antoine Pitrou
aa292f91bb
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
a13b109bc0
Issue 13496: Fix bisect.bisect overflow bug for large collections.
2012-04-15 16:30:35 +01:00
Mark Dickinson
18e3d81f96
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:10:56 +01:00
R David Murray
650dfaf5c4
#14399 : corrected news item
2012-04-13 21:24:27 -04:00
R David Murray
51804e9725
#14399 : zipfile now correctly handles comments added to empty zipfiles.
...
Patch by Serhiy Storchaka.
This also moves the TypeError that results from trying to use a unicode
comment from the 'close' step to the point at which the comment is added to
the zipfile.
2012-04-12 18:44:42 -04:00
Charles-François Natali
5739e102dd
Issue #14557 : Fix extensions build on HP-UX. Patch by Adi Roiban.
2012-04-12 19:07:25 +02:00
Georg Brandl
a51497ab86
Merge 3.2.3 release clone.
2012-04-11 12:46:24 +02:00
Antoine Pitrou
126aef768d
Issue #8799 : Fix and improve the threading.Condition documentation.
2012-04-10 22:24:05 +02:00
Georg Brandl
470f33f50b
News entry for f91ecbc8bafc.
2012-04-10 19:27:27 +02:00
Antoine Pitrou
b0a9c66a49
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
Andrew Svetlov
1024541a0d
Issue #14496 : Fix wrong name in idlelib/tabbedpages.py.
...
Patch by Popa Claudiu.
2012-04-05 16:58:05 +03:00
Antoine Pitrou
6d20cba8d6
Issue #14482 : Raise a ValueError, not a NameError, when trying to create
...
a multiprocessing Client or Listener with an AF_UNIX type address under
Windows. Patch by Popa Claudiu.
2012-04-03 20:12:23 +02:00
Kristján Valur Jónsson
984dfa7eed
Issue #14471 : Fix a possible buffer overrun in the winreg module.
2012-04-02 15:23:29 +00:00
Benjamin Peterson
e900096dc4
prevent writing to stderr from messing up the exception state ( closes #14474 )
2012-04-02 11:15:17 -04:00
Antoine Pitrou
709176f10c
Issue #14151 : Raise a ValueError, not a NameError, when trying to create
...
a multiprocessing Client or Listener with an AF_PIPE type address under
non-Windows platforms. Patch by Popa Claudiu.
2012-04-01 17:19:09 +02:00
Antoine Pitrou
58bb82e7b4
Issue #13019 : Fix potential reference leaks in bytearray.extend().
...
Patch by Suman Saha.
2012-04-01 16:05:46 +02:00
Antoine Pitrou
70deb3de39
Issue #13872 : socket.detach() now marks the socket closed (as mirrored in the socket repr()).
...
Patch by Matt Joiner.
2012-04-01 01:00:17 +02:00
Antoine Pitrou
6211b88161
Issue #14437 : Fix building the _io module under Cygwin.
2012-03-31 23:50:31 +02:00
Antoine Pitrou
f70401e842
Issue #14406 : Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`.
...
Patch by Matt Joiner.
2012-03-31 20:23:30 +02:00
Andrew Svetlov
f3c297675d
update NEWS as Terry Reedy proposed
2012-03-31 14:10:10 +03:00
Andrew Svetlov
67ac079203
Issue #14409 : IDLE doesn't not execute commands from shell with default keybinding for <Return>.
...
Patch by Roger Serwy.
2012-03-29 19:01:28 +03:00
Giampaolo Rodola'
4a65b0a355
issue 10340 - forgot to update Misc/NEWS
2012-03-22 16:22:06 +01:00
Antoine Pitrou
0197ff97d0
Issue #14387 : Do not include accu.h from Python.h.
2012-03-22 14:38:16 +01:00
Benjamin Peterson
a4e4e35783
check by equality for __future__ not identity ( closes #14378 )
2012-03-22 08:19:04 -04:00
R David Murray
e112153727
#12757 : Make doctest skipping in -OO mode work with unittest/regrtest -v
2012-03-21 14:53:42 -04:00
Andrew Svetlov
0f71f44156
#3573 : idle now doesn't hungs if launched as: idle -e <directory>
...
Patch by Guilherme Polo.
2012-03-21 13:23:41 +02:00
Giampaolo Rodola'
7941736ddb
Fix issue #13694 : asynchronous connect in asyncore.dispatcher does not set addr.
2012-03-20 16:49:55 +01:00
Ross Lagerwall
71faefc37e
Issue #14359 : Only use O_CLOEXEC in _posixmodule.c if it is defined.
...
Based on patch from Hervé Coatanhay.
2012-03-19 06:08:43 +02:00
Gregory P. Smith
c809f98143
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:06:53 -07:00
Georg Brandl
3187749646
Merge 3.2.3rc2 from release clone.
2012-03-18 20:37:43 +01:00
Georg Brandl
1eb0f9de99
Post-release updates for 3.2.3rc2.
2012-03-18 08:36:53 +01:00
Georg Brandl
226af70a59
Bump to 3.2.3rc2.
2012-03-18 07:34:49 +01:00
Georg Brandl
5ab88177a4
Move MANIFEST parsing change to the right position.
2012-03-17 18:38:13 +01:00
R David Murray
eebe1112ff
#11686 : news entry.
2012-03-16 22:49:54 -04:00
Benjamin Peterson
16d84ac355
check to make sure the attribute is a string ( #14334 )
2012-03-16 09:32:59 -05:00
Senthil Kumaran
be3f851411
closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem
2012-03-16 01:13:50 -07:00
Senthil Kumaran
73277fe0eb
closes Issue #11199 : Fix the with urllib which hangs on particular ftp urls.
2012-03-15 13:26:12 -07:00
Georg Brandl
a5d729a7f7
Transplant from main repo d6c197edd99b: Fixes Issue #14234 : CVE-2012-0876: Randomize hashes of xml attributes
2012-03-15 08:31:00 +01:00
Gregory P. Smith
373c740924
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 14:41:00 -07:00
Gregory P. Smith
8e91cf6a5e
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 14:26:55 -07:00
R David Murray
9fd170e2d0
#14062 : fix BytesParser handling of linesep for Header objects
...
This also affected smtplib.SMTP.send_message, which calls BytesParser.
2012-03-14 14:05:03 -04:00
R David Murray
7441a7aedd
#14291 : if a header has non-ascii unicode, default to CTE using utf-8
...
In Python2, if a unicode string was assigned as the value of a header,
email would automatically CTE encode it using the UTF8 charset.
This capability was lost in the Python3 translation, and this patch
restores it.
Patch by Ali Ikinci, assisted by R. David Murray.
I also added a fix for the mailbox test that was depending (with a comment
that it was a bad idea to so depend) on non-ASCII causing message_from_string
to raise an error. It now uses support.patch to induce an error during
message serialization.
2012-03-14 02:59:51 -04:00
Martin v. Löwis
eb945a938d
Issue #5219 : Prevent event handler cascade in IDLE.
...
Patch by Roger Serwy.
2012-03-13 14:32:29 -07:00
Ned Deily
7ca97d5208
Issue #14184 : Increase the default stack size for secondary threads on
...
Mac OS X to prevent interpreter crashes when compiled on 10.7.
2012-03-13 11:18:18 -07:00
Michael Foord
e01c62cd6b
Fix unittest test discovery for Jython
2012-03-13 00:09:54 -07:00