Martin v. Löwis
0a2032673c
Bug #1600860 : Search for shared python library in LIBDIR, not
...
lib/python/config, on "linux" and "gnu" systems.
Will backport.
2007-02-09 12:36:48 +00:00
Martin v. Löwis
fd963265e2
Bug #1653736 : Properly discard third argument to slot_nb_inplace_power.
...
Will backport.
2007-02-09 12:19:32 +00:00
Martin v. Löwis
4c11a92625
Bug #1653736 : Complain about keyword arguments to time.isoformat.
...
Will backport to 2.5.
2007-02-08 09:13:36 +00:00
Lars Gustäbel
3f8aca1164
Patch #1652681 : create nonexistent files in append mode and
...
allow appending to empty files.
2007-02-06 18:38:13 +00:00
Peter Astrand
5f9c6ae545
Applied patch 1124861.3.patch to solve bug #1124861 : Automatically create pipes on Windows, if GetStdHandle fails. Will backport.
2007-02-06 15:37:50 +00:00
Brett Cannon
129bd52146
No more raising of string exceptions!
...
The next step of PEP 352 (for 2.6) causes raising a string exception to trigger
a TypeError. Trying to catch a string exception raises a DeprecationWarning.
References to string exceptions has been removed from the docs since they are
now just an error.
2007-01-30 21:34:36 +00:00
Brett Cannon
e05e6b0032
Add a test for slicing an exception.
2007-01-29 04:41:44 +00:00
Georg Brandl
4ba9e5bdc7
Patch #1634778 : add missing encoding aliases for iso8859_15 and
...
iso8859_16.
2007-01-27 17:59:42 +00:00
Georg Brandl
ab49684f55
Patch #1638243 : the compiler package is now able to correctly compile
...
a with statement; previously, executing code containing a with statement
compiled by the compiler package crashed the interpreter.
2007-01-27 17:43:02 +00:00
Brett Cannon
07e1db317d
Fix time.strptime's %U support. Basically rewrote the algorithm to be more
...
generic so that one only has to shift certain values based on whether the week
was specified to start on Monday or Sunday. Cut out a lot of edge case code
compared to the previous version. Also broke algorithm out into its own
function (that is private to the module).
Fixes bug #1643943 (thanks Biran Nahas for the report).
2007-01-25 20:22:02 +00:00
Thomas Heller
4378215474
Fix for #1643874 : When calling SysAllocString, create a PyCObject
...
which will eventually call SysFreeString to free the BSTR resource.
2007-01-25 18:34:14 +00:00
Brett Cannon
f5bee30e30
Fix crasher for when an object's __del__ creates a new weakref to itself.
...
Patch only fixes new-style classes; classic classes still buggy.
Closes bug #1377858 . Already backported.
2007-01-23 23:21:22 +00:00
Martin v. Löwis
6c5c502b91
Make PyTraceBack_Here use the current thread, not the
...
frame's thread state. Fixes #1579370 .
Will backport.
2007-01-23 21:11:47 +00:00
Thomas Wouters
6ed1965308
Add news entry about last checkin (oops.)
2007-01-23 13:50:49 +00:00
Lars Gustäbel
d2e22903d3
Patch #1507247 : tarfile.py: use current umask for intermediate
...
directories.
2007-01-23 11:17:33 +00:00
Georg Brandl
dd7b0525e9
Patch #1627441 : close sockets properly in urllib2.
2007-01-21 10:35:10 +00:00
Georg Brandl
b84c13792d
Bug #1486663 : don't reject keyword arguments for subclasses of builtin
...
types.
2007-01-21 10:28:43 +00:00
Martin v. Löwis
aef4c6bc00
Patch #1610575 : Add support for _Bool to struct.
2007-01-21 09:33:07 +00:00
Martin v. Löwis
4885e7d098
Prefix AST symbols with _Py_. Fixes #1637022 .
...
Will backport.
2007-01-19 06:42:22 +00:00
Georg Brandl
b26b1c6d6b
Bug #1629125 : fix wrong data type (int -> Py_ssize_t) in PyDict_Next docs.
2007-01-17 21:19:58 +00:00
Sjoerd Mullender
33a0a06d31
Fixed ntpath.expandvars to not replace references to non-existing
...
variables with nothing. Also added tests.
This fixes bug #494589 .
2007-01-16 16:42:38 +00:00
Marc-André Lemburg
fa3d08b4a9
Add news items for the recent pybench and platform changes.
2007-01-16 13:03:06 +00:00
Guido van Rossum
bb2cc698c1
Patch #1635058 by Mark Roberts: ensure that htonl and friends never accept or
...
return negative numbers, per the underlying C implementation.
2007-01-14 17:03:32 +00:00
Brett Cannon
093b67061a
Deprecate the sets module.
2007-01-13 00:29:49 +00:00
Thomas Heller
6fd4549bc6
patch #1610795 : BSD version of ctypes.util.find_library, by Martin
...
Kammerhofer.
2007-01-12 20:21:53 +00:00
Thomas Heller
8138c26a83
Fixes for 64-bit Windows: In ctypes.wintypes, correct the definitions
...
of HANDLE, WPARAM, LPARAM data types. Make parameterless foreign
function calls work.
2007-01-11 21:18:56 +00:00
Matthias Klose
a398e2d059
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092 ).
2007-01-11 11:44:04 +00:00
Thomas Heller
fb9d78733e
Change the ctypes version number to "1.1.0".
2007-01-10 20:12:13 +00:00
Vinay Sajip
ab41c109fa
Added entry about addition of _open() method to logging.FileHandler.
2007-01-09 14:51:36 +00:00
Vinay Sajip
c9137263d5
Added entries about removal of some bare except clauses from logging.
2007-01-08 18:52:36 +00:00
Neal Norwitz
72cd02c041
Prevent crash on shutdown which can occur if we are finalizing
...
and the module dict has been cleared already and some object
raises a warning (like in a __del__).
Will backport.
2007-01-05 05:25:22 +00:00
Gregory P. Smith
8b96a35d14
Support linking of the bsddb module against BerkeleyDB 4.5.x
...
(will backport to 2.5)
2007-01-05 01:59:42 +00:00
Martin v. Löwis
7b7c9d4208
Bug #1566280 : Explicitly invoke threading._shutdown from Py_Main,
...
to avoid relying on atexit.
Will backport to 2.5.
2007-01-04 21:06:12 +00:00
Brett Cannon
92d54d5e9c
Add EnvironmentVarGuard to test.test_support. Provides a context manager to
...
temporarily set or unset environment variables.
2007-01-04 00:23:49 +00:00
Lars Gustäbel
a7ba6fc548
Patch #1504073 : Fix tarfile.open() for mode "r" with a fileobj argument.
...
Will backport to 2.5.
2006-12-27 10:30:46 +00:00
Andrew M. Kuchling
7166232399
[Rest of patch #1182394 ] Add ._current() method so that we can use the written-in-C .hexdigest() method
2006-12-27 03:31:24 +00:00
Lars Gustäbel
a4b2381b20
Patch #1262036 : Prevent TarFiles from being added to themselves under
...
certain conditions.
Will backport to 2.5.
2006-12-23 17:57:23 +00:00
Lars Gustäbel
6baa502769
Patch #1230446 : tarfile.py: fix ExFileObject so that read() and tell()
...
work correctly together with readline().
Will backport to 2.5.
2006-12-23 16:40:13 +00:00
Raymond Hettinger
94547f7646
Bug #1590891 : random.randrange don't return correct value for big number
...
Needs to be backported.
2006-12-20 06:42:06 +00:00
Georg Brandl
ebbeed781d
Patch #1484695 : The tarfile module now raises a HeaderError exception
...
if a buffer given to frombuf() is invalid.
2006-12-19 22:06:46 +00:00
Vinay Sajip
76fdb8c050
Added news on recent changes to logging
2006-12-14 08:53:55 +00:00
Brett Cannon
6d9520c4f0
Add test.test_support.guard_warnings_filter . This function returns a context
...
manager that protects warnings.filter from being modified once the context is
exited.
2006-12-13 23:09:53 +00:00
Matthias Klose
ebde1498e7
- Fix the build of the library reference in info format.
2006-12-09 12:15:27 +00:00
Georg Brandl
b130743e97
Patch #1608267 : fix a race condition in os.makedirs() is the directory
...
to be created is already there.
2006-12-09 09:08:29 +00:00
Georg Brandl
87fa559479
Patch #1610437 : fix a tarfile bug with long filename headers.
2006-12-06 22:21:18 +00:00
Matthias Klose
d149d0c76a
- Fix build failure on kfreebsd and on the hurd.
2006-12-03 17:16:41 +00:00
Martin v. Löwis
a00bcac003
Patch #1371075 : Make ConfigParser accept optional dict type
...
for ordering, sorting, etc.
2006-12-03 12:01:53 +00:00
Martin v. Löwis
046c4d13be
Patch #1544279 : Improve thread-safety of the socket module by moving
...
the sock_addr_t storage out of the socket object.
Will backport to 2.5.
2006-12-03 11:23:45 +00:00
Martin v. Löwis
8609da9b17
Move IDLE news into NEWS.txt.
2006-12-03 09:54:46 +00:00
Thomas Heller
ef583a4992
Fix #1563807 : _ctypes built on AIX fails with ld ffi error.
...
The contents of ffi_darwin.c must be compiled unless __APPLE__ is
defined and __ppc__ is not.
Will backport.
2006-11-28 20:21:54 +00:00