Commit graph

4264 commits

Author SHA1 Message Date
Hirokazu Yamamoto
a4f90184dc Added NEWS for r72698. 2009-05-17 02:58:36 +00:00
Benjamin Peterson
0c3b4c6e70 typo 2009-05-16 23:34:19 +00:00
Benjamin Peterson
eb9fb2c495 update 2009-05-16 22:46:11 +00:00
Tarek Ziadé
cb76804b17 #6041: sdist and register now use the check command. No more duplicate code for metadata checking 2009-05-16 16:37:06 +00:00
Antoine Pitrou
775fd66d7b Issue #2116: Weak references and weak dictionaries now support copy()ing and deepcopy()ing. 2009-05-15 16:54:52 +00:00
Antoine Pitrou
52035a04ab Issue #1655: Make imaplib IPv6-capable. Patch by Derek Morr. 2009-05-15 11:50:29 +00:00
Antoine Pitrou
42b5bcf048 Issue #5918: Fix a crash in the parser module.
Patch by Amaury.
2009-05-14 21:48:09 +00:00
Antoine Pitrou
eed30d830b Issue #1664: Make nntplib IPv6-capable. Patch by Derek Morr.
(Unfortunately, nntplib doesn't have a test suite)
2009-05-14 21:22:08 +00:00
Tarek Ziadé
cbb4f9ef58 #6022 fixed test_get_outputs so it doesn't leaves a test file in the cwd 2009-05-14 20:14:13 +00:00
R. David Murray
996ba02602 Issue #4050: inspect.findsource/getsource now raise an IOError if the 'source'
file is a binary.  Patch by Brodie Rao, test by Daniel Diniz.
2009-05-13 17:14:11 +00:00
R. David Murray
525cffcd7e Move news item to correct section, remove spurious 'see below'
from docstring.
2009-05-13 13:07:14 +00:00
R. David Murray
a3ec697cbd Issue 5994: add docstrings to marshal. 2009-05-13 00:30:29 +00:00
Tarek Ziadé
972480d999 fixed #5977: distutils build_ext.get_outputs was not using the inplace option 2009-05-12 17:07:14 +00:00
Michael Foord
5471a77687 Add missing # to NEWS 2009-05-11 18:01:45 +00:00
Michael Foord
5d31e057c5 Adds a verbosity keyword argument to unittest.main plus a minor fix allowing you to specify test modules / classes
from the command line.

Closes issue 5995.

Michael Foord
2009-05-11 17:59:43 +00:00
Mark Dickinson
b1d45856c2 Issue #5981: Fix some float.fromhex bugs related to inf and nan handling. 2009-05-11 15:33:08 +00:00
Tarek Ziadé
d5d83424d2 fixed #5984 and improved test coverage 2009-05-10 10:12:08 +00:00
Vinay Sajip
f9b01fe692 Issue #5971: StreamHandler.handleError now swallows IOErrors which occur when trying to print a traceback. 2009-05-09 12:07:17 +00:00
Tarek Ziadé
812d77152e #5976: fixed distutils test_check_environ 2009-05-09 10:06:00 +00:00
Tarek Ziadé
e2be83def8 Fixed Issue 5900: distutils.command.build_ext - Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used 2009-05-09 08:28:53 +00:00
Jeffrey Yasskin
f7f858d141 Issue 5954, PyFrame_GetLineNumber:
Most uses of PyCode_Addr2Line
(http://www.google.com/codesearch?q=PyCode_Addr2Line) are just trying to get
the line number of a specified frame, but there's no way to do that directly.
Forcing people to go through the code object makes them know more about the
guts of the interpreter than they should need.

The remaining uses of PyCode_Addr2Line seem to be getting the line from a
traceback (for example,
http://www.google.com/codesearch/p?hl=en#u_9_nDrchrw/pygame-1.7.1release/src/base.c&q=PyCode_Addr2Line),
which is replaced by the tb_lineno field.  So we may be able to deprecate
PyCode_Addr2Line entirely for external use.
2009-05-08 22:23:21 +00:00
Jeffrey Yasskin
1aa4700234 PyCode_NewEmpty:
Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New
are trying to build an empty code object, usually to put it in a dummy frame
object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify
just the filename, function name, and first line number, instead of also
requiring lots of code internals.
2009-05-08 21:51:06 +00:00
Jeroen Ruigrok van der Werven
b87b33462c Update the Windows locale mapping with the ones introduced with Vista. 2009-05-08 14:11:23 +00:00
Tarek Ziadé
99f660af3f Fixed #5941: added ARFLAGS for the archiver command. 2009-05-07 21:20:34 +00:00
R. David Murray
d3bf34cd4b News item for Issue5955. 2009-05-07 16:29:19 +00:00
Walter Dörwald
726ba8e1c3 Add NEWS entry about issue #3739. 2009-05-06 14:32:35 +00:00
Thomas Heller
a57773e483 Fix Issue #4875: find_library can return directories instead of files
(on win32)
2009-05-05 18:55:47 +00:00
Eric Smith
a985a3aee4 Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. 2009-05-05 18:26:08 +00:00
Martin v. Löwis
588b54b646 Issue #5847: Remove -n switch on "Edit with IDLE" menu item. 2009-05-05 16:10:16 +00:00
Georg Brandl
4d4313d59d #5142: add module skipping feature to pdb. 2009-05-05 08:54:11 +00:00
Georg Brandl
e3869c41f2 Add a news entry for r72319. 2009-05-05 08:30:28 +00:00
R. David Murray
7ba8e1cbfd Fix issue 5890: (property subclass shadows __doc__ string) by inserting
the __doc__ into the subclass instance __dict__.  The fix refactors
property_copy to call property_init in such a way that the __doc__
logic is re-executed correctly when getter_doc is 1, thus simplifying
property_copy.
2009-05-04 22:16:24 +00:00
Antoine Pitrou
97377bf566 Issue #5692: In :class:zipfile.Zipfile, fix wrong path calculation when extracting a file to the root directory. 2009-05-04 21:17:17 +00:00
Antoine Pitrou
2aabce7348 Add Nick Barnes to ACKS. 2009-05-04 18:32:50 +00:00
Antoine Pitrou
653dece278 Issue #4426: The UTF-7 decoder was too strict and didn't accept some legal sequences.
Patch by Nick Barnes and Victor Stinner.
2009-05-04 18:32:32 +00:00
Hirokazu Yamamoto
406d7aaee7 Issue #5913: os.listdir() should fail for empty path on windows. 2009-05-04 05:28:39 +00:00
Gregory P. Smith
d02eedacab Issue #4751: For hashlib algorithms provided by OpenSSL, the Python
GIL is now released during computation on data lengths >= 2048 bytes.
2009-05-04 00:16:49 +00:00
Walter Dörwald
ed960ac404 Issue #5108: Handle %s like %S and %R in PyUnicode_FromFormatV(): Call
PyUnicode_DecodeUTF8() once, remember the result and output it in a second
step. This avoids problems with counting UTF-8 bytes that ignores the effect
of using the replace error handler in PyUnicode_DecodeUTF8().
2009-05-03 22:36:33 +00:00
Michael Foord
07ef487a96 2009-05-02 22:43:34 +00:00
Antoine Pitrou
7430989cda Isue #5084: unpickling now interns the attribute names of pickled objects,
saving memory and avoiding growth in size of subsequent pickles. Proposal
and original patch by Jake McGuire.
2009-05-02 21:13:23 +00:00
Antoine Pitrou
3fd4ea9dab Issue #5726: Make Modules/ld_so_aix return the actual exit code of the linker, rather than always exit successfully.
Patch by Floris Bruynooghe.
2009-05-01 21:16:14 +00:00
Antoine Pitrou
1fc0231a22 Issue #3002: shutil.copyfile() and shutil.copytree() now raise an
error when a named pipe is encountered, rather than blocking infinitely.
2009-05-01 20:55:35 +00:00
Gregory P. Smith
1d499265e0 Adds the ipaddr module to the standard library. Issue #3959.
Based off of subversion r69 from http://code.google.com/p/ipaddr-py/

This code is 2to3 safe, I'll merge it into py3k later this afternoon.
2009-05-01 19:59:52 +00:00
Eric Smith
9139cc6a3b Issue #1588: Add complex.__format__. 2009-04-30 00:58:58 +00:00
Mark Dickinson
92fcc9c991 Issue #5864: format(1234.5, '.4') gives misleading result
(Backport of r72109 from py3k.)
2009-04-29 20:41:00 +00:00
Matthias Klose
10cbe4886e - Issue #4587: Add configure option --with-dbmliborder=db1:db2:... to specify
the order that backends for the dbm extension are checked.
2009-04-29 17:18:19 +00:00
R. David Murray
25b4add5b0 Fix issue 2245. aifc now skips any chunk type it doesn't actually
process instead of throwing errors for anything not in an explicit
skip list.  This is per this spec: http://www.cnpbagwell.com/aiff-c.txt.
Spec reference and test sound file provided by Santiago Peresón, fix
based on patch by Hiroaki Kawai.
2009-04-29 13:17:37 +00:00
Tarek Ziadé
a1b91d944b Fixed #5874 : distutils.tests.test_config_cmd is not locale-sensitive anymore 2009-04-29 08:03:46 +00:00
Thomas Heller
90c61a2e09 Issue #4305: ctypes fails to build on mipsel-linux-gnu (detects mips
instead of mipsel)
2009-04-28 19:23:41 +00:00
Antoine Pitrou
e988e286b2 Issue #1734234: Massively speedup unicodedata.normalize() when the
string is already in normalized form, by performing a quick check beforehand.
Original patch by Rauli Ruohonen.
2009-04-27 21:53:26 +00:00