]> granicus.if.org Git - python/log
python
15 years agoUpdate documentation for csv module to reflect changes in code,
R. David Murray [Sat, 4 Apr 2009 01:38:38 +0000 (01:38 +0000)]
Update documentation for csv module to reflect changes in code,
specifically that it now expects unicode input (and therefore the
paragraph about it not handling unicode is deleted, as well as
the 'how to handle unicode' examples) and that files should
be opened with "newline=''" instead of binary mode.  Also removed
unused BytesIO import from test_csv.

This addresses issue 4847.

15 years agofix name again
Benjamin Peterson [Sat, 4 Apr 2009 01:21:56 +0000 (01:21 +0000)]
fix name again

15 years agofix name
Benjamin Peterson [Sat, 4 Apr 2009 00:46:15 +0000 (00:46 +0000)]
fix name

15 years agofix this test
Benjamin Peterson [Fri, 3 Apr 2009 23:57:05 +0000 (23:57 +0000)]
fix this test

15 years agofix naming
Benjamin Peterson [Fri, 3 Apr 2009 23:47:26 +0000 (23:47 +0000)]
fix naming

15 years agoAdded Misc/NEWS entry for PEP 378.
Eric Smith [Fri, 3 Apr 2009 22:25:33 +0000 (22:25 +0000)]
Added Misc/NEWS entry for PEP 378.

15 years agoos.path.listdir -> os.listdir
Benjamin Peterson [Fri, 3 Apr 2009 22:23:43 +0000 (22:23 +0000)]
os.path.listdir -> os.listdir

15 years agoupdate NEWS
Benjamin Peterson [Fri, 3 Apr 2009 22:22:42 +0000 (22:22 +0000)]
update NEWS

15 years agoPy_BuildValue's 'c' code should use byte strings #5666
Benjamin Peterson [Fri, 3 Apr 2009 22:18:11 +0000 (22:18 +0000)]
Py_BuildValue's 'c' code should use byte strings #5666

15 years agoAdded ',' thousands grouping to int.__format__. See PEP 378.
Eric Smith [Fri, 3 Apr 2009 14:45:06 +0000 (14:45 +0000)]
Added ',' thousands grouping to int.__format__. See PEP 378.

This is incomplete, but I want to get some version into the next alpha. I am still working on:
Documentation.
More tests.
Implement for floats.

In addition, there's an existing bug with 'n' formatting that carries forward to thousands grouping (issue 5515).

15 years agoRemoved mixed tabs and whitespace.
Eric Smith [Fri, 3 Apr 2009 11:19:31 +0000 (11:19 +0000)]
Removed mixed tabs and whitespace.

15 years agoMake http.server main program nicer for interactive use.
Alexandre Vassalotti [Fri, 3 Apr 2009 07:16:55 +0000 (07:16 +0000)]
Make http.server main program nicer for interactive use.
Remove unreachable calls to test().

This restores the behavior of SimpleHTTPServer, where a user could
type "python -m SimpleHTTPServer" and get a simple server for sharing
files. Now, you can do the same thing with "python3 -m http.server".

15 years agoUndocument the existence of the memo attribute and its main use-case.
Alexandre Vassalotti [Fri, 3 Apr 2009 06:58:20 +0000 (06:58 +0000)]
Undocument the existence of the memo attribute and its main use-case.

Apparently, Guido don't like this behavior. [1]  I also agree that the memo
should be left as an implementation detail.

[1]: http://mail.python.org/pipermail/python-dev/2009-March/086809.html

15 years agoOptimize slicing of bytes and bytearray by avoiding useless copying.
Alexandre Vassalotti [Fri, 3 Apr 2009 06:38:02 +0000 (06:38 +0000)]
Optimize slicing of bytes and bytearray by avoiding useless copying.

This restores the behavior that was present in Python 2.x.

15 years agoEmphasize that Unpickler.memo is not necessarily a dict.
Alexandre Vassalotti [Fri, 3 Apr 2009 06:19:27 +0000 (06:19 +0000)]
Emphasize that Unpickler.memo is not necessarily a dict.

15 years agoAdd more examples in pickle documentation.
Alexandre Vassalotti [Fri, 3 Apr 2009 06:13:29 +0000 (06:13 +0000)]
Add more examples in pickle documentation.

15 years agoRemove old reference to cPickle.
Alexandre Vassalotti [Fri, 3 Apr 2009 06:07:29 +0000 (06:07 +0000)]
Remove old reference to cPickle.

15 years agoFix typo.
Raymond Hettinger [Fri, 3 Apr 2009 05:47:33 +0000 (05:47 +0000)]
Fix typo.

15 years agoUpdate a comment about why the __module__ can sometime be NULL.
Alexandre Vassalotti [Fri, 3 Apr 2009 04:17:41 +0000 (04:17 +0000)]
Update a comment about why the __module__ can sometime be NULL.
Initialize last_string and arg member of Unpickler.

15 years agoLocalize the function lookup in timeit.
Raymond Hettinger [Fri, 3 Apr 2009 02:45:36 +0000 (02:45 +0000)]
Localize the function lookup in timeit.

15 years agoUpdate docs for namedtuple's renaming change.
Raymond Hettinger [Thu, 2 Apr 2009 22:37:59 +0000 (22:37 +0000)]
Update docs for namedtuple's renaming change.

15 years agoHave namedtuple's field renamer assign names that
Raymond Hettinger [Thu, 2 Apr 2009 22:31:59 +0000 (22:31 +0000)]
Have namedtuple's field renamer assign names that
are consistent with the corresponding tuple index.

15 years agoBlocked revisions 71070 via svnmerge
Antoine Pitrou [Thu, 2 Apr 2009 21:42:24 +0000 (21:42 +0000)]
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.
........

15 years agoIn 3k this becomes an items() call.
R. David Murray [Thu, 2 Apr 2009 19:44:43 +0000 (19:44 +0000)]
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.
........

15 years agoA fix for Brett's fix for his fix. I think we got it right this time.
R. David Murray [Thu, 2 Apr 2009 19:21:26 +0000 (19:21 +0000)]
A fix for Brett's fix for his fix.  I think we got it right this time.

15 years agoA fix for the fix for the svnmerge metadata.
Brett Cannon [Thu, 2 Apr 2009 19:02:06 +0000 (19:02 +0000)]
A fix for the fix for the svnmerge metadata.

15 years agor71034 somehow deleted all of the metadata for svnmerge. This is my attempt to fix...
Brett Cannon [Thu, 2 Apr 2009 18:57:15 +0000 (18:57 +0000)]
r71034 somehow deleted all of the metadata for svnmerge. This is my attempt to fix my mistake.

15 years agoRewrap some long lines.
Mark Dickinson [Thu, 2 Apr 2009 18:41:40 +0000 (18:41 +0000)]
Rewrap some long lines.

15 years agoimportlib.test.source.test_abc_loader was making a bad assumption that all file
Brett Cannon [Thu, 2 Apr 2009 17:54:43 +0000 (17:54 +0000)]
importlib.test.source.test_abc_loader was making a bad assumption that all file
paths used '/' as a path separator.

Fixes issue #5646.

15 years agoMake a test in importlib have a more robust test value.
Brett Cannon [Thu, 2 Apr 2009 15:35:09 +0000 (15:35 +0000)]
Make a test in importlib have a more robust test value.

15 years agoGive a more informative message on an importlib test upon failure.
Brett Cannon [Thu, 2 Apr 2009 15:32:07 +0000 (15:32 +0000)]
Give a more informative message on an importlib test upon failure.

15 years agoIssue #5640: Fix _multibytecodec so that CJK codecs don't repeat
Hye-Shik Chang [Thu, 2 Apr 2009 10:33:16 +0000 (10:33 +0000)]
Issue #5640: Fix _multibytecodec so that CJK codecs don't repeat
error replacement returned by codec error callbacks twice in
IncrementalEncoder and StreamWriter.

15 years agoCheck that on a platform that is expected to have a case-insensitive filesystem
Brett Cannon [Thu, 2 Apr 2009 05:17:54 +0000 (05:17 +0000)]
Check that on a platform that is expected to have a case-insensitive filesystem
that is in fact the case.

Closes issue #5442.

15 years agoClarify that datetime strftime does not produce leap seconds and datetime
R. David Murray [Thu, 2 Apr 2009 04:50:03 +0000 (04:50 +0000)]
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.

15 years agoMerged revisions 71031 via svnmerge from
Brett Cannon [Thu, 2 Apr 2009 03:41:46 +0000 (03:41 +0000)]
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.
........

15 years agoFixing the issue4860. Escaping the embedded '"' in the js_output method of Morsel...
Senthil Kumaran [Thu, 2 Apr 2009 03:02:03 +0000 (03:02 +0000)]
Fixing the issue4860. Escaping the embedded '"' in the js_output method of Morsel class.

15 years agoFirst batch of signature documentation changes; using default argument syntax where...
Georg Brandl [Thu, 2 Apr 2009 02:56:10 +0000 (02:56 +0000)]
First batch of signature documentation changes; using default argument syntax where applicable.

15 years agoremove unused variable
Benjamin Peterson [Thu, 2 Apr 2009 02:27:56 +0000 (02:27 +0000)]
remove unused variable

15 years agorewrite error handling to make sense
Benjamin Peterson [Thu, 2 Apr 2009 02:27:20 +0000 (02:27 +0000)]
rewrite error handling to make sense

15 years agofix ref leaks
Benjamin Peterson [Thu, 2 Apr 2009 01:50:37 +0000 (01:50 +0000)]
fix ref leaks

15 years agoadd io and _pyio to test___all__
Benjamin Peterson [Thu, 2 Apr 2009 01:14:45 +0000 (01:14 +0000)]
add io and _pyio to test___all__

15 years agoMerged revisions 71014 via svnmerge from
Benjamin Peterson [Thu, 2 Apr 2009 01:13:40 +0000 (01:13 +0000)]
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
........

15 years agoadd SEEK_ constants to _pyio
Benjamin Peterson [Thu, 2 Apr 2009 01:03:26 +0000 (01:03 +0000)]
add SEEK_ constants to _pyio

15 years agomake 'c' only accept bytes and 'C' only unicode #5499
Benjamin Peterson [Thu, 2 Apr 2009 00:33:55 +0000 (00:33 +0000)]
make 'c' only accept bytes and 'C' only unicode #5499

15 years agofix markup
Benjamin Peterson [Thu, 2 Apr 2009 00:24:00 +0000 (00:24 +0000)]
fix markup

15 years agoExplain a little about the explanation.
Brett Cannon [Wed, 1 Apr 2009 23:36:48 +0000 (23:36 +0000)]
Explain a little about the explanation.

15 years agoAdd a meta path importer example.
Brett Cannon [Wed, 1 Apr 2009 23:26:47 +0000 (23:26 +0000)]
Add a meta path importer example.

15 years ago#5656: detect correct encoding of files when reporting coverage in trace.py, and...
Georg Brandl [Wed, 1 Apr 2009 23:07:29 +0000 (23:07 +0000)]
#5656: detect correct encoding of files when reporting coverage in trace.py, and ignore files in the temporary directory when reporting.

15 years agoMerged revisions 70997 via svnmerge from
R. David Murray [Wed, 1 Apr 2009 22:37:58 +0000 (22:37 +0000)]
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.
........

15 years agoMerged revisions 70992,70995 via svnmerge from
Benjamin Peterson [Wed, 1 Apr 2009 21:22:20 +0000 (21:22 +0000)]
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__
........

15 years agoAdd link to an alternative generator with a long-period.
Raymond Hettinger [Wed, 1 Apr 2009 20:52:13 +0000 (20:52 +0000)]
Add link to an alternative generator with a long-period.

15 years agoMerged revisions 70953 via svnmerge from
Jesse Noller [Wed, 1 Apr 2009 20:51:28 +0000 (20:51 +0000)]
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.
........

15 years agoAdd some clarification to the importlib docs.
Brett Cannon [Wed, 1 Apr 2009 20:47:14 +0000 (20:47 +0000)]
Add some clarification to the importlib docs.

15 years agobarry has already been causing test breakage
Benjamin Peterson [Wed, 1 Apr 2009 20:38:13 +0000 (20:38 +0000)]
barry has already been causing test breakage

15 years agoMerged revisions 70979 via svnmerge from
Brett Cannon [Wed, 1 Apr 2009 20:27:29 +0000 (20:27 +0000)]
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.
........

15 years agoFix for issue5040. Adding support for unicode message passing and tests for unicode...
Senthil Kumaran [Wed, 1 Apr 2009 20:20:43 +0000 (20:20 +0000)]
Fix for issue5040. Adding support for unicode message passing and tests for unicode message and test for Content-Length.

15 years agoMerged revisions 70975 via svnmerge from
Brett Cannon [Wed, 1 Apr 2009 20:01:47 +0000 (20:01 +0000)]
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.
........

15 years agoIssue #5647: MutableSet.__iand__() no longer mutates self during iteration.
Raymond Hettinger [Wed, 1 Apr 2009 19:05:50 +0000 (19:05 +0000)]
Issue #5647: MutableSet.__iand__() no longer mutates self during iteration.

15 years agoMerged revisions 70965 via svnmerge from
Brett Cannon [Wed, 1 Apr 2009 18:13:07 +0000 (18:13 +0000)]
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.
........

15 years agoRemove redundant import of tkinter.
R. David Murray [Wed, 1 Apr 2009 16:39:21 +0000 (16:39 +0000)]
Remove redundant import of tkinter.

15 years agoMerged revisions 70956 via svnmerge from
Brett Cannon [Wed, 1 Apr 2009 16:06:01 +0000 (16:06 +0000)]
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.
........

15 years ago#5636: fix next -> __next__ in csv reader docs.
Georg Brandl [Wed, 1 Apr 2009 15:53:15 +0000 (15:53 +0000)]
#5636: fix next -> __next__ in csv reader docs.

15 years agoFix typo in configure line that caused the build installer
Ronald Oussoren [Wed, 1 Apr 2009 14:59:59 +0000 (14:59 +0000)]
Fix typo in configure line that caused the build installer
to not use the right LDFLAGS settings.

15 years agoAllow skipping of regression tests not supported on windows. This reduces noise...
Kristján Valur Jónsson [Wed, 1 Apr 2009 11:28:47 +0000 (11:28 +0000)]
Allow skipping of regression tests not supported on windows.  This reduces noise in the regression test suite for py3k on Windows.

15 years agoThe BDFL has retired! Long live the FLUFL (Friendly Language Uncle For Life)!
Brett Cannon [Wed, 1 Apr 2009 05:08:41 +0000 (05:08 +0000)]
The BDFL has retired! Long live the FLUFL (Friendly Language Uncle For Life)!

15 years ago#5624: _winreg is winreg in Python 3.
Georg Brandl [Wed, 1 Apr 2009 04:28:33 +0000 (04:28 +0000)]
#5624: _winreg is winreg in Python 3.

15 years agoMerged revisions 70940 via svnmerge
Georg Brandl [Wed, 1 Apr 2009 04:27:47 +0000 (04:27 +0000)]
Merged revisions 70940 via svnmerge

........
  r70940 | georg.brandl | 2009-03-31 23:21:14 -0500 (Di, 31 Mär 2009) | 2 lines

  The SimpleXMLRPCServer's CGI handler now runs like a pony.
........

15 years agoMerged revisions 70931 via svnmerge from
Jack Diederich [Wed, 1 Apr 2009 04:27:09 +0000 (04:27 +0000)]
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
........

15 years agoMerged revisions 70936 via svnmerge from
R. David Murray [Wed, 1 Apr 2009 03:42:00 +0000 (03:42 +0000)]
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.
........

15 years agoRip out a useless method that the superclass implements properly.
Brett Cannon [Wed, 1 Apr 2009 03:35:20 +0000 (03:35 +0000)]
Rip out a useless method that the superclass implements properly.

15 years agoAn HTTPResponse is, by its nature, readable.
Jeremy Hylton [Wed, 1 Apr 2009 02:35:56 +0000 (02:35 +0000)]
An HTTPResponse is, by its nature, readable.

15 years agoMerged revisions 70930 via svnmerge from
R. David Murray [Tue, 31 Mar 2009 23:50:31 +0000 (23:50 +0000)]
Merged revisions 70930 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70930 | r.david.murray | 2009-03-31 19:45:39 -0400 (Tue, 31 Mar 2009) | 3 lines

  Fix Windows test skip error revealed by buildbot.  Also a comment spelling
  correction in a previously fixed test.
........

15 years agoMerged revisions 70734,70775,70856,70874,70876-70877 via svnmerge
R. David Murray [Tue, 31 Mar 2009 23:16:50 +0000 (23:16 +0000)]
Merged revisions 70734,70775,70856,70874,70876-70877 via svnmerge

........
  r70734 | r.david.murray | 2009-03-30 15:04:00 -0400 (Mon, 30 Mar 2009) | 7 lines

  Add import_function method to test.test_support, and modify a number of
  tests that expect to be skipped if imports fail or functions don't
  exist to use import_function and import_module.  The ultimate goal is
  to change regrtest to not skip automatically on ImportError.  Checking
  in now to make sure the buldbots don't show any errors on platforms
  I can't direct test on.
........
  r70775 | r.david.murray | 2009-03-30 19:05:48 -0400 (Mon, 30 Mar 2009) | 4 lines

  Change more tests to use import_module for the modules that
  should cause tests to be skipped.  Also rename import_function
  to the more descriptive get_attribute and add a docstring.
........
  r70856 | r.david.murray | 2009-03-31 14:32:17 -0400 (Tue, 31 Mar 2009) | 7 lines

  A few more test skips via import_module, and change import_module to
  return the error message produced by importlib, so that if an import
  in the package whose import is being wrapped is what failed the skip
  message will contain the name of that module instead of the name of the
  wrapped module.  Also fixed formatting of some previous comments.
........
  r70874 | r.david.murray | 2009-03-31 15:33:15 -0400 (Tue, 31 Mar 2009) | 5 lines

  Improve test_support.import_module docstring, remove
  deprecated flag from get_attribute since it isn't likely
  to do anything useful.
........
  r70876 | r.david.murray | 2009-03-31 15:49:15 -0400 (Tue, 31 Mar 2009) | 4 lines

  Remove the regrtest check that turns any ImportError into a skipped test.
  Hopefully all modules whose imports legitimately result in a skipped
  test have been properly wrapped by the previous commits.
........
  r70877 | r.david.murray | 2009-03-31 15:57:24 -0400 (Tue, 31 Mar 2009) | 2 lines

  Add NEWS entry for regrtest change.
........

15 years agofix TextIOWrapper.read() when the buffer is not readable #5628
Benjamin Peterson [Tue, 31 Mar 2009 23:11:32 +0000 (23:11 +0000)]
fix TextIOWrapper.read() when the buffer is not readable #5628

15 years agoImprove examples for collections.deque()
Raymond Hettinger [Tue, 31 Mar 2009 22:52:48 +0000 (22:52 +0000)]
Improve examples for collections.deque()

15 years agoMerged revisions 70920,70922 via svnmerge from
Tarek Ziadé [Tue, 31 Mar 2009 22:50:54 +0000 (22:50 +0000)]
Merged revisions 70920,70922 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70920 | tarek.ziade | 2009-03-31 17:44:10 -0500 (Tue, 31 Mar 2009) | 1 line

  catching msvc9compiler error as well
........
  r70922 | tarek.ziade | 2009-03-31 17:47:01 -0500 (Tue, 31 Mar 2009) | 1 line

  fixed the test for win32 CompileError
........

15 years agoRun 2to3 over new script.
Georg Brandl [Tue, 31 Mar 2009 22:46:50 +0000 (22:46 +0000)]
Run 2to3 over new script.

15 years agoReadd -n.
Martin v. Löwis [Tue, 31 Mar 2009 22:42:41 +0000 (22:42 +0000)]
Readd -n.

15 years agoMerged revisions 70910 via svnmerge from
Tarek Ziadé [Tue, 31 Mar 2009 22:37:55 +0000 (22:37 +0000)]
Merged revisions 70910 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70910 | tarek.ziade | 2009-03-31 17:27:23 -0500 (Tue, 31 Mar 2009) | 1 line

  #5583 Added optional Extensions in Distutils
........

15 years agoMerged revisions 70908 via svnmerge from
Jesse Noller [Tue, 31 Mar 2009 22:36:44 +0000 (22:36 +0000)]
Merged revisions 70908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70908 | jesse.noller | 2009-03-31 17:20:35 -0500 (Tue, 31 Mar 2009) | 1 line

  Issue 5619: Pass MS CRT debug flags into subprocesses
........

15 years agoMerged revisions 70886,70888-70892 via svnmerge from
Tarek Ziadé [Tue, 31 Mar 2009 21:37:16 +0000 (21:37 +0000)]
Merged revisions 70886,70888-70892 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70886 | tarek.ziade | 2009-03-31 15:50:59 -0500 (Tue, 31 Mar 2009) | 1 line

  added tests for the clean command
........
  r70888 | tarek.ziade | 2009-03-31 15:53:13 -0500 (Tue, 31 Mar 2009) | 1 line

  more tests for the register command
........
  r70889 | tarek.ziade | 2009-03-31 15:53:55 -0500 (Tue, 31 Mar 2009) | 1 line

  more tests for the upload command
........
  r70890 | tarek.ziade | 2009-03-31 15:54:38 -0500 (Tue, 31 Mar 2009) | 1 line

  added test to the install_data command
........
  r70891 | tarek.ziade | 2009-03-31 15:55:21 -0500 (Tue, 31 Mar 2009) | 1 line

  added tests to the install_headers command
........
  r70892 | tarek.ziade | 2009-03-31 15:56:11 -0500 (Tue, 31 Mar 2009) | 1 line

  making sdist and config test silents
........

15 years agoMerged revisions 70879 via svnmerge from
Hirokazu Yamamoto [Tue, 31 Mar 2009 20:43:56 +0000 (20:43 +0000)]
Merged revisions 70879 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70879 | hirokazu.yamamoto | 2009-04-01 05:14:04 +0900 | 1 line

  Issue #5387: Fixed mmap.move crash by integer overflow. (take2)
........

15 years agoAdd missing label.
Georg Brandl [Tue, 31 Mar 2009 19:06:37 +0000 (19:06 +0000)]
Add missing label.

15 years ago#1717: fix-up docs for comparison in newtypes document.
Georg Brandl [Tue, 31 Mar 2009 18:56:38 +0000 (18:56 +0000)]
#1717: fix-up docs for comparison in newtypes document.

15 years agoMerged revisions 70849,70852 via svnmerge from
Jesse Noller [Tue, 31 Mar 2009 18:48:42 +0000 (18:48 +0000)]
Merged revisions 70849,70852 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70849 | jesse.noller | 2009-03-31 13:12:35 -0500 (Tue, 31 Mar 2009) | 1 line

  Apply patch for netbsd multiprocessing support
........
  r70852 | jesse.noller | 2009-03-31 13:27:14 -0500 (Tue, 31 Mar 2009) | 1 line

  missed the news/acks for netbsd patch
........

15 years ago#5241: document missing A in regex howto.
Georg Brandl [Tue, 31 Mar 2009 18:41:03 +0000 (18:41 +0000)]
#5241: document missing A in regex howto.

15 years agoBlocked revisions 70858 via svnmerge
Georg Brandl [Tue, 31 Mar 2009 18:40:41 +0000 (18:40 +0000)]
Blocked revisions 70858 via svnmerge

........
  r70858 | georg.brandl | 2009-03-31 13:38:56 -0500 (Di, 31 Mär 2009) | 1 line

  #5241: document missing U in regex howto.
........

15 years agoMerged revisions 70779 via svnmerge from
R. David Murray [Tue, 31 Mar 2009 18:27:51 +0000 (18:27 +0000)]
Merged revisions 70779 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70779 | r.david.murray | 2009-03-30 19:10:37 -0400 (Mon, 30 Mar 2009) | 3 lines

  Actually suppress warnings in test_at_least_import_untested_modules
  inside the catch_warnings context manager.
........

15 years agoPer the language summit, the optional fastpath imports should use from-import-star.
Raymond Hettinger [Tue, 31 Mar 2009 17:51:51 +0000 (17:51 +0000)]
Per the language summit, the optional fastpath imports should use from-import-star.

15 years agoFix a leaking "pathname" in import.c
Kristján Valur Jónsson [Tue, 31 Mar 2009 17:47:50 +0000 (17:47 +0000)]
Fix a leaking "pathname" in import.c

15 years agoget_file() no longer leaks a FILE structure. If given a file descriptor, it calls...
Kristján Valur Jónsson [Tue, 31 Mar 2009 17:43:39 +0000 (17:43 +0000)]
get_file() no longer leaks a FILE structure.  If given a file descriptor, it calls dup() to get a new handle.  Then both the FILE object and the fd can be closed.
This is important, because otherwise, the leaked FILE object will be closed on process exit, causing assertions on Windows, e.g. in the test_multiprocessing.py regression test.

15 years agoForward-port of #992207 fix: document that the parser only accepts \\n newlines....
Georg Brandl [Tue, 31 Mar 2009 16:57:13 +0000 (16:57 +0000)]
Forward-port of #992207 fix: document that the parser only accepts \\n newlines. (And remove a leftover footnote.)

15 years agoBlocked revisions 70838 via svnmerge
Georg Brandl [Tue, 31 Mar 2009 16:55:13 +0000 (16:55 +0000)]
Blocked revisions 70838 via svnmerge

........
  r70838 | georg.brandl | 2009-03-31 11:54:38 -0500 (Di, 31 Mär 2009) | 1 line

  #992207: document that the parser only accepts \\n newlines.
........

15 years agoMake urllib use HTTP/1.1. It seems to work now, but hasn't been
Jeremy Hylton [Tue, 31 Mar 2009 16:37:16 +0000 (16:37 +0000)]
Make urllib use HTTP/1.1.  It seems to work now, but hasn't been
carefully tested.

15 years ago#5548: do return the new module from PyMODINIT_FUNC functions.
Georg Brandl [Tue, 31 Mar 2009 15:52:41 +0000 (15:52 +0000)]
#5548: do return the new module from PyMODINIT_FUNC functions.

15 years ago#5566: remove duplicate entry.
Georg Brandl [Tue, 31 Mar 2009 15:49:02 +0000 (15:49 +0000)]
#5566: remove duplicate entry.

15 years agoBlocked revisions 70825 via svnmerge
Georg Brandl [Tue, 31 Mar 2009 15:48:12 +0000 (15:48 +0000)]
Blocked revisions 70825 via svnmerge

........
  r70825 | georg.brandl | 2009-03-31 10:46:30 -0500 (Di, 31 Mär 2009) | 1 line

  #5566: fix versionadded from PyLong ssize_t functions.
........

15 years agoMerged revisions 70801,70809 via svnmerge from
Jeremy Hylton [Tue, 31 Mar 2009 15:26:37 +0000 (15:26 +0000)]
Merged revisions 70801,70809 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

The merge ran into a lot of conflicts because dicts were replaced with
sets in the Python 3 version of the symbol table.

........
  r70801 | jeremy.hylton | 2009-03-31 09:17:03 -0400 (Tue, 31 Mar 2009) | 3 lines

  Add is_declared_global() which distinguishes between implicit and
  explicit global variables.
........
  r70809 | jeremy.hylton | 2009-03-31 09:48:15 -0400 (Tue, 31 Mar 2009) | 14 lines

  Global statements from one function leaked into parallel functions.

  Re http://bugs.python.org/issue4315

  The symbol table used the same name dictionaries to recursively
  analyze each of its child blocks, even though the dictionaries are
  modified during analysis.  The fix is to create new temporary
  dictionaries via the analyze_child_block().  The only information that
  needs to propagate back up is the names of the free variables.

  Add more comments and break out a helper function.  This code doesn't
  get any easier to understand when you only look at it once a year.
........

15 years agoUpdate HTTPResponse documentation and add placeholder for HTTPMessage.
Jeremy Hylton [Tue, 31 Mar 2009 14:40:19 +0000 (14:40 +0000)]
Update HTTPResponse documentation and add placeholder for HTTPMessage.

15 years agoDocument public attributes of urllib.request.Request.
Jeremy Hylton [Tue, 31 Mar 2009 14:38:13 +0000 (14:38 +0000)]
Document public attributes of urllib.request.Request.