Georg Brandl
50ba6e1b50
#1726172 : dont raise an unexpected IndexError if a voidresp() call has an empty response.
2009-04-05 10:48:47 +00:00
Benjamin Peterson
bd35b035e9
bump version for 3.1a2+
2009-04-04 23:16:41 +00:00
Benjamin Peterson
88f1435439
bump version to 3.1a2
2009-04-04 21:06:52 +00:00
Benjamin Peterson
e099b37428
#5391 make mmap work exclusively with bytes
2009-04-04 17:09:35 +00:00
Benjamin Peterson
08c5c0bb55
Merged revisions 71163 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71163 | benjamin.peterson | 2009-04-04 11:05:51 -0500 (Sat, 04 Apr 2009) | 1 line
revert r71159 since it broke the build
........
2009-04-04 16:10:42 +00:00
Benjamin Peterson
ea0d7444c8
revert r71159 since it broke the build
2009-04-04 16:05:51 +00:00
Matthias Klose
9247e72359
Merged revisions 71159 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71159 | matthias.klose | 2009-04-04 17:51:23 +0200 (Sa, 04 Apr 2009) | 2 lines
- Py_DECREF: Add `do { ... } while (0)' to avoid compiler warnings.
........
2009-04-04 15:54:25 +00:00
Matthias Klose
db5d6dc6de
Merged revisions 71159 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71159 | matthias.klose | 2009-04-04 17:51:23 +0200 (Sa, 04 Apr 2009) | 2 lines
- Py_DECREF: Add `do { ... } while (0)' to avoid compiler warnings.
........
2009-04-04 15:52:50 +00:00
Matthias Klose
8212a82371
- Py_DECREF: Add `do { ... } while (0)' to avoid compiler warnings.
2009-04-04 15:51:23 +00:00
Matthias Klose
042f133d82
Merged revisions 71152 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71152 | matthias.klose | 2009-04-04 16:18:13 +0200 (Sa, 04 Apr 2009) | 3 lines
- Issue #3845 : In PyRun_SimpleFileExFlags avoid invalid memory access with
short file names.
........
2009-04-04 14:32:42 +00:00
Matthias Klose
a8da9e0e16
Merged revisions 71152 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71152 | matthias.klose | 2009-04-04 16:18:13 +0200 (Sa, 04 Apr 2009) | 3 lines
- Issue #3845 : In PyRun_SimpleFileExFlags avoid invalid memory access with
short file names.
........
2009-04-04 14:19:56 +00:00
Matthias Klose
edb5e1e09e
- Issue #3845 : In PyRun_SimpleFileExFlags avoid invalid memory access with
...
short file names.
2009-04-04 14:18:13 +00:00
Eric Smith
1e1d7d2b4f
Added Misc/NEWS entry for PEP 378.
2009-04-03 22:25:33 +00:00
Benjamin Peterson
8f76b495ec
update NEWS
2009-04-03 22:22:42 +00:00
Antoine Pitrou
789be0c0a0
Issue #2396 : backport the memoryview object.
2009-04-02 21:18:34 +00:00
R. David Murray
548ac41079
In 3k this becomes an items() call.
...
Merged revisions 71046 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71046 | r.david.murray | 2009-04-02 10:05:35 -0400 (Thu, 02 Apr 2009) | 4 lines
Add missing iteritems() call to the for loop in mailbox.MH.get_message().
Fixes issue2625.
........
2009-04-02 19:44:43 +00:00
Georg Brandl
d3f03fa715
PyErr_NormalizeException may not set an error, so convert the PyErr_SetObject
...
call on hitting the recursion limit into just assigning it to the arguments provided.
2009-04-02 18:09:04 +00:00
R. David Murray
c6d84edaf5
Fix borked NEWS merge.
2009-04-02 14:12:42 +00:00
R. David Murray
51c6b216cb
Merged revisions 71046 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71046 | r.david.murray | 2009-04-02 10:05:35 -0400 (Thu, 02 Apr 2009) | 4 lines
Add missing iteritems() call to the for loop in mailbox.MH.get_message().
Fixes issue2625.
........
2009-04-02 14:09:49 +00:00
R. David Murray
52720c5455
Add missing iteritems() call to the for loop in mailbox.MH.get_message().
...
Fixes issue2625.
2009-04-02 14:05:35 +00:00
Hye-Shik Chang
944820b044
Issue #5640 : Fix _multibytecodec so that CJK codecs don't repeat
...
error replacement returned by codec error callbacks twice in
IncrementalEncoder and StreamWriter.
2009-04-02 10:33:16 +00:00
Jesse Noller
7152f6d915
Add custom initializer argument to multiprocess.Manager*, courtesy of lekma
2009-04-02 05:17:26 +00:00
Jesse Noller
5053fbbb38
Issue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCES
2009-04-02 04:22:09 +00:00
Michael Foord
345b2fe21e
Better exception messages for unittest assert methods.
...
- unittest.assertNotEqual() now uses the inequality operator (!=) instead
of the equality operator.
- Default assertTrue and assertFalse messages are now useful.
- TestCase has a longMessage attribute. This defaults to False, but if set to True
useful error messages are shown in addition to explicit messages passed to assert methods.
Issue #5663
2009-04-02 03:20:38 +00:00
Brett Cannon
c4f90ebea7
PyImport_AppendInittab() took a char * as a first argument even though that
...
string was stored beyond the life of the call. Changed the signature to be
const char * to help make this point.
Closes issue #1419652 .
2009-04-02 03:17:39 +00:00
Jesse Noller
b502bc7a1a
Issue 3110: Additional protection for SEM_VALUE_MAX on platforms, thanks to Martin Loewis
2009-04-02 02:32:55 +00:00
Benjamin Peterson
7fe9853596
make 'c' only accept bytes and 'C' only unicode #5499
2009-04-02 00:33:55 +00:00
Georg Brandl
33c2881b63
#5656 : detect correct encoding of files when reporting coverage in trace.py, and ignore files in the temporary directory when reporting.
2009-04-01 23:07:29 +00:00
Brett Cannon
6471733e1d
Add my initials to Misc/developers.txt. Names are now sorted by number of
...
characters in the person's name.
2009-04-01 23:01:12 +00:00
Georg Brandl
58b8b95cdb
In Pdb, stop assigning values to __builtin__._ which interferes with the one commonly installed by gettext.
2009-04-01 21:54:21 +00:00
Georg Brandl
5942b91759
Add NEWS item.
2009-04-01 21:05:44 +00:00
Brett Cannon
ce3d221447
test_warnings ironically had a single test that was not protecting the warnings
...
filter and was resetting it.
2009-04-01 20:25:48 +00:00
Brett Cannon
2da4d628a5
test_logging was blindly clearing the warnings filter. This caused
...
PendingDeprecationWarnings to be spewed all over by unittest.failIf*(). Fix
moves over to using warnings.catch_warning to protect the warnings filter.
2009-04-01 19:57:10 +00:00
Raymond Hettinger
3f10a952f6
Issue #5647 : MutableSet.__iand__() no longer mutates self during iteration.
2009-04-01 19:05:50 +00:00
Raymond Hettinger
51ac4f4b61
Add NEWS item.
2009-04-01 18:57:45 +00:00
Raymond Hettinger
66c4a6b51c
Issue #5647 : MutableSet.__iand__() no longer mutates self during iteration.
2009-04-01 18:50:56 +00:00
Michael Foord
449b7d95d4
Adding Wing project file
2009-04-01 18:25:38 +00:00
Brett Cannon
0759dd66c5
Merged revisions 70965 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70965 | brett.cannon | 2009-04-01 11:03:59 -0700 (Wed, 01 Apr 2009) | 5 lines
_warnings was importing itself to get an attribute. That's bad if warnings gets
called in a thread that was spawned by an import itself.
Last part to close #1665206 .
........
2009-04-01 18:13:07 +00:00
Brett Cannon
15ba4dae5a
_warnings was importing itself to get an attribute. That's bad if warnings gets
...
called in a thread that was spawned by an import itself.
Last part to close #1665206 .
2009-04-01 18:03:59 +00:00
Brett Cannon
24565d296c
Paul Kippes was given commit privileges to work on 3to2.
2009-04-01 17:52:13 +00:00
Brett Cannon
d5cc025e1c
Ron DuPlain was given commit privileges at PyCon 2009 to work on 3to2.
2009-04-01 17:07:16 +00:00
Brett Cannon
f47e84ce63
Merged revisions 70956 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70956 | brett.cannon | 2009-04-01 09:00:34 -0700 (Wed, 01 Apr 2009) | 5 lines
The cgitb module had imports in its functions. This can cause deadlock with the
import lock if called from within a thread that was triggered by an import.
Partially fixes issue #1665206 .
........
2009-04-01 16:06:01 +00:00
Brett Cannon
ad078a0d7a
The cgitb module had imports in its functions. This can cause deadlock with the
...
import lock if called from within a thread that was triggered by an import.
Partially fixes issue #1665206 .
2009-04-01 16:00:34 +00:00
Georg Brandl
6f0e8353af
Add Maksim, who worked on several issues at the sprint.
2009-04-01 14:02:27 +00:00
Georg Brandl
4ed72acd68
#5624 : _winreg is winreg in Python 3.
2009-04-01 04:28:33 +00:00
Jack Diederich
e0cbd69659
Merged revisions 70931 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70931 | jack.diederich | 2009-03-31 19:46:48 -0400 (Tue, 31 Mar 2009) | 1 line
#5228 : add pickle support to functools.partial
........
2009-04-01 04:27:09 +00:00
Georg Brandl
e92d4b6f57
The SimpleXMLRPCServer's CGI handler now runs like a pony.
2009-04-01 04:21:14 +00:00
R. David Murray
e59482ec9a
Merged revisions 70936 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70936 | r.david.murray | 2009-03-31 23:21:43 -0400 (Tue, 31 Mar 2009) | 4 lines
Fix issue 2522. locale.format now checks that it is passed
exactly one pattern, which avoids mysterious errors where it
had seemed to fail to do localization.
........
2009-04-01 03:42:00 +00:00
R. David Murray
a83da3507f
Fix issue 2522. locale.format now checks that it is passed
...
exactly one pattern, which avoids mysterious errors where it
had seemed to fail to do localization.
2009-04-01 03:21:43 +00:00
Georg Brandl
d8fb6ac9da
Issue #5635 : Fix running test_sys with tracing enabled.
2009-04-01 00:04:33 +00:00