]> granicus.if.org Git - python/log
python
15 years agoAdd the fix for issue 4509 to the mapping methods.
Alexandre Vassalotti [Sun, 5 Jul 2009 19:57:00 +0000 (19:57 +0000)]
Add the fix for issue 4509 to the mapping methods.

15 years agoBlocked revisions 73858 via svnmerge
Mark Dickinson [Sun, 5 Jul 2009 10:03:49 +0000 (10:03 +0000)]
Blocked revisions 73858 via svnmerge

........
  r73858 | mark.dickinson | 2009-07-05 11:01:24 +0100 (Sun, 05 Jul 2009) | 3 lines

  Issues #1530559, #1741130:  Fix various inconsistencies in struct.pack
  integer packing, and reenable some previously broken tests.
........

15 years agoAdd NEWS entries for the changes I made recently.
Alexandre Vassalotti [Sun, 5 Jul 2009 06:50:08 +0000 (06:50 +0000)]
Add NEWS entries for the changes I made recently.

15 years agoIssue 4005: Remove .sort() call on dict_keys object.
Alexandre Vassalotti [Sun, 5 Jul 2009 06:42:44 +0000 (06:42 +0000)]
Issue 4005: Remove .sort() call on dict_keys object.

This caused pydoc to fail when there was a zip file in sys.path.

Patch contributed by Amaury Forgeot d'Arc.

15 years agoBlocked revisions 73854 via svnmerge
Alexandre Vassalotti [Sun, 5 Jul 2009 06:34:48 +0000 (06:34 +0000)]
Blocked revisions 73854 via svnmerge

........
  r73854 | alexandre.vassalotti | 2009-07-05 02:33:41 -0400 (Sun, 05 Jul 2009) | 2 lines

  Backport test cases added in r73852.
........

15 years agoBlocked revisions 73846-73847 via svnmerge
Alexandre Vassalotti [Sun, 5 Jul 2009 06:31:55 +0000 (06:31 +0000)]
Blocked revisions 73846-73847 via svnmerge

........
  r73846 | alexandre.vassalotti | 2009-07-05 00:22:40 -0400 (Sun, 05 Jul 2009) | 6 lines

  Issue 2370: Add Python 3 warnings for the removal of operator.isCallable and
  operator.sequenceIncludes.

  Patch contributed by Jeff Balogh (and updated slightly by me).
........
  r73847 | alexandre.vassalotti | 2009-07-05 00:25:46 -0400 (Sun, 05 Jul 2009) | 2 lines

  Fix bad variable name in r73846.
........

15 years agoFix array.extend and array.__iadd__ to handle the case where an array
Alexandre Vassalotti [Sun, 5 Jul 2009 06:25:14 +0000 (06:25 +0000)]
Fix array.extend and array.__iadd__ to handle the case where an array
is extended with itself.

This bug is specific the py3k version of arraymodule.c

15 years agoAdd more test cases to BaseTest.test_memoryview_no_resize.
Alexandre Vassalotti [Sun, 5 Jul 2009 05:47:28 +0000 (05:47 +0000)]
Add more test cases to BaseTest.test_memoryview_no_resize.

15 years agoIssue 4509: Do not modify an array if we know the change would result
Alexandre Vassalotti [Sun, 5 Jul 2009 05:38:18 +0000 (05:38 +0000)]
Issue 4509: Do not modify an array if we know the change would result
in a failure due to exported buffers.

15 years agohttp://bugs.python.org/issue6381
Kristján Valur Jónsson [Sat, 4 Jul 2009 15:18:00 +0000 (15:18 +0000)]
http://bugs.python.org/issue6381
merging revision 73819 from trunk

15 years agoRevert last change, which was incorrect.
Kristján Valur Jónsson [Sat, 4 Jul 2009 15:16:38 +0000 (15:16 +0000)]
Revert last change, which was incorrect.

15 years agohttp://bugs.python.org/issue6381
Kristján Valur Jónsson [Sat, 4 Jul 2009 15:09:25 +0000 (15:09 +0000)]
http://bugs.python.org/issue6381
merging revision 73819 from trunk

15 years agochange deprecated unittest method calls into their proper names.
Gregory P. Smith [Sat, 4 Jul 2009 08:32:15 +0000 (08:32 +0000)]
change deprecated unittest method calls into their proper names.

15 years agoMerged revisions 73834 via svnmerge from
Tarek Ziadé [Sat, 4 Jul 2009 03:00:50 +0000 (03:00 +0000)]
Merged revisions 73834 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73834 | tarek.ziade | 2009-07-04 04:59:19 +0200 (Sat, 04 Jul 2009) | 1 line

  using print statements when used for user interaction
........

15 years agoMerged revisions 73825-73826 via svnmerge from
Gregory P. Smith [Sat, 4 Jul 2009 02:46:54 +0000 (02:46 +0000)]
Merged revisions 73825-73826 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73825 | gregory.p.smith | 2009-07-03 18:49:29 -0700 (Fri, 03 Jul 2009) | 9 lines

  Use select.poll() in subprocess, when available, rather than select() so that
  it does not fail when file descriptors are large.  Fixes issue3392.

  Patch largely contributed by Frank Chu (fpmc) with some improvements by me.
  See http://bugs.python.org/issue3392.
........
  r73826 | gregory.p.smith | 2009-07-03 18:55:11 -0700 (Fri, 03 Jul 2009) | 2 lines

  news entry for r73825
........

Candidate for backporting to release31-maint as it is a bug fix and changes no
public API.

15 years agoMerged revisions 73818 via svnmerge from
Gregory P. Smith [Sat, 4 Jul 2009 02:28:47 +0000 (02:28 +0000)]
Merged revisions 73818 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73818 | gregory.p.smith | 2009-07-03 13:48:31 -0700 (Fri, 03 Jul 2009) | 2 lines

  Adds the select.PIPE_BUF attribute to expose the system constant.
........

15 years agoMerged revisions 73827 via svnmerge from
Tarek Ziadé [Sat, 4 Jul 2009 02:04:21 +0000 (02:04 +0000)]
Merged revisions 73827 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73827 | tarek.ziade | 2009-07-04 04:02:41 +0200 (Sat, 04 Jul 2009) | 1 line

  Fixed #6413: fixed log level in distutils.dist.announce
........

15 years ago#6398 typo: versio. -> version.
Ezio Melotti [Sat, 4 Jul 2009 01:14:30 +0000 (01:14 +0000)]
#6398 typo: versio. -> version.

15 years agohttp://bugs.python.org/issue6267
Kristján Valur Jónsson [Fri, 3 Jul 2009 23:23:50 +0000 (23:23 +0000)]
http://bugs.python.org/issue6267
Incorrect exception handling for xmlrpclient retry

15 years agoMerged revisions 73814-73815 via svnmerge from
Tarek Ziadé [Fri, 3 Jul 2009 19:22:23 +0000 (19:22 +0000)]
Merged revisions 73814-73815 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73814 | tarek.ziade | 2009-07-03 21:01:12 +0200 (Fri, 03 Jul 2009) | 1 line

  basic tests to raise distutils.file_util coverage
........
  r73815 | tarek.ziade | 2009-07-03 21:14:49 +0200 (Fri, 03 Jul 2009) | 1 line

  cleaned distutils.file_util
........

15 years agoremove duplicate declartions #6405
Benjamin Peterson [Fri, 3 Jul 2009 13:30:25 +0000 (13:30 +0000)]
remove duplicate declartions #6405

15 years agorip out bsddb support code
Benjamin Peterson [Fri, 3 Jul 2009 13:22:00 +0000 (13:22 +0000)]
rip out bsddb support code

15 years agoxrange -> range
Benjamin Peterson [Fri, 3 Jul 2009 13:18:18 +0000 (13:18 +0000)]
xrange -> range

15 years agoMerged revisions 73801 via svnmerge from
Tarek Ziadé [Fri, 3 Jul 2009 09:05:30 +0000 (09:05 +0000)]
Merged revisions 73801 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73801 | tarek.ziade | 2009-07-03 11:01:07 +0200 (Fri, 03 Jul 2009) | 1 line

  cleaned up distutils.command.build_py
........

15 years agoMerged revisions 73790 via svnmerge from
Tarek Ziadé [Fri, 3 Jul 2009 08:33:28 +0000 (08:33 +0000)]
Merged revisions 73790 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73790 | tarek.ziade | 2009-07-03 10:22:56 +0200 (Fri, 03 Jul 2009) | 1 line

  Fixed #6403 : package path usage for build_ext
........

15 years ago#4601: 'make install' did not set the permissions on library directories,
Amaury Forgeot d'Arc [Thu, 2 Jul 2009 23:08:45 +0000 (23:08 +0000)]
#4601: 'make install' did not set the permissions on library directories,
only root could start IDLE for example.

Beware that os.path.walk does not translate as is to os.walk!
the former uses a callback to call on each dir, the latter is a generator...

15 years agoMerged revisions 73781 via svnmerge from
Benjamin Peterson [Thu, 2 Jul 2009 21:55:39 +0000 (21:55 +0000)]
Merged revisions 73781 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73781 | benjamin.peterson | 2009-07-02 16:38:36 -0500 (Thu, 02 Jul 2009) | 1 line

  test that compile() accepts the future flag
........

15 years agoa little more fiddling to make flags like 2.x
Benjamin Peterson [Thu, 2 Jul 2009 21:54:36 +0000 (21:54 +0000)]
a little more fiddling to make flags like 2.x

15 years agothe old CO_FUTURE flags can't be commented out
Benjamin Peterson [Thu, 2 Jul 2009 21:44:01 +0000 (21:44 +0000)]
the old CO_FUTURE flags can't be commented out

15 years agorefactor logic a little when no sep or end is passed
Benjamin Peterson [Thu, 2 Jul 2009 18:25:26 +0000 (18:25 +0000)]
refactor logic a little when no sep or end is passed

15 years agoBlocked revisions 73776 via svnmerge
Benjamin Peterson [Thu, 2 Jul 2009 18:18:56 +0000 (18:18 +0000)]
Blocked revisions 73776 via svnmerge

........
  r73776 | benjamin.peterson | 2009-07-02 13:16:45 -0500 (Thu, 02 Jul 2009) | 1 line

  when print() gets unicode arguments, sep and end should be unicode by default #4618
........

15 years agoMerged revisions 73767 via svnmerge from
Jesus Cea [Thu, 2 Jul 2009 14:35:02 +0000 (14:35 +0000)]
Merged revisions 73767 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73767 | jesus.cea | 2009-07-02 16:30:18 +0200 (Thu, 02 Jul 2009) | 1 line

  multiprocessing doesn't compile in Solaris because a typo
........

15 years agoMerged revisions 73762 via svnmerge from
Tarek Ziadé [Thu, 2 Jul 2009 14:25:23 +0000 (14:25 +0000)]
Merged revisions 73762 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73762 | tarek.ziade | 2009-07-02 16:20:47 +0200 (Thu, 02 Jul 2009) | 1 line

  pep8-fied and cleaned up distutils.util
........

15 years agoMerged revisions 73756-73757 via svnmerge from
Tarek Ziadé [Thu, 2 Jul 2009 13:02:21 +0000 (13:02 +0000)]
Merged revisions 73756-73757 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73756 | tarek.ziade | 2009-07-02 14:47:54 +0200 (Thu, 02 Jul 2009) | 1 line

  raising bdist_dumb test coverage
........
  r73757 | tarek.ziade | 2009-07-02 14:51:56 +0200 (Thu, 02 Jul 2009) | 1 line

  cleaned up the bdist_dumb module
........

15 years agoMerged revisions 73744 via svnmerge from
Benjamin Peterson [Wed, 1 Jul 2009 15:47:07 +0000 (15:47 +0000)]
Merged revisions 73744 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73744 | benjamin.peterson | 2009-07-01 08:34:35 -0500 (Wed, 01 Jul 2009) | 1 line

  proxy the __exit__ call
........

15 years agoIssue #6369: Fix an RLE decompression bug in the binhex module.
Antoine Pitrou [Wed, 1 Jul 2009 14:53:06 +0000 (14:53 +0000)]
Issue #6369: Fix an RLE decompression bug in the binhex module.

15 years agoBlocked revisions 73638,73697 via svnmerge
Benjamin Peterson [Wed, 1 Jul 2009 13:47:12 +0000 (13:47 +0000)]
Blocked revisions 73638,73697 via svnmerge

........
  r73638 | kristjan.jonsson | 2009-06-28 16:04:17 -0500 (Sun, 28 Jun 2009) | 2 lines

  http://bugs.python.org/issue6267
  Cumulative patch to http and xmlrpc
........
  r73697 | raymond.hettinger | 2009-06-29 14:10:29 -0500 (Mon, 29 Jun 2009) | 1 line

  Issue 6370: Performance issue with collections.Counter().
........

15 years agohttp://bugs.python.org/issue6267
Kristján Valur Jónsson [Wed, 1 Jul 2009 10:01:31 +0000 (10:01 +0000)]
http://bugs.python.org/issue6267
porting revision 73638 to py3k

15 years agoremove cobject reference
Benjamin Peterson [Wed, 1 Jul 2009 03:34:25 +0000 (03:34 +0000)]
remove cobject reference

15 years agoRemove unused import for function that no longer exists.
R. David Murray [Wed, 1 Jul 2009 02:51:00 +0000 (02:51 +0000)]
Remove unused import for function that no longer exists.

15 years agoUpdated MSVC project files to follow PyCObject removal (r73729)
Hirokazu Yamamoto [Wed, 1 Jul 2009 02:36:00 +0000 (02:36 +0000)]
Updated MSVC project files to follow PyCObject removal (r73729)

15 years agoAdded svn:ignore.
Hirokazu Yamamoto [Wed, 1 Jul 2009 02:24:13 +0000 (02:24 +0000)]
Added svn:ignore.

15 years agoremove comment about PyNumber_Int
Benjamin Peterson [Wed, 1 Jul 2009 01:45:12 +0000 (01:45 +0000)]
remove comment about PyNumber_Int

15 years agoremove warnings supression
Benjamin Peterson [Wed, 1 Jul 2009 01:39:51 +0000 (01:39 +0000)]
remove warnings supression

15 years agoremove nested from __all__
Benjamin Peterson [Wed, 1 Jul 2009 01:38:23 +0000 (01:38 +0000)]
remove nested from __all__

15 years agoRemove docs for string.maketrans().
Raymond Hettinger [Wed, 1 Jul 2009 01:37:01 +0000 (01:37 +0000)]
Remove docs for string.maketrans().

15 years agoRemoved contextlib.nested()
Raymond Hettinger [Wed, 1 Jul 2009 01:32:12 +0000 (01:32 +0000)]
Removed contextlib.nested()

15 years agoremove reference to PyCObject
Benjamin Peterson [Wed, 1 Jul 2009 01:31:12 +0000 (01:31 +0000)]
remove reference to PyCObject

15 years agoremove PyCObject
Benjamin Peterson [Wed, 1 Jul 2009 01:28:55 +0000 (01:28 +0000)]
remove PyCObject

15 years agoMerged revisions 73725 via svnmerge from
Benjamin Peterson [Wed, 1 Jul 2009 01:06:56 +0000 (01:06 +0000)]
Merged revisions 73725 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r73725 | benjamin.peterson | 2009-06-30 19:49:09 -0500 (Tue, 30 Jun 2009) | 21 lines

  Merged revisions 73379,73388,73507,73722 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r73379 | benjamin.peterson | 2009-06-11 18:06:21 -0500 (Thu, 11 Jun 2009) | 1 line

    use a real conditional expresion
  ........
    r73388 | benjamin.peterson | 2009-06-12 09:44:29 -0500 (Fri, 12 Jun 2009) | 1 line

    fix typo in last fix
  ........
    r73507 | benjamin.peterson | 2009-06-22 13:32:04 -0500 (Mon, 22 Jun 2009) | 1 line

    remove svn:executable property
  ........
    r73722 | benjamin.peterson | 2009-06-30 19:44:30 -0500 (Tue, 30 Jun 2009) | 1 line

    replace fail* with assert*
  ........
................

15 years agoFix exception name in NEWS, spotted by Neal Norwitz
Amaury Forgeot d'Arc [Wed, 1 Jul 2009 00:48:39 +0000 (00:48 +0000)]
Fix exception name in NEWS, spotted by Neal Norwitz

15 years agoremove use of failIf
Benjamin Peterson [Wed, 1 Jul 2009 00:45:43 +0000 (00:45 +0000)]
remove use of failIf

15 years agoMerged revisions 73720 via svnmerge from
Benjamin Peterson [Wed, 1 Jul 2009 00:43:10 +0000 (00:43 +0000)]
Merged revisions 73720 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73720 | benjamin.peterson | 2009-06-30 19:36:41 -0500 (Tue, 30 Jun 2009) | 4 lines

  fix a few cases where automated fail -> assert translation messed up

  Thanks Joe Amenta
........

15 years agotest that depreacted methods give warnings
Benjamin Peterson [Tue, 30 Jun 2009 23:45:41 +0000 (23:45 +0000)]
test that depreacted methods give warnings

15 years agoMerged revisions 73717 via svnmerge from
Benjamin Peterson [Tue, 30 Jun 2009 23:35:19 +0000 (23:35 +0000)]
Merged revisions 73717 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73717 | benjamin.peterson | 2009-06-30 18:30:12 -0500 (Tue, 30 Jun 2009) | 1 line

  use assert* methods in test_unittest
........

15 years agoBlocked revisions 73714 via svnmerge
Benjamin Peterson [Tue, 30 Jun 2009 23:09:03 +0000 (23:09 +0000)]
Blocked revisions 73714 via svnmerge

........
  r73714 | benjamin.peterson | 2009-06-30 17:57:08 -0500 (Tue, 30 Jun 2009) | 1 line

  convert usage of fail* to assert*
........

15 years agoconvert old fail* assertions to assert*
Benjamin Peterson [Tue, 30 Jun 2009 23:06:06 +0000 (23:06 +0000)]
convert old fail* assertions to assert*

15 years agoMerged revisions 73710 via svnmerge from
Benjamin Peterson [Tue, 30 Jun 2009 22:27:25 +0000 (22:27 +0000)]
Merged revisions 73710 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73710 | benjamin.peterson | 2009-06-30 17:14:33 -0500 (Tue, 30 Jun 2009) | 1 line

  provide a dummy __exit__ on windows
........

15 years agoMerged revisions 73701 via svnmerge from
Mark Dickinson [Tue, 30 Jun 2009 15:45:17 +0000 (15:45 +0000)]
Merged revisions 73701 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73701 | mark.dickinson | 2009-06-30 16:32:30 +0100 (Tue, 30 Jun 2009) | 3 lines

  Issue #6347:  Add inttypes.h to the pyport.h #includes;  fixes a build
  failure on HP-UX 11.00.
........

15 years agoPendingDeprecationWarning -> DeprecationWarning. Both of these were
Gregory P. Smith [Tue, 30 Jun 2009 05:33:50 +0000 (05:33 +0000)]
PendingDeprecationWarning -> DeprecationWarning.  Both of these were
properly documented as being deprecated in 3.1.

15 years ago#6373: SystemError in str.encode('latin1', 'surrogateescape')
Amaury Forgeot d'Arc [Mon, 29 Jun 2009 22:36:49 +0000 (22:36 +0000)]
#6373: SystemError in str.encode('latin1', 'surrogateescape')
if the string contains unpaired surrogates.
(In debug build, crash in assert())

This can happen with normal processing, if python starts with utf-8,
then calls sys.setfilesystemencoding('latin-1')

15 years agoIssue 6370: Performance issue with collections.Counter().
Raymond Hettinger [Mon, 29 Jun 2009 18:30:43 +0000 (18:30 +0000)]
Issue 6370: Performance issue with collections.Counter().

15 years agoMerged revisions 73688 via svnmerge from
Tarek Ziadé [Mon, 29 Jun 2009 16:19:22 +0000 (16:19 +0000)]
Merged revisions 73688 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73688 | tarek.ziade | 2009-06-29 18:13:39 +0200 (Mon, 29 Jun 2009) | 1 line

  Fixed 6365: wrong inplace location for build_ext if the extension had dots
........

15 years agoBlocked revisions 73686 via svnmerge
Hirokazu Yamamoto [Mon, 29 Jun 2009 16:03:21 +0000 (16:03 +0000)]
Blocked revisions 73686 via svnmerge

........
  r73686 | hirokazu.yamamoto | 2009-06-30 00:52:21 +0900 | 1 line

  Issue #6368: Fixed unused variable warning on Unix.
........

15 years agoMerged revisions 73677,73681 via svnmerge from
Hirokazu Yamamoto [Mon, 29 Jun 2009 14:54:12 +0000 (14:54 +0000)]
Merged revisions 73677,73681 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73677 | hirokazu.yamamoto | 2009-06-29 22:25:16 +0900 | 2 lines

  Issue #6344: Fixed a crash of mmap.read() when passed a negative argument.
  Reviewed by Amaury Forgeot d'Arc.
........
  r73681 | hirokazu.yamamoto | 2009-06-29 23:29:31 +0900 | 1 line

  Fixed NEWS.
........

15 years agoBlocked revisions 73679 via svnmerge
Antoine Pitrou [Mon, 29 Jun 2009 14:17:23 +0000 (14:17 +0000)]
Blocked revisions 73679 via svnmerge

........
  r73679 | antoine.pitrou | 2009-06-29 16:14:56 +0200 (lun., 29 juin 2009) | 3 lines

  Backport fix for buglet from py3k
........

15 years agoMerged revisions 73072 via svnmerge from
Antoine Pitrou [Mon, 29 Jun 2009 13:54:42 +0000 (13:54 +0000)]
Merged revisions 73072 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73072 | antoine.pitrou | 2009-05-31 16:20:14 +0200 (dim., 31 mai 2009) | 4 lines

  Issue #6152: New option '-j'/'--multiprocess' for regrtest allows running
  regression tests in parallel, shortening the total runtime.
........

15 years agoMerged revisions 73675 via svnmerge from
Hirokazu Yamamoto [Mon, 29 Jun 2009 11:37:19 +0000 (11:37 +0000)]
Merged revisions 73675 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73675 | hirokazu.yamamoto | 2009-06-29 20:27:03 +0900 | 3 lines

  Issue #4856: Py_GetFileAttributesEx[AW] are not needed because GetFileAttributesEx[AW]
  won't fail with ERROR_CALL_NOT_IMPLEMENTED on win NT.
  Reviewed by Amaury Forgeot d'Arc.
........

15 years agoLink to PEP 383.
Martin v. Löwis [Mon, 29 Jun 2009 06:35:26 +0000 (06:35 +0000)]
Link to PEP 383.

15 years agoMerged revisions 73669 via svnmerge from
Benjamin Peterson [Mon, 29 Jun 2009 03:37:21 +0000 (03:37 +0000)]
Merged revisions 73669 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73669 | benjamin.peterson | 2009-06-28 22:30:55 -0500 (Sun, 28 Jun 2009) | 1 line

  update to sphinx 0.6.2
........

15 years agoMake b64encode raises properly a TypeError when altchars is not bytes.
Alexandre Vassalotti [Mon, 29 Jun 2009 01:13:41 +0000 (01:13 +0000)]
Make b64encode raises properly a TypeError when altchars is not bytes.

15 years agoIn most cases, the parser will protect True, False, and None from being assign to.
Benjamin Peterson [Sun, 28 Jun 2009 23:32:44 +0000 (23:32 +0000)]
In most cases, the parser will protect True, False, and None  from being assign to.
We must check for __debug__ in all cases.

15 years agoClean-up floating point tutorial.
Raymond Hettinger [Sun, 28 Jun 2009 23:21:38 +0000 (23:21 +0000)]
Clean-up floating point tutorial.

15 years agoMerged revisions 73660 via svnmerge from
Mark Dickinson [Sun, 28 Jun 2009 22:40:48 +0000 (22:40 +0000)]
Merged revisions 73660 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73660 | mark.dickinson | 2009-06-28 23:37:13 +0100 (Sun, 28 Jun 2009) | 1 line

  Remove unused stdint.h includes
........

15 years agoSmall doc fix-ups to floatingpoint.rst. More are forthcoming.
Raymond Hettinger [Sun, 28 Jun 2009 22:30:13 +0000 (22:30 +0000)]
Small doc fix-ups to floatingpoint.rst.  More are forthcoming.

15 years agoBlocked revisions 73272,73546 via svnmerge
Benjamin Peterson [Sun, 28 Jun 2009 22:24:31 +0000 (22:24 +0000)]
Blocked revisions 73272,73546 via svnmerge

........
  r73272 | kristjan.jonsson | 2009-06-07 11:43:23 -0500 (Sun, 07 Jun 2009) | 2 lines

  http://bugs.python.org/issue6192
  Add a feature to disable the Nagle algorithm on sockets in TCPServer
........
  r73546 | kristjan.jonsson | 2009-06-24 04:17:04 -0500 (Wed, 24 Jun 2009) | 2 lines

  http://bugs.python.org/issue6192
  Move the newly introduced disable_nagle_algorithm flag into the StreamRequestHandler, where it is more appropriate.
........

15 years agoFix description of range_length_obj
Mark Dickinson [Sun, 28 Jun 2009 22:08:40 +0000 (22:08 +0000)]
Fix description of range_length_obj

15 years agoBlocked revisions 73653 via svnmerge
Mark Dickinson [Sun, 28 Jun 2009 21:59:52 +0000 (21:59 +0000)]
Blocked revisions 73653 via svnmerge

........
  r73653 | mark.dickinson | 2009-06-28 22:48:15 +0100 (Sun, 28 Jun 2009) | 1 line

  More Decimal quote fixing;  backport of r73642
........

15 years agoinclude 3.2 in toctree
Benjamin Peterson [Sun, 28 Jun 2009 21:41:24 +0000 (21:41 +0000)]
include 3.2 in toctree

15 years agoFill-in some new news.
Raymond Hettinger [Sun, 28 Jun 2009 21:37:08 +0000 (21:37 +0000)]
Fill-in some new news.

15 years agoremove string.maketrans
Benjamin Peterson [Sun, 28 Jun 2009 21:35:31 +0000 (21:35 +0000)]
remove string.maketrans

15 years agohttp://bugs.python.org/issue6192
Kristján Valur Jónsson [Sun, 28 Jun 2009 21:34:22 +0000 (21:34 +0000)]
http://bugs.python.org/issue6192
Mergin revisions 73272 and 73546 to py3k

15 years agoMerged revisions 73490 via svnmerge from
Tarek Ziadé [Sun, 28 Jun 2009 21:30:52 +0000 (21:30 +0000)]
Merged revisions 73490 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73490 | tarek.ziade | 2009-06-20 15:57:20 +0200 (Sat, 20 Jun 2009) | 1 line

  Fixed #6164 AIX specific linker argument in Distutils unixcompiler
........

15 years agoMerged revisions 73445 via svnmerge from
Tarek Ziadé [Sun, 28 Jun 2009 21:29:24 +0000 (21:29 +0000)]
Merged revisions 73445 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73445 | tarek.ziade | 2009-06-16 10:31:01 +0200 (Tue, 16 Jun 2009) | 1 line

  starting distutils.ccompiler test coverage and cleanup
........

15 years agoMerged revisions 73436 via svnmerge from
Tarek Ziadé [Sun, 28 Jun 2009 21:26:27 +0000 (21:26 +0000)]
Merged revisions 73436 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73436 | tarek.ziade | 2009-06-16 01:30:13 +0200 (Tue, 16 Jun 2009) | 1 line

  Issue #6286: distutils upload command now uses urllib2
........

15 years agoFix incorrect quote type on Decimal examples
Mark Dickinson [Sun, 28 Jun 2009 21:24:42 +0000 (21:24 +0000)]
Fix incorrect quote type on Decimal examples

15 years agoIssue #6354 continued: reword confusing tutorial note on the (no-longer
Mark Dickinson [Sun, 28 Jun 2009 21:19:18 +0000 (21:19 +0000)]
Issue #6354 continued:  reword confusing tutorial note on the (no-longer
existing) difference between str(8/5) and repr(8/5).

15 years agoMerged revisions 73435 via svnmerge from
Tarek Ziadé [Sun, 28 Jun 2009 21:10:49 +0000 (21:10 +0000)]
Merged revisions 73435 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73435 | tarek.ziade | 2009-06-16 01:04:29 +0200 (Tue, 16 Jun 2009) | 1 line

  code cleanup
........

15 years agoIssue #6354: More fixes for code examples involving the repr of a float.
Mark Dickinson [Sun, 28 Jun 2009 20:59:42 +0000 (20:59 +0000)]
Issue #6354: More fixes for code examples involving the repr of a float.

15 years agoWhatsnew begins afresh
Raymond Hettinger [Sun, 28 Jun 2009 20:56:11 +0000 (20:56 +0000)]
Whatsnew begins afresh

15 years agoCorrections to decimal flying circus: round returns a Decimal;
Mark Dickinson [Sun, 28 Jun 2009 20:36:54 +0000 (20:36 +0000)]
Corrections to decimal flying circus:  round returns a Decimal;
float should have a short repr.

15 years agosimplify this expression
Benjamin Peterson [Sun, 28 Jun 2009 19:30:36 +0000 (19:30 +0000)]
simplify this expression

15 years agoBlocked revisions 73627 via svnmerge
Benjamin Peterson [Sun, 28 Jun 2009 19:29:09 +0000 (19:29 +0000)]
Blocked revisions 73627 via svnmerge

........
  r73627 | benjamin.peterson | 2009-06-28 14:27:55 -0500 (Sun, 28 Jun 2009) | 1 line

  return locals and cells in get_locals() not bound globals, though
........

15 years agoMerged revisions 73376,73393,73398,73400,73404-73405,73409,73419-73421,73432,73457...
Benjamin Peterson [Sun, 28 Jun 2009 19:19:51 +0000 (19:19 +0000)]
Merged revisions 73376,73393,73398,73400,73404-73405,73409,73419-73421,73432,73457,73460,73485-73486,73488-73489,73501-73502,73513-73514 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73376 | benjamin.peterson | 2009-06-11 17:29:23 -0500 (Thu, 11 Jun 2009) | 1 line

  remove check for case handled in sub-function
........
  r73393 | alexandre.vassalotti | 2009-06-12 13:56:57 -0500 (Fri, 12 Jun 2009) | 2 lines

  Clear reference to the static PyExc_RecursionErrorInst in _PyExc_Fini.
........
  r73398 | alexandre.vassalotti | 2009-06-12 15:57:12 -0500 (Fri, 12 Jun 2009) | 3 lines

  Add const qualifier to PyErr_SetFromErrnoWithFilename and to
  PyErr_SetFromErrnoWithUnicodeFilename.
........
  r73400 | alexandre.vassalotti | 2009-06-12 16:43:47 -0500 (Fri, 12 Jun 2009) | 2 lines

  Delete outdated make file for building the parser with MSVC 6.
........
  r73404 | benjamin.peterson | 2009-06-12 20:40:00 -0500 (Fri, 12 Jun 2009) | 1 line

  keep the slice.step field as NULL if no step expression is given
........
  r73405 | benjamin.peterson | 2009-06-12 22:46:30 -0500 (Fri, 12 Jun 2009) | 1 line

  prevent import statements from assigning to None
........
  r73409 | benjamin.peterson | 2009-06-13 08:06:21 -0500 (Sat, 13 Jun 2009) | 1 line

  allow importing from a module named None if it has an 'as' clause
........
  r73419 | benjamin.peterson | 2009-06-13 11:19:19 -0500 (Sat, 13 Jun 2009) | 1 line

  set Print.values to NULL if there are no values
........
  r73420 | benjamin.peterson | 2009-06-13 12:08:53 -0500 (Sat, 13 Jun 2009) | 1 line

  give a better error message when deleting ()
........
  r73421 | benjamin.peterson | 2009-06-13 15:23:33 -0500 (Sat, 13 Jun 2009) | 1 line

  when no module is given in a 'from' relative import, make ImportFrom.module NULL
........
  r73432 | amaury.forgeotdarc | 2009-06-14 16:20:40 -0500 (Sun, 14 Jun 2009) | 3 lines

  #6227: Because of a wrong indentation, the test was not testing what it should.
  Ensure that the snippet in doctest_aliases actually contains aliases.
........
  r73457 | benjamin.peterson | 2009-06-16 18:13:09 -0500 (Tue, 16 Jun 2009) | 1 line

  add underscores
........
  r73460 | benjamin.peterson | 2009-06-16 22:23:04 -0500 (Tue, 16 Jun 2009) | 1 line

  remove unused 'encoding' member from the compiler struct
........
  r73485 | benjamin.peterson | 2009-06-19 17:07:47 -0500 (Fri, 19 Jun 2009) | 1 line

  remove duplicate test
........
  r73486 | benjamin.peterson | 2009-06-19 17:09:17 -0500 (Fri, 19 Jun 2009) | 1 line

  add missing assertion #6313
........
  r73488 | benjamin.peterson | 2009-06-19 17:16:28 -0500 (Fri, 19 Jun 2009) | 1 line

  show that this one isn't used
........
  r73489 | benjamin.peterson | 2009-06-19 17:21:12 -0500 (Fri, 19 Jun 2009) | 1 line

  use closures
........
  r73501 | benjamin.peterson | 2009-06-21 18:01:07 -0500 (Sun, 21 Jun 2009) | 1 line

  don't need to add the name 'lambda' as assigned
........
  r73502 | benjamin.peterson | 2009-06-21 18:03:36 -0500 (Sun, 21 Jun 2009) | 1 line

  remove tmpname support since it's no longer used
........
  r73513 | benjamin.peterson | 2009-06-22 20:18:57 -0500 (Mon, 22 Jun 2009) | 1 line

  fix grammar
........
  r73514 | benjamin.peterson | 2009-06-22 22:01:56 -0500 (Mon, 22 Jun 2009) | 1 line

  remove some unused symtable constants
........

15 years agodocument BufferedIOBase.raw and TextIOBase.buffer
Benjamin Peterson [Sun, 28 Jun 2009 17:32:20 +0000 (17:32 +0000)]
document BufferedIOBase.raw and TextIOBase.buffer

15 years agoMerged revisions 73004,73439,73496,73509,73529,73564,73576-73577,73595-73596,73605...
Benjamin Peterson [Sun, 28 Jun 2009 17:22:03 +0000 (17:22 +0000)]
Merged revisions 73004,73439,73496,73509,73529,73564,73576-73577,73595-73596,73605 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73004 | jeffrey.yasskin | 2009-05-28 22:44:31 -0500 (Thu, 28 May 2009) | 5 lines

  Fix nearly all compilation warnings under Apple gcc-4.0.  Tested with OPT="-g
  -Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without.
  There's still a batch of non-prototype warnings in Xlib.h that I don't know how
  to fix.
........
  r73439 | benjamin.peterson | 2009-06-15 19:29:31 -0500 (Mon, 15 Jun 2009) | 1 line

  don't mask encoding errors when decoding a string #6289
........
  r73496 | vinay.sajip | 2009-06-21 12:37:27 -0500 (Sun, 21 Jun 2009) | 1 line

  Issue #6314: logging.basicConfig() performs extra checks on the "level" argument.
........
  r73509 | amaury.forgeotdarc | 2009-06-22 14:33:48 -0500 (Mon, 22 Jun 2009) | 2 lines

  #4490 Fix sample code run by "python -m xml.sax.xmlreader"
........
  r73529 | r.david.murray | 2009-06-23 13:02:46 -0500 (Tue, 23 Jun 2009) | 4 lines

  Fix issue 5230 by having pydoc's safeimport check to see if the import
  error was thrown from itself in order to decide if the module can't be
  found.  Thanks to Lucas Prado Melo for collaborating on the fix and tests.
........
  r73564 | amaury.forgeotdarc | 2009-06-25 17:29:29 -0500 (Thu, 25 Jun 2009) | 6 lines

  #2016 Fix a crash in function call when the **kwargs dictionary is mutated
  during the function call setup.

  This even gives a slight speedup, probably because tuple allocation
  is faster than PyMem_NEW.
........
  r73576 | benjamin.peterson | 2009-06-26 18:37:06 -0500 (Fri, 26 Jun 2009) | 1 line

  document is_declared_global()
........
  r73577 | benjamin.peterson | 2009-06-27 09:16:23 -0500 (Sat, 27 Jun 2009) | 1 line

  link to extensive generator docs in the reference manual
........
  r73595 | ezio.melotti | 2009-06-27 18:45:39 -0500 (Sat, 27 Jun 2009) | 1 line

  stmt and setup can contain multiple statements, see #5896
........
  r73596 | ezio.melotti | 2009-06-27 19:07:45 -0500 (Sat, 27 Jun 2009) | 1 line

  Fixed a wrong apostrophe
........
  r73605 | georg.brandl | 2009-06-28 07:10:18 -0500 (Sun, 28 Jun 2009) | 1 line

  Remove stray pychecker directive.
........

15 years agoBlocked revisions 73459,73563 via svnmerge
Benjamin Peterson [Sun, 28 Jun 2009 16:51:58 +0000 (16:51 +0000)]
Blocked revisions 73459,73563 via svnmerge

........
  r73459 | raymond.hettinger | 2009-06-16 20:43:47 -0500 (Tue, 16 Jun 2009) | 1 line

  Add usage note.
........
  r73563 | amaury.forgeotdarc | 2009-06-25 16:29:32 -0500 (Thu, 25 Jun 2009) | 2 lines

  Fix a compilation warning on Windows
........

15 years agoBlocked revisions 73382,73394-73397,73401-73402,73422,73480,73536,73540 via svnmerge
Benjamin Peterson [Sun, 28 Jun 2009 16:39:56 +0000 (16:39 +0000)]
Blocked revisions 73382,73394-73397,73401-73402,73422,73480,73536,73540 via svnmerge

........
  r73382 | raymond.hettinger | 2009-06-11 18:14:53 -0500 (Thu, 11 Jun 2009) | 1 line

  Issue 6261: Clarify behavior of random.uniform().
........
  r73394 | antoine.pitrou | 2009-06-12 15:14:08 -0500 (Fri, 12 Jun 2009) | 3 lines

  Issue #6215: backport the 3.1 io lib
........
  r73395 | antoine.pitrou | 2009-06-12 15:36:25 -0500 (Fri, 12 Jun 2009) | 4 lines

  Restore the old test_file.py (for the builtin file object) as a new file named test_file2k.py
........
  r73396 | antoine.pitrou | 2009-06-12 15:41:52 -0500 (Fri, 12 Jun 2009) | 4 lines

  Try to restore the old test_file and test_univnewlines as new, different files
  (with the right revisions this time, hopefully)
........
  r73397 | antoine.pitrou | 2009-06-12 15:54:21 -0500 (Fri, 12 Jun 2009) | 3 lines

  Re-enable testing of builtin open() in test_bufio in test_largefile
........
  r73401 | alexandre.vassalotti | 2009-06-12 16:52:14 -0500 (Fri, 12 Jun 2009) | 2 lines

  Make pickling of OrderedDict instances more efficient.
........
  r73402 | alexandre.vassalotti | 2009-06-12 18:03:35 -0500 (Fri, 12 Jun 2009) | 6 lines

  Revert r73401 per Raymond Hettinger's request.

  The rational is the change might cause imcompatiblity problems with
  PyYAML. In addition, Raymond wants to kept the different versions of
  collections synchronized across Python versions.
........
  r73422 | benjamin.peterson | 2009-06-13 15:30:48 -0500 (Sat, 13 Jun 2009) | 1 line

  update ast version
........
  r73480 | facundo.batista | 2009-06-19 13:02:28 -0500 (Fri, 19 Jun 2009) | 3 lines

  Issue #6274. Fixed a potential FD leak in subprocess.py.
........
  r73536 | raymond.hettinger | 2009-06-23 16:32:28 -0500 (Tue, 23 Jun 2009) | 1 line

  Issue 6305: Clarify error message for large arguments to itertools.islice().
........
  r73540 | raymond.hettinger | 2009-06-23 17:20:04 -0500 (Tue, 23 Jun 2009) | 1 line

  Add procedural note.
........

15 years agodelete unused properties
Benjamin Peterson [Sun, 28 Jun 2009 16:27:27 +0000 (16:27 +0000)]
delete unused properties

15 years agofix useless comparison #6355
Benjamin Peterson [Sun, 28 Jun 2009 16:23:55 +0000 (16:23 +0000)]
fix useless comparison #6355