Amaury Forgeot d'Arc
dd8059f078
#3626 : On cygwin, starting "python z" would not display any error message:
...
printf("%ls") fails if the wide string is 1 char long :-(
2008-10-30 23:03:32 +00:00
Amaury Forgeot d'Arc
424b4819be
Merged revisions 67049 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67049 | amaury.forgeotdarc | 2008-10-30 22:18:34 +0100 (jeu., 30 oct. 2008) | 8 lines
Issue #4176 : Pickle would crash the interpreter when a __reduce__ function
does not return an iterator for the 4th and 5th items.
(sequence-like and mapping-like state)
A list is not an iterator...
Will backport to 2.6 and 2.5.
........
2008-10-30 22:25:31 +00:00
Christian Heimes
6a27efa2d3
Issue 3723: Fixed initialization of subinterpreters
...
The patch fixes several issues with Py_NewInterpreter as well as the demo for multiple subinterpreters.
Most of the patch was written by MvL with help from Benjamin, Amaury and me. Graham Dumpleton has verified that this patch fixes an issue with mod_wsgi.
2008-10-30 21:48:26 +00:00
Christian Heimes
5833a2f6fd
Issue #4213 : The file system encoding is now normalized by the codec subsystem, for example UTF-8 is turned into utf-8.
...
Patch created by Victor and reviewed by me. The change is required for proper initialization of subinterpreters.
2008-10-30 21:40:04 +00:00
Christian Heimes
9c94ba4e7d
Issue #4200 : Changed the atexit module to store its state in its PyModuleDef atexitmodule. This fixes a bug with multiple subinterpeters. The bug was found by Graham Dumpletom during his work on a 3.0 port of mod_wsgi. The patch has been reviewed by Benjamin.
2008-10-30 21:34:02 +00:00
Christian Heimes
fec925b315
Issue #4237 : io.FileIO() was raising invalid warnings caused by insufficient initialization of PyFileIOObject struct members.
2008-10-30 21:22:55 +00:00
Amaury Forgeot d'Arc
f43ee81ef2
#4170 : Fix segfault when pickling a defauldict object.
...
The 2.x dict.iteritems() returns an iterator,
whereas the 3.0 dict.items() returns a "view",
which is iterable, but not an iterator with its __next__ method.
Patch by Hirokazu Yamamoto.
2008-10-30 20:58:42 +00:00
Benjamin Peterson
08a8f5fff9
restore compilation on OpenBSD #4146
2008-10-19 14:15:00 +00:00
Amaury Forgeot d'Arc
87eee631fb
#3664 : The pickle module could segfault if a Pickler instance is not correctly initialized:
...
when a subclass forgets to call the base __init__ method,
or when __init__ is called a second time with invalid parameters
Patch by Alexandre Vassalotti.
2008-10-17 20:15:53 +00:00
Martin v. Löwis
869bad9b5a
Issue #3717 : Fix Demo/embed/demo.c.
...
Reviewed by Benjamin Peterson.
2008-10-17 15:54:44 +00:00
Martin v. Löwis
c820eaf347
Merged revisions 66958 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66958 | martin.v.loewis | 2008-10-17 15:43:01 +0200 (Fr, 17 Okt 2008) | 1 line
Issue #4091 : Install pythonxy.dll in system32 again.
........
2008-10-17 13:47:20 +00:00
Brett Cannon
da78043237
Latin-1 source code was not being properly decoded when passed through
...
compile(). This was due to left-over special-casing before UTF-8 became the
default source encoding.
Closes issue #3574 . Thanks to Victor Stinner for help with the patch.
2008-10-17 03:38:50 +00:00
Benjamin Peterson
3de7fb86fc
Victor Stinner's patch to make telnetlib use bytes 3725
2008-10-15 20:54:24 +00:00
Martin v. Löwis
33b6450d23
Issue #4072 : Restore build_py_2to3. Add a distutils demo for
...
build_py_2to3.
2008-10-15 05:58:17 +00:00
Martin v. Löwis
f63921f9d0
Merged revisions 66881 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66881 | martin.v.loewis | 2008-10-13 13:23:35 +0200 (Mo, 13 Okt 2008) | 2 lines
Issue #4018 : Disable "for me" installations on Vista.
........
2008-10-13 11:30:30 +00:00
Amaury Forgeot d'Arc
cf8016a8d6
Issues #2384 and #3975 : Tracebacks were not correctly printed when the source file
...
contains a ``coding:`` header: the wrong line was displayed, and the encoding was not respected.
Patch by Victor Stinner.
2008-10-09 23:37:48 +00:00
Martin v. Löwis
4e0630cb52
Issue #3740 : Null-initialize module state.
...
Reviewed by Benjamin Peterson.
2008-10-07 13:16:28 +00:00
Martin v. Löwis
d8506df229
Merged revisions 66814 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66814 | martin.v.loewis | 2008-10-06 17:15:40 +0200 (Mo, 06 Okt 2008) | 3 lines
Issue #4014 : Don't claim that Python has an Alpha release status, in addition
to claiming it is Mature.
........
2008-10-06 15:19:21 +00:00
Martin v. Löwis
04dc25c537
Issue #3187 : Add sys.setfilesystemencoding.
2008-10-03 16:09:28 +00:00
Guido van Rossum
f0af3e30db
Issue #3187 : Better support for "undecodable" filenames. Code by Victor
...
Stinner, with small tweaks by GvR.
2008-10-02 18:55:37 +00:00
Martin v. Löwis
601149bb8e
Merged revisions 66686 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66686 | martin.v.loewis | 2008-09-30 00:09:07 +0200 (Di, 30 Sep 2008) | 5 lines
Issue #3965 : Allow repeated calls to turtle.Screen, by making it a
true singleton object.
Reviewed by Gregor Lingl.
........
2008-09-29 22:19:08 +00:00
Benjamin Peterson
3a53fbbfcf
#3911 FTP.makeport was giving bad port numbers
...
reviewed by Benjamin and Antoine
2008-09-27 22:04:16 +00:00
Benjamin Peterson
60320cb3e4
#3946 fix PyObject_CheckBuffer on a memoryview object
...
reviewed by Antoine
2008-09-26 21:49:22 +00:00
Amaury Forgeot d'Arc
b5cf301b8e
#3929 : dbm.open() would try to raise a tuple. This does not work anymore with python 3.0.
...
Reviewed by Georg Brandl.
2008-09-25 22:27:43 +00:00
Martin v. Löwis
6fea2339d8
Merged revisions 66616 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66616 | martin.v.loewis | 2008-09-25 06:12:50 +0200 (Do, 25 Sep 2008) | 2 lines
Bug #3951 : Py_USING_MEMORY_DEBUGGER should not be enabled by default.
........
2008-09-25 04:15:27 +00:00
Thomas Heller
1308c26cf4
Merged revisions 66611 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66611 | thomas.heller | 2008-09-24 20:26:05 +0200 (Mi, 24 Sep 2008) | 3 lines
Fix issue #3547 : ctypes is confused by bitfields of varying integer types
Reviewed by Fredrik Lundh and Skip Montanaro.
........
2008-09-24 19:01:29 +00:00
Gerhard Häring
6117f423c4
Issue #3659 : Values of string subclasses were not handled correctly when used
...
as bind parameters.
Reviewed by Bejnamin Peterson.
2008-09-22 06:04:51 +00:00
Amaury Forgeot d'Arc
d0db98fcd8
#1688 : On Windows, the input() prompt was not correctly displayed if it
...
contains non-ascii characters.
Reviewed by Benjamin Peterson.
2008-09-21 21:49:01 +00:00
Martin v. Löwis
60ebb8b0aa
Bug #3884 : Make the turtle module toplevel again.
2008-09-21 07:32:10 +00:00
Barry Warsaw
1ecaf2c009
done with rc1
2008-09-18 04:28:35 +00:00
Barry Warsaw
b885480695
bumping to 3.0rc1
2008-09-18 03:00:28 +00:00
Antoine Pitrou
9cadb1b6e0
Issue #3782 : os.write() must not accept unicode strings
2008-09-15 23:02:56 +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
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
Amaury Forgeot d'Arc
8530e8590f
Revert r33661, which broke all buildbots.
2008-09-09 07:28:22 +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
Gregory P. Smith
207f2113d8
describe the change merged in r66285
2008-09-07 06:29:10 +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
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
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
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
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
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