Alexandre Vassalotti
9d7665df93
Add more examples in pickle documentation.
2009-04-03 06:13:29 +00:00
Alexandre Vassalotti
ffcec434ce
Remove old reference to cPickle.
2009-04-03 06:07:29 +00:00
Raymond Hettinger
9743fd0479
Fix typo.
2009-04-03 05:47:33 +00:00
Alexandre Vassalotti
0e7aa8c13c
Update a comment about why the __module__ can sometime be NULL.
...
Initialize last_string and arg member of Unpickler.
2009-04-03 04:17:41 +00:00
Raymond Hettinger
b646aa1789
Localize the function lookup in timeit.
2009-04-03 02:45:36 +00:00
Raymond Hettinger
85737b875f
Update docs for namedtuple's renaming change.
2009-04-02 22:37:59 +00:00
Raymond Hettinger
5614524293
Have namedtuple's field renamer assign names that
...
are consistent with the corresponding tuple index.
2009-04-02 22:31:59 +00:00
Antoine Pitrou
c26d43966d
Blocked revisions 71070 via svnmerge
...
........
r71070 | antoine.pitrou | 2009-04-02 23:18:34 +0200 (jeu., 02 avril 2009) | 3 lines
Issue #2396 : backport the memoryview object.
........
2009-04-02 21:42:24 +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
R. David Murray
0633d760d6
A fix for Brett's fix for his fix. I think we got it right this time.
2009-04-02 19:21:26 +00:00
Brett Cannon
c10796f986
A fix for the fix for the svnmerge metadata.
2009-04-02 19:02:06 +00:00
Brett Cannon
4974805063
r71034 somehow deleted all of the metadata for svnmerge. This is my attempt to fix my mistake.
2009-04-02 18:57:15 +00:00
Mark Dickinson
0bdab68475
Rewrap some long lines.
2009-04-02 18:41:40 +00:00
Brett Cannon
5561982b64
importlib.test.source.test_abc_loader was making a bad assumption that all file
...
paths used '/' as a path separator.
Fixes issue #5646 .
2009-04-02 17:54:43 +00:00
Brett Cannon
f86213f6f2
Make a test in importlib have a more robust test value.
2009-04-02 15:35:09 +00:00
Brett Cannon
978259e9b3
Give a more informative message on an importlib test upon failure.
2009-04-02 15:32:07 +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
Brett Cannon
a3d056ed95
Check that on a platform that is expected to have a case-insensitive filesystem
...
that is in fact the case.
Closes issue #5442 .
2009-04-02 05:17:54 +00:00
R. David Murray
bd25d337ba
Clarify that datetime strftime does not produce leap seconds and datetime
...
strptime does not accept it in the strftime behavior section of the
datetime docs.
Closes issue 2568.
Porting by hand since svnmerge disclaims all knowledge of the trunk commit.
2009-04-02 04:50:03 +00:00
Brett Cannon
a826f32054
Merged revisions 71031 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71031 | brett.cannon | 2009-04-01 20:17:39 -0700 (Wed, 01 Apr 2009) | 6 lines
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:41:46 +00:00
Senthil Kumaran
3e2ea79bda
Fixing the issue4860. Escaping the embedded '"' in the js_output method of Morsel class.
2009-04-02 03:02:03 +00:00
Georg Brandl
b868a66ccb
First batch of signature documentation changes; using default argument syntax where applicable.
2009-04-02 02:56:10 +00:00
Benjamin Peterson
acc9dcc688
remove unused variable
2009-04-02 02:27:56 +00:00
Benjamin Peterson
d1e5493a26
rewrite error handling to make sense
2009-04-02 02:27:20 +00:00
Benjamin Peterson
22081a1364
fix ref leaks
2009-04-02 01:50:37 +00:00
Benjamin Peterson
9762a3eb87
add io and _pyio to test___all__
2009-04-02 01:14:45 +00:00
Benjamin Peterson
bfb959404f
Merged revisions 71014 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71014 | benjamin.peterson | 2009-04-01 20:03:17 -0500 (Wed, 01 Apr 2009) | 1 line
handle SEEK_ constants in test_io
........
2009-04-02 01:13:40 +00:00
Benjamin Peterson
8d5fd4ed5c
add SEEK_ constants to _pyio
2009-04-02 01:03:26 +00:00
Benjamin Peterson
7fe9853596
make 'c' only accept bytes and 'C' only unicode #5499
2009-04-02 00:33:55 +00:00
Benjamin Peterson
605b9d9fe8
fix markup
2009-04-02 00:24:00 +00:00
Brett Cannon
bc6c2b5c6b
Explain a little about the explanation.
2009-04-01 23:36:48 +00:00
Brett Cannon
9f4cb1c89d
Add a meta path importer example.
2009-04-01 23:26:47 +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
R. David Murray
cde68cfc14
Merged revisions 70997 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70997 | r.david.murray | 2009-04-01 17:26:18 -0400 (Wed, 01 Apr 2009) | 3 lines
Add tests checking the CSV module's ability to handle
embedded newlines in quoted field values.
........
2009-04-01 22:37:58 +00:00
Benjamin Peterson
0e4caf4bd2
Merged revisions 70992,70995 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70992 | georg.brandl | 2009-04-01 16:00:55 -0500 (Wed, 01 Apr 2009) | 1 line
#4572 : add SEEK_* values as constants in io.py.
........
r70995 | benjamin.peterson | 2009-04-01 16:12:54 -0500 (Wed, 01 Apr 2009) | 1 line
add seek constants to __all__
........
2009-04-01 21:22:20 +00:00
Raymond Hettinger
1fd32a6731
Add link to an alternative generator with a long-period.
2009-04-01 20:52:13 +00:00
Jesse Noller
4b413d320d
Merged revisions 70953 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70953 | hirokazu.yamamoto | 2009-04-01 10:13:52 -0500 (Wed, 01 Apr 2009) | 1 line
Fixed compile error on windows.
........
2009-04-01 20:51:28 +00:00
Brett Cannon
16248a49b9
Add some clarification to the importlib docs.
2009-04-01 20:47:14 +00:00
Benjamin Peterson
91d7dfd77c
barry has already been causing test breakage
2009-04-01 20:38:13 +00:00
Brett Cannon
fcc052763e
Merged revisions 70979 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70979 | brett.cannon | 2009-04-01 13:25:48 -0700 (Wed, 01 Apr 2009) | 3 lines
test_warnings ironically had a single test that was not protecting the warnings
filter and was resetting it.
........
2009-04-01 20:27:29 +00:00
Senthil Kumaran
b3af08f84c
Fix for issue5040. Adding support for unicode message passing and tests for unicode message and test for Content-Length.
2009-04-01 20:20:43 +00:00
Brett Cannon
df8709d7b1
Merged revisions 70975 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70975 | brett.cannon | 2009-04-01 12:57:10 -0700 (Wed, 01 Apr 2009) | 4 lines
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 20:01:47 +00:00
Raymond Hettinger
3f10a952f6
Issue #5647 : MutableSet.__iand__() no longer mutates self during iteration.
2009-04-01 19:05:50 +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
R. David Murray
86fe876fb5
Remove redundant import of tkinter.
2009-04-01 16:39:21 +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
Georg Brandl
c748506427
#5636 : fix next -> __next__ in csv reader docs.
2009-04-01 15:53:15 +00:00
Ronald Oussoren
9ae3640b0e
Fix typo in configure line that caused the build installer
...
to not use the right LDFLAGS settings.
2009-04-01 14:59:59 +00:00
Kristján Valur Jónsson
42a40c59a0
Allow skipping of regression tests not supported on windows. This reduces noise in the regression test suite for py3k on Windows.
2009-04-01 11:28:47 +00:00
Brett Cannon
e3944a5e1e
The BDFL has retired! Long live the FLUFL (Friendly Language Uncle For Life)!
2009-04-01 05:08:41 +00:00