Gregory P. Smith
a36f8fefb0
- Issue #1857 : subprocess.Popen.poll gained an additional _deadstate keyword
...
argument in python 2.5, this broke code that subclassed Popen to include its
own poll method. Fixed my moving _deadstate to an _internal_poll method.
2008-08-04 00:13:29 +00:00
Lars Gustäbel
727bd0b687
Issue #3039 : Fix TarFileCompat.writestr() which always raised an
...
AttributeError since __slots__ were added to zipfile.ZipInfo in
r46967 two years ago.
Add a warning about the removal of TarFileCompat in Python 3.0.
2008-08-02 11:26:39 +00:00
Martin v. Löwis
aabf404ecc
Issue #799428 : Fix Tkinter.Misc._nametowidget to unwrap
...
Tcl command objects.
2008-08-02 07:20:25 +00:00
Martin v. Löwis
8dbf3649e2
Generate the PatternGrammar pickle during "make install".
...
Fixes part of #3131 .
2008-08-01 14:10:26 +00:00
Amaury Forgeot d'Arc
39fd672dfe
#3479 : unichr(2**32) used to return u'\x00'.
...
The argument was fetched in a long, but PyUnicode_FromOrdinal takes an int.
(why doesn't gcc issue a truncation warning in this case?)
2008-07-31 21:28:03 +00:00
Neal Norwitz
e7d8be80ba
Security patches from Apple: prevent int overflow when allocating memory
2008-07-31 17:17:14 +00:00
Amaury Forgeot d'Arc
246daedd11
#2542 : now that issubclass() may call arbitrary code,
...
make sure that PyErr_ExceptionMatches returns 0 when an exception occurs there.
2008-07-31 00:42:16 +00:00
Benjamin Peterson
01a24322ec
backport r65264
2008-07-28 23:35:27 +00:00
Mark Dickinson
fe84cce668
Issue #3449 : Update decimal module to use most recent specification
...
(v. 1.68) and tests (v. 2.58) from IBM.
2008-07-27 06:39:07 +00:00
Skip Montanaro
f9ac43f5d6
note robotparser bug fix.
2008-07-27 00:50:41 +00:00
Antoine Pitrou
92f8216ba1
add a NEWS entry
2008-07-25 22:22:08 +00:00
Antoine Pitrou
5fdfa3e36d
#3394 : zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix
2008-07-25 19:42:26 +00:00
Raymond Hettinger
8c664e8628
Issue 1592: Better error reporting for operations on closed shelves.
2008-07-25 18:43:33 +00:00
Georg Brandl
f9efabb6d2
3k-warn about parser's "ast" aliases.
2008-07-23 15:16:45 +00:00
Gregory P. Smith
0470bab697
Issue #2620 : Overflow checking when allocating or reallocating memory
...
was not always being done properly in some python types and extension
modules. PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
all been updated to perform better checks and places in the code that
would previously leak memory on the error path when such an allocation
failed have been fixed.
2008-07-22 04:46:32 +00:00
Amaury Forgeot d'Arc
e4921fec01
Issue2378: pdb would delete free variables when stepping into a class statement.
...
The problem was introduced by r53954, the correction is to restore the symmetry between
PyFrame_FastToLocals and PyFrame_LocalsToFast
2008-07-21 22:00:38 +00:00
Amaury Forgeot d'Arc
90d0717163
Increment version number in NEWS file, and move items that were added after 2.6b2.
...
(I thought there was a script to automate this kind of updates)
2008-07-21 21:36:24 +00:00
Gregory P. Smith
b90f4e8730
fix issue3120 - don't truncate handles on 64-bit Windows.
...
This is still messy, realistically PC/_subprocess.c should never cast pointers
to python numbers and back at all.
I don't have a 64-bit windows build environment because microsoft apparently
thinks that should cost money. Time to watch the buildbots. It builds and
passes tests on 32-bit windows.
2008-07-20 00:22:08 +00:00
Georg Brandl
278fc50c07
#3303 : fix crash with invalid Py_DECREF in strcoll().
2008-07-19 12:46:12 +00:00
Georg Brandl
6b41a8e156
#3302 : fix segfaults when passing None for arguments that can't
...
be NULL for the C functions.
2008-07-19 12:39:10 +00:00
Brett Cannon
1e8fba729e
Deprecate the sunaudio module for removal in Python 3.0. The sunau module can provide similar functionality.
2008-07-18 19:30:22 +00:00
Vinay Sajip
51e65192b0
Issue #3389 : Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
2008-07-18 09:01:10 +00:00
Jesse Noller
7fb9640d57
Fix issue 3395, update _debugInfo to be _debug_info
2008-07-17 21:01:05 +00:00
Eric Smith
d6c393ab2b
Backed out r65069, pending fixing it in Windows.
2008-07-17 19:49:47 +00:00
Eric Smith
454816d8bd
Issue 3382: Make '%F' and float.__format__('F') convert results to upper case.
2008-07-17 17:48:39 +00:00
Gregory P. Smith
db3409cec9
news note for r63052
2008-07-17 03:13:05 +00:00
Georg Brandl
3e483f643d
#3156 : fix consistency in what type bytearray methods accept as items.
...
Also rename confusing "item" parameters to "index".
2008-07-16 22:57:41 +00:00
Georg Brandl
a24869ada7
#3312 : fix two sqlite3 crashes.
2008-07-16 22:33:18 +00:00
Georg Brandl
86cbf81b47
#1608818 : errno can get set by every call to readdir().
2008-07-16 21:31:41 +00:00
Jesse Noller
13e9d582fd
Apply Amaury's patch to multiprocessing for issue 3125, removes the copy_reg and replaces it with ForkingPickler.register(), which should resolve the conflict with the global registry/ctypes
2008-07-16 14:32:36 +00:00
Mark Dickinson
64b7e501f4
Issue #3360 : Fix incorrect parsing of "020000000000.0".
2008-07-16 09:40:03 +00:00
Eric Smith
a5fa5a218d
Complete issue 3083: add alternate (#) formatting to bin, oct, hex in str.format().
2008-07-16 00:11:49 +00:00
Thomas Heller
880f529c04
Issue #3313 : Contrary to the man page, a failed dlopen() call does not
...
always set a dlerror() message.
2008-07-15 19:39:38 +00:00
Mark Dickinson
7103aa42c0
Issue #3008 : add instance method float.hex and class method float.fromhex
...
to convert floats to and from hexadecimal strings respectively.
2008-07-15 19:08:33 +00:00
Thomas Heller
2bad6577a1
NEWS entry for #issue 3258.
2008-07-15 17:19:50 +00:00
Nick Coghlan
6d6bd4436a
Add missing NEWS entry for r64962
2008-07-15 15:40:22 +00:00
Nick Coghlan
b028f50911
Fix issue 3221 by emitting a RuntimeWarning instead of raising SystemError when the parent module can't be found during an absolute import (likely due to non-PEP 361 aware code which sets a module level __package__ attribute)
2008-07-13 14:52:36 +00:00
Nick Coghlan
38469e2719
Make test.test_support.catch_warnings more robust as discussed on python-dev. Also add explicit tests for itto test_warnings.
2008-07-13 12:23:47 +00:00
Brett Cannon
3d0b9f095a
dummy_thread.acquire() would return None if no waitflag argument was given. It
...
should have returned True.
Fixes issue #3339 . Thanks, Henk Punt for the report and Andrii v. Mishkovskiyi
for attempting a patch.
2008-07-13 01:15:07 +00:00
Brett Cannon
feef51d988
Fix a minor typo in the last entry made.
2008-07-11 00:50:01 +00:00
Brett Cannon
963ffdb9c9
Doc that robotparse has been renamed urllib.robotparser in Python 3.0.
2008-07-11 00:48:57 +00:00
Brett Cannon
f6afa334b9
Doc that urlparse is named urllib.parse in Python 3.0.
2008-07-11 00:16:30 +00:00
Brett Cannon
97aa1aeebd
Document the fact that urllib2 spans multiple modules with new names in Python
...
3.0.
2008-07-11 00:12:52 +00:00
Brett Cannon
ea40c587d8
Removal an invalid entry as the fixer for urllib is under active development.
2008-07-11 00:10:49 +00:00
Andrew M. Kuchling
cc3f2b1d16
Wording changes
2008-07-10 14:43:31 +00:00
Raymond Hettinger
b01713e7dc
Issue 3285: Fractions from_float() and from_decimal() accept Integral arguments.
2008-07-10 14:34:57 +00:00
Raymond Hettinger
3cd1e42dca
Issue 3301: Bisect functions behaved badly when lo was negative.
2008-07-10 14:03:19 +00:00
Nick Coghlan
14ff99432d
Add missing NEWS and ACK entries for r64791
2008-07-08 14:21:42 +00:00
Gregory P. Smith
c4691ec0bf
- Issue #3094 : httplib.HTTPSConnection Host: headers no longer include the
...
redundant ":443" port number designation when the connection is using the
default https port (443).
2008-07-07 05:09:12 +00:00
Gregory P. Smith
3b1e6b2f83
- Issue #3309 : Fix bz2.BZFile itererator to release its internal lock
...
properly when raising an exception due to the bz2file being closed.
Prevents a deadlock.
2008-07-07 04:31:58 +00:00
Amaury Forgeot d'Arc
0f7cddc308
Issue839496: SimpleHTTPServer should open all files in binary mode.
...
Forward-port of 38255 (2005/01/15!)
This was already fixed in 2.4, but never merged into trunk...
py3k is already right, thanks to the bytes/str distinction!
Should be backported to 2.5.
2008-07-06 21:34:39 +00:00
Gregory P. Smith
f41406409e
- Issue #2113 : Fix error in subprocess.Popen if the select system call is
...
interrupted by a signal.
2008-07-06 07:16:40 +00:00
Gregory P. Smith
2fe77060eb
- Issue #2862 : Make int and float freelist management consistent with other
...
freelists. Changes their CompactFreeList apis into ClearFreeList apis and
calls them via gc.collect().
2008-07-06 03:35:58 +00:00
Georg Brandl
e78fbcce3e
#2663 : support an *ignore* argument to shutil.copytree(). Patch by Tarek Ziade.
...
This is a new feature, but Barry authorized adding it in the beta period.
2008-07-05 10:13:36 +00:00
Martin v. Löwis
8c43641271
Patch #1622 : Correct interpretation of various ZIP header fields.
...
Also fixes
- Issue #1526 : Allow more than 64k files to be added to Zip64 file.
- Issue #1746 : Correct handling of zipfile archive comments (previously
archives with comments over 4k were flagged as invalid). Allow writing
Zip files with archives by setting the 'comment' attribute of a ZipFile.
2008-07-03 12:51:14 +00:00
Facundo Batista
66c527755d
Issue #449227 : Now with the rlcompleter module, callable objects are
...
added a '(' when completed.
2008-07-02 16:52:55 +00:00
Nick Coghlan
c060b0e7eb
Issue 3190: pydoc now hides module __package__ attributes
2008-07-02 13:09:19 +00:00
Brett Cannon
8bb8fa5dd6
Handle urllib's renaming for Python 3.0:
...
* Deprecate urllib.urlopen() in favor of urllib2.urlopen() for 3.0.
* Update docs to mention split/rename of the module and deprecation of
urlopen().
Changes to lib2to3 are in a separate commit. Work is for issue #2885 .
2008-07-02 01:57:08 +00:00
Amaury Forgeot d'Arc
bdd941fac3
#3242 : fix a crash in "print", if sys.stdout is set to a custom object,
...
whose write() method installs another sys.stdout.
Will backport.
2008-07-01 20:38:04 +00:00
Benjamin Peterson
175e4d9663
#3219 repeated keyword arguments aren't allowed in function calls anymore
2008-07-01 19:34:52 +00:00
Amaury Forgeot d'Arc
1f40c8a8d7
#Issue3088 in-progress: Race condition with instances of classes derived from threading.local:
...
When a thread touches such an object for the first time, a new thread-local __dict__ is created,
and the __init__ method is run.
But a thread switch can occur here; if the other thread touches the same object, it installs another
__dict__; when the first thread resumes, it updates the dictionary of the second...
This is the deep cause of the failures in test_multiprocessing involving "managers" objects.
Also a 2.5 backport candidate.
2008-06-30 22:42:40 +00:00
Martin v. Löwis
d84fd9599d
Issue #3215 : Build sqlite3 as sqlite3.dll, not sqlite3.pyd
2008-06-30 06:57:39 +00:00
Vinay Sajip
1e022689b7
Updated to reflect change in logging.config to remove out-of-date comment in _install_handlers and the use of issubclass in place of equality comparison of classes.
2008-06-29 21:27:15 +00:00
Brett Cannon
dea1b5653f
warnings.warn_explicit() did not have the proper TypeErrors in place to prevent
...
bus errors or SystemError being raised. As a side effect of fixing this, a bad
DECREF that could be triggered when 'message' and 'category' were both None was
fixed.
Closes issue 3211. Thanks JP Calderone for the bug report.
2008-06-27 00:31:13 +00:00
Raymond Hettinger
9c437af4eb
Revert 64424, 64438, and 64439.
2008-06-24 22:46:07 +00:00
Andrew M. Kuchling
2126bab8f0
Wording fix
2008-06-22 13:39:11 +00:00
Facundo Batista
5596b0cfc2
Issue #2722 . Now the char buffer to support the path string has
...
not fixed length, it mallocs memory if needed. As a result, we
don't have a maximum for the getcwd() method.
2008-06-22 13:36:20 +00:00
Facundo Batista
a6a4d50efe
Now a from submitted via POST that also has a query string
...
will contain both FieldStorage and MiniFieldStorage items.
Fixes #1817 .
2008-06-21 18:58:04 +00:00
Facundo Batista
2da91c375b
Fixed issue #2888 . Now the behaviour of pprint when working with nested
...
structures follows the common sense (and works like in 2.5 and 3.0).
2008-06-21 17:43:56 +00:00
Raymond Hettinger
e0e711446b
Issue 3008: hex/oct/bin can show floats exactly.
2008-06-21 06:39:53 +00:00
Mark Dickinson
1ec2fcd16e
Issue #3004 : Minor fix to slice.indices(). slice(-10).indices(9) now
...
returns (0, 0, 1) instead of (0, -1, 1), and slice(None, 10, -1).indices(10)
returns (9, 9, -1) instead of (9, 10, -1).
2008-06-20 14:53:43 +00:00
Raymond Hettinger
e3ae655edf
Make bin() implementation parallel oct() and hex() so that int/long subclasses can override or so that other classes can support.
2008-06-20 04:18:15 +00:00
Vinay Sajip
8dc20fd7ed
Updated with fix for #3136 .
2008-06-19 22:41:08 +00:00
Barry Warsaw
b5d174037f
Bumping to 2.6b1
2008-06-19 01:48:07 +00:00
Vinay Sajip
9828b7ea08
Updated with fix for #3126 .
2008-06-17 11:04:02 +00:00
Amaury Forgeot d'Arc
a8919fe631
Issue 3110: Crash with weakref subclass,
...
seen after a "import multiprocessing.reduction"
An instance of a weakref subclass can have attributes.
If such a weakref holds the only strong reference to the object,
deleting the weakref will delete the object. In this case,
the callback must not be called, because the ref object is being deleted!
2008-06-16 19:12:42 +00:00
Raymond Hettinger
305480c9dc
Issue 3116: fix quadratic behavior in marshal.dumps().
2008-06-16 01:42:40 +00:00
Martin v. Löwis
cc0f2b20c5
Switch to SQLite 3.5.9.
2008-06-13 18:12:51 +00:00
Martin v. Löwis
a4514c3009
Switch to bzip2 1.0.5.
2008-06-13 17:22:39 +00:00
Benjamin Peterson
5c0be328c1
platform.uname now tries to fill empty values even when os.uname is present
2008-06-13 15:11:50 +00:00
Benjamin Peterson
26305a03e3
add py3k warnings to rfc822
2008-06-12 22:33:06 +00:00
Martin v. Löwis
7630731af0
Switch to Tcl/Tk 8.5.
2008-06-12 18:52:00 +00:00
Benjamin Peterson
a03722f278
deprecated mimetools
2008-06-12 14:23:49 +00:00
Georg Brandl
5cc774e232
Can we agree to put dots at entry ends? Thanks.
2008-06-11 20:28:06 +00:00
Benjamin Peterson
6f7ae6945f
update ACKS and NEWs for multiprocessing
2008-06-11 20:04:30 +00:00
Georg Brandl
89f48876a2
Add future_builtins.ascii().
2008-06-11 18:55:38 +00:00
Benjamin Peterson
f439560265
add aliases to threading module
2008-06-11 17:50:00 +00:00
Benjamin Peterson
0fbcf69455
give the threading API PEP 8 names
2008-06-11 17:27:50 +00:00
Raymond Hettinger
4267be6478
Multi-arg form for set.difference() and set.difference_update().
2008-06-11 10:30:54 +00:00
Gregory P. Smith
9d53457e59
Merge in release25-maint r60793:
...
Added checks for integer overflows, contributed by Google. Some are
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
2008-06-11 07:41:16 +00:00
Thomas Heller
1cec7aa7c7
NEWS entry for:
...
Add an optional 'offset' parameter to byref, defaulting to zero.
2008-06-10 14:07:12 +00:00
Georg Brandl
8509db5a21
Add the "ast" module, containing helpers to ease use of the "_ast" classes.
2008-06-10 07:45:28 +00:00
Raymond Hettinger
5c4d3d0e4c
Let set.intersection() and set.intersection_update() take multiple input arguments.
2008-06-09 13:07:27 +00:00
Raymond Hettinger
ee4bcad68e
Let set.union() and set.update() accept multiple inputs.
2008-06-09 08:33:37 +00:00
Raymond Hettinger
ecbdd2e9b0
Issue #2138 : Add math.factorial().
2008-06-09 06:54:45 +00:00
Georg Brandl
7be19aabe2
Factor out docstring dedenting from inspect.getdoc() into inspect.cleandoc()
...
to ease standalone use of the algorithm.
2008-06-07 15:59:10 +00:00
Thomas Heller
fbb9c0bf3c
Issue #1798 : Add ctypes calling convention that allows safe access of errno.
...
ctypes maintains thread-local storage that has space for two error
numbers: private copies of the system 'errno' value and, on Windows,
the system error code accessed by the GetLastError() and
SetLastError() api functions.
Foreign functions created with CDLL(..., use_errno=True), when called,
swap the system 'errno' value with the private copy just before the
actual function call, and swapped again immediately afterwards. The
'use_errno' parameter defaults to False, in this case 'ctypes_errno'
is not touched.
On Windows, foreign functions created with CDLL(...,
use_last_error=True) or WinDLL(..., use_last_error=True) swap the
system LastError value with the ctypes private copy.
The values are also swapped immeditately before and after ctypes
callback functions are called, if the callbacks are constructed using
the new optional use_errno parameter set to True: CFUNCTYPE(...,
use_errno=TRUE) or WINFUNCTYPE(..., use_errno=True).
New ctypes functions are provided to access the ctypes private copies
from Python:
- ctypes.set_errno(value) and ctypes.set_last_error(value) store
'value' in the private copy and returns the previous value.
- ctypes.get_errno() and ctypes.get_last_error() returns the current
ctypes private copies value.
2008-06-06 08:33:46 +00:00
Thomas Heller
59475e9739
Backport from py3k: Implement the new buffer interface from pep3118
...
for ctypes instances. Closes issue #2404 .
2008-06-05 17:52:59 +00:00
Ronald Oussoren
5640ce2f1e
MacOS X: Enable 4-way universal builds
...
This patch adds a new configure argument on OSX:
--with-universal-archs=[32-bit|64-bit|all]
When used with the --enable-universalsdk option this controls which
CPU architectures are includes in the framework. The default is 32-bit,
meaning i386 and ppc. The most useful alternative is 'all', which includes
all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).
This includes limited support for the Carbon bindings in 64-bit mode as well,
limited because (a) I haven't done extensive testing and (b) a large portion
of the Carbon API's aren't available in 64-bit mode anyway.
I've also duplicated a feature of Apple's build of python: setting the
environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
extensions using distutils.
2008-06-05 12:58:24 +00:00
Thomas Heller
d5bb9215c9
Revert revisions 63943 and 63942 (Issue #1798 : Add ctypes calling
...
convention that allows safe access to errno)
This code does not yet work on OS X (__thread storage specifier not
available), so i needs a configure check plus a more portable
solution.
2008-06-04 20:22:05 +00:00
Thomas Heller
e70c3378c0
Issue #1798 : Add ctypes calling convention that allows safe access to
...
errno (and LastError, on Windows).
ctypes maintains a module-global, but thread-local, variable that
contains an error number; called 'ctypes_errno' for this discussion.
This variable is a private copy of the systems 'errno' value; the copy
is swapped with the 'errno' variable on several occasions.
Foreign functions created with CDLL(..., use_errno=True), when called,
swap the values just before the actual function call, and swapped
again immediately afterwards. The 'use_errno' parameter defaults to
False, in this case 'ctypes_errno' is not touched.
The values are also swapped immeditately before and after ctypes
callback functions are called, if the callbacks are constructed using
the new optional use_errno parameter set to True: CFUNCTYPE(..., use_errno=TRUE)
or WINFUNCTYPE(..., use_errno=True).
Two new ctypes functions are provided to access the 'ctypes_errno'
value from Python:
- ctypes.set_errno(value) sets ctypes_errno to 'value', the previous
ctypes_errno value is returned.
- ctypes.get_errno() returns the current ctypes_errno value.
---
On Windows, the same scheme is implemented for the error value which
is managed by the GetLastError() and SetLastError() windows api calls.
The ctypes functions are 'ctypes.set_last_error(value)' and
'ctypes.get_last_error()', the CDLL and WinDLL optional parameter is
named 'use_last_error', defaults to False.
---
On Windows, TlsSetValue and TlsGetValue calls are used to provide
thread local storage for the variables; ctypes compiled with __GNUC__
uses __thread variables.
2008-06-04 18:59:03 +00:00
Martin v. Löwis
ffe62ed46d
Patch #2125 : Add GetInteger and GetString methods for
...
msilib.Record objects.
2008-06-02 08:40:06 +00:00
Gregory P. Smith
137d824148
Fix issue 2782: be less strict about the format string type in strftime.
...
Accept unicode and anything else ParseTuple "s#" can deal with. This
matches the time.strftime behavior.
2008-06-02 04:05:52 +00:00
Gregory P. Smith
8856ddae25
Adds a Thread.getIdent() method to provide the _get_ident() value for
...
any given threading.Thread object. feature request issue 2871.
2008-06-01 23:48:47 +00:00
Georg Brandl
ac19d85e04
Deprecate htmllib and sgmllib for 3.0.
2008-06-01 21:19:14 +00:00
Robert Schuppenies
51df064767
Issue #2898 : Added sys.getsizeof() to retrieve size of objects in bytes.
2008-06-01 16:16:17 +00:00
Martin v. Löwis
99815892f6
New environment variable PYTHONIOENCODING.
2008-06-01 07:20:46 +00:00
Raymond Hettinger
6d7702ecd1
Implement heapq in terms of less-than (to match list.sort()).
2008-05-31 03:24:31 +00:00
Marc-André Lemburg
adff65bc3e
Update the locale module alias table.
...
Closes #3011 .
2008-05-30 20:52:18 +00:00
Thomas Heller
9287acf83d
ctypes NULL function pointers have a boolean False value now.
2008-05-29 19:42:34 +00:00
Georg Brandl
d0b592f8e8
#2985 : allow i8 in XMLRPC responses.
2008-05-29 07:45:26 +00:00
Brett Cannon
abb34fe9f3
UserString.MutableString has been removed in Python 3.0.
...
Works on issue #2877 . Thanks Quentin Gallet-Gilles for the patch.
2008-05-29 05:08:50 +00:00
Georg Brandl
74a1deaab3
#2989 : add PyType_Modified().
2008-05-28 11:21:39 +00:00
Lars Gustäbel
b1a54a3530
Do not close external file objects passed to tarfile.open(mode='w:bz2')
...
when the TarFile is closed.
2008-05-27 12:39:23 +00:00
Benjamin Peterson
dacde0d6ae
turn PyErr_WarnPy3k into a macro
2008-05-26 17:43:53 +00:00
Christian Heimes
7a9906162b
Updated NEWS
2008-05-26 13:15:11 +00:00
Gregory P. Smith
5d7d6c37c2
note about r63617
2008-05-25 08:32:04 +00:00
Georg Brandl
e08e3d0686
#2959 : allow multiple close() calls for GzipFile.
2008-05-25 08:07:37 +00:00
Georg Brandl
392c6fc02d
ConfigParser renaming reversal part 3: move module into place and adapt imports.
2008-05-25 07:25:25 +00:00
Georg Brandl
e152a77d96
socketserver renaming reversal part 3: move the module into the right
...
place and fix all references to it. Closes #2926 .
2008-05-24 18:31:28 +00:00
Martin v. Löwis
27e4a179f2
Issue #1390 : Raise ValueError in toxml when an invalid comment would
...
otherwise be produced.
2008-05-23 15:18:28 +00:00
Martin v. Löwis
8c255e4173
Patch #1722225 : Support QNX 6.
2008-05-23 15:06:50 +00:00
Brett Cannon
2ee0e8eaec
Revert the renaming of repr to reprlib.
2008-05-23 05:03:59 +00:00
Mark Dickinson
99dfe92759
Issue #2819 : Add math.sum, a function that sums a sequence of floats
...
efficiently but with no intermediate loss of precision. Based on
Raymond Hettinger's ASPN recipe. Thanks Jean Brouwers for the patch.
2008-05-23 01:35:30 +00:00
Jesus Cea
ca3939cd52
bsddb module updated to version 4.7.0
2008-05-22 15:27:38 +00:00
Vinay Sajip
c01288387c
Updated with fixes for #2914 and #2929 .
2008-05-20 15:37:22 +00:00
Georg Brandl
88659b0ab2
#2592 : delegate nb_index and the floor/truediv slots in weakref.proxy.
2008-05-20 08:40:43 +00:00
Georg Brandl
112aa50329
Patch #1775025 : allow opening zipfile members via ZipInfo instances.
...
Patch by Graham Horler.
2008-05-20 08:25:48 +00:00
Martin v. Löwis
4dd019fde3
Patch #2488 : Add sys.maxsize.
2008-05-20 08:11:19 +00:00
Georg Brandl
6634bf2919
Tkinter rename reversal: remove tkinter package, adapt imports and docs.
2008-05-20 07:13:37 +00:00
Fred Drake
d995e1150c
revert creation of the html.entities and html.parser modules
...
(http://bugs.python.org/issue2882 )
2008-05-20 06:08:38 +00:00
Georg Brandl
a9916b55de
#2353 : raise Py3k warning in file.xreadlines().
2008-05-17 22:11:54 +00:00
Fred Drake
91ae250273
rename HTMLParser to html.parser, htmlentitydefs to html.entities
...
(http://bugs.python.org/issue2882 )
2008-05-17 20:30:04 +00:00
Georg Brandl
3ee81df3bb
Rewrap consistently to 70 chars, and standardize the way of referring to issues.
2008-05-17 18:14:43 +00:00
Georg Brandl
28fdfa9839
#961805 : fix Edit.text_modified().
2008-05-17 17:57:01 +00:00
Gregory P. Smith
664782e1c8
issue2858: Fix potential memory corruption when bsddb.db.DBEnv.lock_get
...
and other bsddb.db object constructors raised an exception.
Debugging & patch by Neal Norowitz.
2008-05-17 06:12:02 +00:00
Thomas Heller
95ba13fa85
Issue 1793: Add ctypes.util.find_msvcrt() function (on Windows).
2008-05-16 20:06:31 +00:00
Georg Brandl
5e7b1c07bc
NEWS entry for Tkinter rename.
2008-05-16 17:40:23 +00:00
Georg Brandl
5049a858ba
#2890 : support os.O_ASYNC and fcntl.FASYNC.
2008-05-16 13:10:15 +00:00
Christian Heimes
0bd23c0a98
Fixed #2870 : cmathmodule.c compile error
2008-05-16 10:23:31 +00:00
Alexandre Vassalotti
95d97c7390
Renamed the repr module to reprlib.
...
Added stub module for repr.
2008-05-16 06:37:57 +00:00
Brett Cannon
fa40bbf625
Deprecated statvfs for removal in 3.0.
2008-05-16 00:50:02 +00:00
Brett Cannon
2224817cdf
Deprecate sunaudiodev/SUNAUDIODEV for removal in 3.0.
2008-05-16 00:10:24 +00:00
Georg Brandl
c91210c06b
#2863 : add gen.__name__ and add this name to generator repr().
2008-05-15 15:08:32 +00:00
Brett Cannon
74a596c068
Deprecate WAIT for removal in 3.0.
2008-05-15 04:17:35 +00:00
Brett Cannon
f56b6aeb06
Deprecated torgb for removal in 3.0.
2008-05-15 04:15:25 +00:00
Brett Cannon
518c5da219
Deprecate SV for removal in 3.0.
2008-05-15 04:13:19 +00:00
Brett Cannon
cd2de08257
Deprecate readcd for removal in 3.0.
2008-05-15 03:51:21 +00:00
Brett Cannon
11ae6e7151
Deprecated panelparser for removal in 3.0.
2008-05-15 03:49:00 +00:00
Brett Cannon
7e37586c50
The panel module for IRIX has been deprecated for removal in 3.0.
2008-05-15 03:46:27 +00:00
Brett Cannon
89f5d9cc81
Deprecate jpeg for IRIX for removal in 3.0.
2008-05-15 03:44:00 +00:00
Brett Cannon
d8c41ecc17
Deprecate IOCTL from IRIX for removal in 3.0.
2008-05-15 03:41:55 +00:00
Brett Cannon
6328b297dc
Deprecate IN from IRIX for removal in 3.0.
2008-05-15 03:36:13 +00:00
Brett Cannon
4652537ba4
Deprecate imgfile for removal in 3.0.
2008-05-15 03:32:11 +00:00
Brett Cannon
707e384a7a
Deprecate GLWS from IRIX for removal in 3.0.
2008-05-15 03:29:18 +00:00
Brett Cannon
82bd94e651
Deprecate GET from IRIX for removal in 3.0.
2008-05-15 03:27:12 +00:00
Brett Cannon
75ba465099
Deprecated 'fm' for removal in 3.0.
2008-05-15 03:23:17 +00:00
Brett Cannon
178582e2a4
FL, flp, and fl from IRIX have been deprecated for removal in 3.0.
2008-05-15 03:20:36 +00:00
Brett Cannon
72ccc40db5
FILE from IRIX has been deprecated for removal in 3.0.
2008-05-15 03:17:24 +00:00
Brett Cannon
2773b6f1c9
Deprecate ERRNO for removal in 3.0.
2008-05-15 03:14:57 +00:00
Brett Cannon
044616aa24
Deprecate DEVICE, GL, gl, and the related modules cgen and cgensupport for removal in 3.0.
2008-05-15 02:33:55 +00:00
Alexandre Vassalotti
e3a23c0734
Renamed the ConfigParser module to 'configparser'.
2008-05-14 22:07:07 +00:00
Brett Cannon
650f5161f4
Deprecate CL, CL_old, and cl for 3.0.
2008-05-14 21:12:12 +00:00
Brett Cannon
54c77aa459
Deprecate the cdplayer module for IRIX for 3.0.
2008-05-14 21:08:41 +00:00
Brett Cannon
9eebe49d07
The cddb module for IRIX has been deprecated for 3.0.
2008-05-14 20:34:22 +00:00
Brett Cannon
ddf949f194
The CD and cd modules for IRIX are deprecated for 3.0.
2008-05-14 20:31:38 +00:00
Georg Brandl
bd85eb1167
Add NEWS entry for #2831 .
2008-05-14 06:34:15 +00:00
Brett Cannon
34721d5683
Deprecate al/AL for removal in 3.0.
2008-05-14 01:08:21 +00:00
Jesus Cea
ef9764f1a4
bsddb module updated to version 4.6.4
2008-05-13 18:45:46 +00:00
Benjamin Peterson
236819310d
Add warnings to and deprecated all those Mac modules
2008-05-12 21:42:13 +00:00
Amaury Forgeot d'Arc
f9b54c2411
Sync code with documentation, and remove Win95 support in winsound module.
2008-05-12 21:30:24 +00:00
Georg Brandl
23da6e6545
#1713041 : fix pprint's handling of maximum depth.
2008-05-12 16:26:52 +00:00
Brett Cannon
bb141bb1f4
Deprecate the timing module for removal in Python 3.0.
2008-05-12 03:47:47 +00:00
Brett Cannon
ac861b5a17
Deprecate the sv module as per PEP 4.
2008-05-12 03:45:59 +00:00
Brett Cannon
43e5ef49b1
Deprecate the multifile module as per PEP 4.
2008-05-12 03:19:20 +00:00
Alexandre Vassalotti
fb9ce65a91
Renamed SocketServer to 'socketserver'.
...
Deprecated old name.
2008-05-12 01:37:10 +00:00
Benjamin Peterson
b9030f4f0d
#2196 hasattr now allows SystemExit and KeyboardInterrupt to propagate
2008-05-12 00:41:23 +00:00
Brett Cannon
42bfa90f02
Depreate imageop for removal in 3.0.
2008-05-12 00:08:34 +00:00
Brett Cannon
b61d801adb
Put Lib/lib-old back on to sys.path for module renames.
2008-05-11 23:39:04 +00:00
Georg Brandl
627a666db0
- #2250 : Exceptions raised during evaluation of names in rlcompleter's
...
``Completer.complete()`` method are now caught and ignored.
2008-05-11 21:03:42 +00:00
Georg Brandl
9020ff88e6
Add some sentence endings.
2008-05-11 14:17:13 +00:00
Benjamin Peterson
98353941ea
Add the "until" command to pdb
2008-05-11 14:13:25 +00:00
Andrew M. Kuchling
aac5c8669f
#1858 : re-apply patch for this, adding the missing files
2008-05-11 14:00:00 +00:00
Georg Brandl
6f95ae55b1
#2659 : add ``break_on_hyphens`` to TextWrapper.
2008-05-11 10:42:28 +00:00
Brett Cannon
2a86913864
Deprecated the mhlib module for removal in 3.0.
2008-05-11 03:01:47 +00:00
Brett Cannon
df0a717037
The linuxaudidev module has been deprecated for removal in Python 3.0.
2008-05-11 00:50:51 +00:00
Brett Cannon
27508d4eb9
Deprecate ihooks for removal in 3.0.
2008-05-10 22:45:07 +00:00
Brett Cannon
fe5985188d
Deprecate the fpformat module for removal in 3.0.
2008-05-10 22:11:45 +00:00
Brett Cannon
e35a3a1d6b
Add an entry for the deprecation of the dl module.
2008-05-10 21:22:43 +00:00
Brett Cannon
10f5db6424
Revert r62998 as it broke the build (seems distutils.config is missing).
2008-05-10 20:52:01 +00:00
Andrew M. Kuchling
cd8001c8ed
#1858 from Tarek Ziade:
...
Allow multiple repositories in .pypirc; see http://wiki.python.org/moin/EnhancedPyPI
for discussion.
The patch is slightly revised from Tarek's last patch: I've simplified
the PyPIRCCommand.finalize_options() method to not look at sys.argv.
Tests still pass.
2008-05-10 19:51:55 +00:00
Brett Cannon
d5a0985265
The Canvas module has been deprecated for removal in 3.0.
2008-05-10 03:14:32 +00:00
Brett Cannon
6192df10b6
Deprecate the compiler package for removal in 3.0.
2008-05-10 02:58:26 +00:00
Brett Cannon
cda73a4b4e
Add an entry on the deprecation of Bastion and rexec.
2008-05-10 02:53:46 +00:00
Brett Cannon
768d44f54d
Deprecate the bsddb185 module for removal in 3.0.
2008-05-10 02:47:54 +00:00
Brett Cannon
9ac3974de8
Deprecate the pure module for 3.0.
2008-05-09 22:51:58 +00:00
Mark Dickinson
f8476c1573
Issue #2487 . math.ldexp(x, n) raised OverflowError when n was large and
...
negative; fix to return an (appropriately signed) zero instead.
2008-05-09 17:54:23 +00:00
Mark Dickinson
e81c376080
Issue #2801 : fix bug in float.is_integer where ValueError
...
could be incorrectly raised. This is a backport of the
Py3k fix in r62939. (Should really have been fixed
in the trunk first and svnmerged into py3k.)
2008-05-09 16:14:15 +00:00
Brett Cannon
fa24d9a71c
Deprecate the toaiff module for removal in 3.0.
2008-05-09 05:32:42 +00:00
Brett Cannon
3c75914434
Deprecate test.testall for removal in 3.0.
2008-05-09 05:25:37 +00:00