Nick Coghlan
d2e0938362
Issue #3781 : Final cleanup of warnings.catch_warnings and its usage in the test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
2008-09-11 12:11:06 +00:00
Martin v. Löwis
9fa5a2828c
Issue #3642 : Suppress warning in obmalloc when size_t is
...
larger than uint. Reverts r65975. Reviewed by Brett Cannon.
2008-09-11 06:53:30 +00:00
Amaury Forgeot d'Arc
05e344954d
#3743 : PY_FORMAT_SIZE_T is designed for the OS "printf" functions, not for
...
PyString_FromFormat which has an independent implementation, and uses "%zd".
This makes a difference on win64, where printf needs "%Id" to display
64bit values. For example, queue.__repr__ was incorrect.
Reviewed by Martin von Loewis.
2008-09-10 22:04:45 +00:00
Benjamin Peterson
5e19e44413
kill memoryview.size in favor of len(view)
...
Reviewer: Antoine Pitrou #3827
2008-09-10 21:47:03 +00:00
Guido van Rossum
698280df7c
Issue #3756 : make re.escape() handle bytes as well as str.
...
Patch by Andrew McNamara, reviewed and tweaked by myself.
2008-09-10 17:44:35 +00:00
Guido van Rossum
e3c4fd9cc0
- Issue #3629 : Fix sre "bytecode" validator for an end case.
...
Reviewed by Amaury.
2008-09-10 14:27:00 +00:00
Martin v. Löwis
24329ba176
Issue #3811 : The Unicode database was updated to 5.1.
...
Reviewed by Fredrik Lundh and Marc-Andre Lemburg.
2008-09-10 13:38:12 +00:00
Benjamin Peterson
97179b0f58
Fix #3634 invalid return value from _weakref.ref(Exception).__init__
...
Reviewers: Amaury, Antoine, Benjamin
2008-09-09 20:55:01 +00:00
Georg Brandl
7cd67cc992
Fix formatter usage of filter(). Bug #3800 .
2008-09-09 19:31:25 +00:00
Hirokazu Yamamoto
54a1cc68a1
Issue #3812 : Failed to build python if configure --without-threads.
...
Removed itertools usage from Lib/traceback.py, because itertools
is extension module, so maybe unavailable on build process.
(Lib/_dummy_thread.py uses Lib/traceback.py)
Reviewed by Amaury Forgeot d'Arc.
2008-09-09 17:55:11 +00:00
Hirokazu Yamamoto
167b12b71c
Added News for r66338
2008-09-09 14:01:25 +00:00
Vinay Sajip
844f741039
Issue #3809 : Fixed spurious 'test.blah' file left behind by test_logging.
2008-09-09 13:42:08 +00:00
Amaury Forgeot d'Arc
8530e8590f
Revert r33661, which broke all buildbots.
2008-09-09 07:28:22 +00:00
Amaury Forgeot d'Arc
d3ffb8974f
#3777 : long(4.2) returned an int, and broke backward compatibility.
...
the __long__ slot is allowed to return either int or long, but the behaviour of
float objects should not change between 2.5 and 2.6.
Reviewed by Benjamin Peterson
2008-09-09 07:24:30 +00:00
Amaury Forgeot d'Arc
14b785192b
#3705 : Fix crash when given a non-ascii value on the command line for the "-c" and "-m" parameters
...
Second part, for Windows.
Reviewed by Antoine Pitrou
2008-09-09 07:04:36 +00:00
Amaury Forgeot d'Arc
f7bfcfbb68
#3791 : Remove bsddb from the Windows msi installer,
...
And do not compile the core bsddb library.
Reviewed by Martin von Loewis.
2008-09-09 06:42:00 +00:00
Brett Cannon
672237dc6c
warnings.catch_warnings() now returns a list or None instead of the custom
...
WarningsRecorder object. This makes the API simpler to use as no special object
must be learned.
Closes issue 3781.
Review by Benjamin Peterson.
2008-09-09 00:49:16 +00:00
Martin v. Löwis
3f5fda8c50
Issue #2271 : Set SecureCustomProperties so that installation will properly
...
use the TARGETDIR even for unprivileged users.
2008-09-08 13:50:10 +00:00
Martin v. Löwis
67543a9dc9
Allow passing the MSI file name to merge.py.
2008-09-08 12:02:45 +00:00
Gregory P. Smith
cae7f886e3
rerun autoconf after r66288, add the Misc/NEWS entry.
2008-09-07 06:44:12 +00:00
Gregory P. Smith
207f2113d8
describe the change merged in r66285
2008-09-07 06:29:10 +00:00
Gregory P. Smith
980b99b529
- Issue #1204 : The configure script now tests for additional libraries
...
that may be required when linking against readline. This fixes issues
with x86_64 builds on some platforms (at least a few Linux flavors as
well as OpenBSD/amd64).
2008-09-07 05:15:18 +00:00
Antoine Pitrou
5fe291f817
Issue #874900 : fix behaviour of threading module after a fork.
...
Reviewed by Gregory P. Smith.
2008-09-06 23:00:03 +00:00
Gregory P. Smith
0a608fdaac
fixes deferred/release blocker issue #3797 : Fixed the dbm, marshal, mmap,
...
ossaudiodev, & winreg modules to return bytes objects instead of bytearray
objects.
2008-09-06 21:34:51 +00:00
Amaury Forgeot d'Arc
feb8cade4d
#3796 : A test class was not run in test_float.
...
Reviewed by Benjamin.
2008-09-06 20:53:51 +00:00
Antoine Pitrou
5651eaa720
Issue #3705 : py3k aborts if "-c" or "-m" is given a non-ascii value.
...
Reviewed by Benjamin Peterson.
2008-09-06 20:46:58 +00:00
Gregory P. Smith
693fc4604f
Fixes release blocker issue #3492 and #3790 .
...
Make zlib and zipimport to return bytes instead of bytearray and use bytes
rather than bytearray for their internal leftover data storages.
2008-09-06 20:13:06 +00:00
Benjamin Peterson
35e661c711
Merged revisions 66262 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66262 | benjamin.peterson | 2008-09-06 14:28:11 -0500 (Sat, 06 Sep 2008) | 4 lines
#1638033 : add support for httponly on Cookie.Morsel
Reviewer: Benjamin
........
2008-09-06 19:37:35 +00:00
Benjamin Peterson
6ac7d7c80b
#1638033 : add support for httponly on Cookie.Morsel
...
Reviewer: Benjamin
2008-09-06 19:28:11 +00:00
Antoine Pitrou
9e4fdf446d
Merged revisions 66240 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66240 | antoine.pitrou | 2008-09-06 01:30:23 +0200 (sam., 06 sept. 2008) | 5 lines
Issue #3535 : zipfile couldn't read some zip files larger than 2GB.
Reviewed by Amaury Forgeot d'Arc.
........
2008-09-05 23:43:02 +00:00
Antoine Pitrou
ebcd0ced14
Issue #3535 : zipfile couldn't read some zip files larger than 2GB.
...
Reviewed by Amaury Forgeot d'Arc.
2008-09-05 23:30:23 +00:00
Benjamin Peterson
791dc2f32c
compile _bytesio and _stringio into the binary and initalize stdio before site fixing #3279
...
Reviewer: Alexandre Vassalotti
2008-09-05 23:27:15 +00:00
Brett Cannon
cdeb24bb05
GNU coding guidelines say that `make check` should verify the build. That
...
clashes with what Python's build target did. Rename the target to 'patchcheck'
to avoid the culture clash.
Closes issue 3758.
Reviewed by Benjamin Peterson.
2008-09-05 22:59:17 +00:00
Amaury Forgeot d'Arc
f048111403
#3660 : Correct a reference leak in PyUnicode_AsEncodedString when
...
the encoder does not return a bytes object.
Now test_unicode passes without leaking.
Reviewer: Antoine Pitrou.
2008-09-05 20:48:47 +00:00
Brett Cannon
32476fc5a8
Deprecate bsddb for removal in Python 3.0.
...
Closes issue 3776.
Review by Nick Coghlan.
2008-09-05 18:33:51 +00:00
Antoine Pitrou
d79dc6216c
Issue #3660 (part of): fix a memory leak in _pickle.
...
Patch by Amaury Forgeot d'Arc, review by me.
2008-09-05 00:03:33 +00:00
Amaury Forgeot d'Arc
1b933ed50a
#3773 : Check for errors around the use of PyTokenizer_FindEncoding().
...
reviewed by Brett Cannon.
2008-09-04 22:34:09 +00:00
Antoine Pitrou
1d6a16bf38
Issue #3160 : the "bdist_wininst" distutils command didn't work.
...
Reviewed by Trent Nelson.
2008-09-04 21:32:09 +00:00
Hirokazu Yamamoto
6477350b53
Add NEWS
2008-09-04 14:26:56 +00:00
Hirokazu Yamamoto
42e459ef43
Added NEWS
2008-09-04 14:25:30 +00:00
Guilherme Polo
b212b75c22
Issue #1658 : dict size is changing during iteration in tkinter.BaseWidget and
...
tkinter.scrolledtext.ScrolledText.
Reviewed by Amaury Forgeot d'Arc
2008-09-04 11:21:31 +00:00
Vinay Sajip
65d66e1006
Issue #3772 : Fixed regression problem in StreamHandler.emit().
2008-09-04 07:31:21 +00:00
Brett Cannon
8a9583ec5c
PyTokenizer_FindEncoding() always failed because it set the tokenizer state
...
with only a file pointer when it called fp_setreadl() which expected a file
path. Changed fp_setreadl() to use either a file path or file descriptor
(derived from the file pointer) to fix the issue.
Closes issue 3594.
Reviewed by Antoine Pitrou and Benjamin Peterson.
2008-09-04 05:04:25 +00:00
Gregory P. Smith
451e99b393
Include a pointer to the pybsddb website with the 'bsddb has been
...
removed' note.
2008-09-04 04:46:48 +00:00
Benjamin Peterson
6ba2332f55
clean up some more bsddb scraps
2008-09-03 22:59:38 +00:00
Facundo Batista
c469d4c3aa
Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module
...
to the urlparse one. Added a DeprecationWarning in the old module, it
will be deprecated in the future. Docs and tests updated.
2008-09-03 22:49:01 +00:00
Brett Cannon
a0b7444f68
test_py3kwarn had been overlooked when test.test_support.catch_warning() was
...
re-implemented to use warnings.catch_warnings() and had its API improved.
Closes issue #3768 .
Code review by Benjamin Peterson.
2008-09-03 22:45:11 +00:00
Facundo Batista
c585df9476
Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module
...
to the urlparse one. Added a PendingDeprecationWarning in the old
module, it will be deprecated in the future. Docs and tests updated.
2008-09-03 22:35:50 +00:00
Benjamin Peterson
b98eb875dc
remove bsddb
2008-09-03 22:30:12 +00:00
Antoine Pitrou
fff953048f
Issue #3696 : Error parsing arguments on OpenBSD <= 4.4 and Cygwin.
...
Patch by Amaury Forgeot d'Arc, reviewed by me.
2008-09-03 18:58:51 +00:00