Neal Norwitz
a403e4141a
Use the actual blacklist of leaky tests
2008-08-24 17:29:53 +00:00
Neal Norwitz
3782fba588
Ignore a couple more tests that report leaks inconsistently.
2008-08-24 17:27:43 +00:00
Neal Norwitz
18aa388ca0
Fix:
...
* crashes on memory allocation failure found with failmalloc
* memory leaks found with valgrind
* compiler warnings in opt mode which would lead to invalid memory reads
* problem using wrong name in decimal module reported by pychecker
Update the valgrind suppressions file with new leaks that are small/one-time
leaks we don't care about (ie, they are too hard to fix).
TBR=barry
TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes)
in opt mode:
valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
./python -E -tt ./Lib/test/regrtest.py -uall,-bsddb,-compiler \
-x test_logging test_ssl test_multiprocessing
valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
for i in `seq 1 4000` ; do
LD_PRELOAD=~/local/lib/libfailmalloc.so FAILMALLOC_INTERVAL=$i \
./python -c pass
done
At least some of these fixes should probably be backported to 2.5.
2008-08-24 05:04:52 +00:00
Benjamin Peterson
37346b2b9b
#3643 add a few more checks to _testcapi to prevent segfaults
...
Author: Victor Stinner
Reviewer: Benjamin Peterson
2008-08-23 20:27:43 +00:00
Christian Heimes
1cc69636ef
Fixed two format strings in the _collections module. For example
...
Modules/_collectionsmodule.c:674: warning: format '%i' expects type 'int', but argument 2 has type 'Py_ssize_t'
Reviewed by Benjamin Peterson
2008-08-22 20:10:27 +00:00
Christian Heimes
a27a62e74c
Silenced a compiler warning in the sqlite module
...
Modules/_sqlite/row.c:187: warning: suggest parentheses around && within ||
Reviewed by Benjamin Peterson
2008-08-22 19:55:54 +00:00
Christian Heimes
7d4c3177d5
Silenced compiler warning
...
Objects/stringlib/find.h:97: warning: 'stringlib_contains_obj' defined but not used
Reviewed by Benjamin Peterson
2008-08-22 19:47:25 +00:00
Christian Heimes
fb1813cb8d
Changed type of numarenas from uint to size_t to silence a GCC warning on 64bit OSes. Reviewed by Benjamin Peterson.
2008-08-22 19:34:15 +00:00
Barry Warsaw
6a0b559d26
done with the release
2008-08-21 02:12:56 +00:00
Barry Warsaw
07a4a3851d
Bump to 2.6b3.
2008-08-21 01:15:08 +00:00
Guido van Rossum
f840296392
News for the tp_flags change.
2008-08-20 15:01:50 +00:00
Guido van Rossum
84b1e0fde7
News for the imageop fix.
2008-08-20 14:57:20 +00:00
Hirokazu Yamamoto
838c79f472
Issue #3612 : Added some missing basic types in ctypes.wintypes.
2008-08-20 13:14:07 +00:00
Benjamin Peterson
e977ad4d7b
deprecate some useless, noop methods in symtable
2008-08-20 01:42:01 +00:00
Benjamin Peterson
f647dc10e3
add a NEWS note for new args syntax
2008-08-20 01:27:30 +00:00
Thomas Heller
0ad5ae02af
Fix a regression introduced by rev. 63792: ctypes function pointers
...
that are COM methods must have a boolean True value.
2008-08-19 19:25:04 +00:00
Georg Brandl
25c3408556
Fix grammar.
2008-08-18 23:09:49 +00:00
Benjamin Peterson
facdd6ee9e
update the threading docs to account for recent changes
2008-08-18 22:29:19 +00:00
Amaury Forgeot d'Arc
351ffb80c3
#2234 distutils failed with mingw binutils 2.18.50.20080109.
...
Be less strict when parsing these version numbers,
they don't necessarily follow the python numbering scheme.
2008-08-18 19:23:47 +00:00
Benjamin Peterson
d8a8972ca9
change threading.getIdent to a property
...
This is new in 2.6 so now need to worry about backwards compatibility :)
2008-08-18 16:40:03 +00:00
Nick Coghlan
6e8fef07e5
Issue 2235: document PyObject_HashNotImplemented
2008-08-18 13:14:22 +00:00
Nick Coghlan
f70385a5c3
Belated NEWS entry for r65642
2008-08-18 12:42:46 +00:00
Brett Cannon
88f801d409
Update __all__ for cookielib, csv, os, and urllib2 for objects imported into
...
the module but exposed as part of the API.
2008-08-18 00:46:22 +00:00
Brett Cannon
7b96f07feb
Remove an unneeded import of abc.ABCMeta from 'inspect'.
2008-08-18 00:41:11 +00:00
Brett Cannon
46225e77fa
Remove two unneeded imports in 'io'.
2008-08-18 00:36:52 +00:00
Brett Cannon
25c9d6aa00
Remove imports of 'warnings' that are no longer needed in dummy_thread,
...
filecmp, and shelve.
2008-08-17 22:10:11 +00:00
Hirokazu Yamamoto
41a81eb6cb
Backport r65661, r65760: Issue #3575 : Incremental decoder's decode
...
function now takes bytearray by using 's*' instead of 't#'.
2008-08-17 13:10:46 +00:00
Hirokazu Yamamoto
7f30a684c6
I forgot to update NEWS.
2008-08-17 09:46:56 +00:00
Brett Cannon
047e4a915d
Update distutils so that it triggers no warnings when run under -3.
2008-08-17 04:16:04 +00:00
Facundo Batista
94f243aa41
Issue 2464. Supports a malformation in the URL received
...
in a redirect.
2008-08-17 03:38:39 +00:00
Brett Cannon
721b1457a0
Silence DeprecationWarning raised by mimetools and rfc822 in cgi.
2008-08-16 22:00:27 +00:00
Brett Cannon
0a4128eae2
Silence the DeprecationWarning raised in httplib when mimetools is imported.
2008-08-16 21:56:03 +00:00
Brett Cannon
abe423ed2c
Silence the DeprecationWarning raised by importing mimetools in BaseHTTPServer.
...
This does have an unfortunate side-effect of silencing the warning for all
subsequent code that imports mimetools as well since the warning is only
executed upon the first import of mimetools.
2008-08-16 21:47:07 +00:00
Facundo Batista
eb90b788f4
Issue #2776 : fixed small issue when handling an URL with double slash
...
after a 302 response in the case of not going through a proxy.
2008-08-16 14:44:07 +00:00
Antoine Pitrou
b90a8be96f
#2676 : email/message.py [Message.get_content_type]: Trivial regex hangs on pathological input
2008-08-15 21:03:21 +00:00
Antoine Pitrou
11ec65d82b
Issue #3476 : make BufferedReader and BufferedWriter thread-safe
2008-08-14 21:04:30 +00:00
Thomas Heller
57adf22f6e
issue #3554 : ctypes.string_at and ctypes.wstring_at must use the
...
pythonapi calling convention so that the GIL is held and error return
values are checked.
2008-08-14 19:10:48 +00:00
Brett Cannon
bf3157b8e0
Silence the DeprecationWarning of rfc822 triggered by its importation in
...
mimetools.
This has an unfortunate side-effect of potentially not letting any warning
about rfc822's deprecation be seen by user-visible code if rfc822 is not
imported before mimetools. This is because modules are cached in sys.modules
and thus do not have their deprecation triggered more than once. But this
silencing would have happened by other code that silences the use of mimetools
or rfc822 anyway in the stdlib or user code, and thus seems justified to be
done here.
2008-08-14 05:00:03 +00:00
Martin v. Löwis
581a1495a1
Add Hirokazu Yamamoto.
2008-08-12 20:45:21 +00:00
Martin v. Löwis
f91d46a17d
Issue #3139 : Make buffer-interface thread-safe wrt. PyArg_ParseTuple,
...
by denying s# to parse objects that have a releasebuffer procedure,
and introducing s*.
More module might need to get converted to use s*.
2008-08-12 14:49:50 +00:00
Antoine Pitrou
9fcd4b3d29
#3134 : shutil referenced undefined WindowsError symbol
2008-08-11 17:21:36 +00:00
Georg Brandl
1e13ea94a3
- Issue #3537 : Fix an assertion failure when an empty but presized dict
...
object was stored in the freelist.
2008-08-11 09:07:59 +00:00
Robert Schuppenies
14646337bf
Issue #1342811 : Fix leak in Tkinter.Menu.delete. Commands associated to
...
menu entries were not deleted.
2008-08-10 11:01:53 +00:00
Brett Cannon
9fc5631be6
Silence warnings in csv about using reduce() when run under -3 by using
...
functools.reduce() instead.
2008-08-09 23:39:11 +00:00
Brett Cannon
46265860c2
Use functools.reduce() in difflib instead of __builtin__.reduce() to silence
...
warnings when running under -3.
2008-08-09 23:34:11 +00:00
Brett Cannon
83e818415a
Copy reduce() to _functools so to have functools.reduce() not raise a warning
...
from usage under -3.
2008-08-09 23:30:55 +00:00
Brett Cannon
c1b76e4aaa
Suppress the warning in asynchat from using buffer() when running udner -3.
...
Naively removing the usage causes a large number of test failures, so it was
just easier to suppress the warning.
2008-08-09 23:06:16 +00:00
Antoine Pitrou
76b8bee26d
move NEWS entry to the appropriate section (oops!)
2008-08-09 17:27:23 +00:00
Antoine Pitrou
016b366df4
#3205 : bz2 iterator fails silently on MemoryError
2008-08-09 17:22:25 +00:00
Guido van Rossum
59ce901a20
Add news item about _sre.compile() re-bytecode validator.
2008-08-09 14:55:34 +00:00
Antoine Pitrou
de781a49d2
Fix slightly misleading statement in the NEWS file.
2008-08-09 12:43:23 +00:00
Skip Montanaro
a032bf41f6
accept issue 3436
2008-08-08 22:52:51 +00:00
Brett Cannon
3f92bc6f48
Remove buffer() usage in the socket module by just slicing directly on the
...
object. This removes all warnings for the module caused by running under -3.
2008-08-08 04:27:28 +00:00
Brett Cannon
03446c43ca
Remove warnings generated for the suprocess module when run under -3. Required
...
commenting out True/False compatbility stuff, remove a use of apply(), and
remove a use of buffer() (just pulled the solution used in 3.0 which is direct
slicing).
2008-08-08 04:19:32 +00:00
Brett Cannon
3aa2a49ec9
Add imp.reload(). This to help with transitioning to 3.0 the reload() built-in
...
has been removed there.
2008-08-06 22:28:09 +00:00
Brett Cannon
7e30b67bf4
Add a note about all the modules/packages changed to silence -3 warnings. More
...
changes are needed once some decisions are made, but this is the work up to this
point.
2008-08-04 21:52:25 +00:00
Mark Dickinson
b646757e01
Issue #1481296 : (again!) Make conversion of a float NaN to an int or
...
long raise ValueError instead of returning 0. Also, change the error
message for conversion of an infinity to an integer, replacing 'long' by
'integer', so that it's appropriate for both long(float('inf')) and
int(float('inf')).
2008-08-04 21:30:09 +00:00
Nick Coghlan
2a0c2b1368
Add missing NEWS entry for r65487
2008-08-04 12:47:17 +00:00
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
Georg Brandl
60fffcf854
Note the removal of several committers.
2008-08-03 22:28:55 +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
Barry Warsaw
daddf03f77
Bumping to 2.6b2
2008-07-18 03:20:07 +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
Martin v. Löwis
c83f113c8a
Add Antoine.
2008-07-16 05:28:26 +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
Georg Brandl
954a278939
Keep sorted.
2008-07-16 00:00:04 +00:00
Thomas Heller
6d75ff82f0
Add Victor Stinner, he provided the patch for issue #3313 .
2008-07-15 19:44:25 +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
Benjamin Peterson
0522a9f1eb
#1778443 robotparser fixes from Aristotelis Mikropoulos
2008-07-12 23:41:19 +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
Mark Dickinson
f1458485b3
Add Jean Brouwers for his work on math.sum
2008-06-27 11:03:21 +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
Georg Brandl
d0ba07327a
Add Jesse Noller to the developers list.
2008-06-16 21:00:47 +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