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