]> granicus.if.org Git - python/log
python
14 years agoFix Issue5419 - explaining bytes return value of urlopen, use of .decode() to convert...
Senthil Kumaran [Thu, 15 Apr 2010 17:18:22 +0000 (17:18 +0000)]
Fix Issue5419 - explaining bytes return value of urlopen, use of .decode() to convert to str.

14 years agoBlocked revisions 80082 via svnmerge
Georg Brandl [Wed, 14 Apr 2010 21:42:41 +0000 (21:42 +0000)]
Blocked revisions 80082 via svnmerge

........
  r80082 | georg.brandl | 2010-04-14 23:36:49 +0200 (Mi, 14 Apr 2010) | 1 line

  #8370: fix module name in backported doc addition.
........

14 years agoMerged revisions 80062 via svnmerge from
R. David Murray [Wed, 14 Apr 2010 18:59:18 +0000 (18:59 +0000)]
Merged revisions 80062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80062 | r.david.murray | 2010-04-13 16:57:40 -0400 (Tue, 13 Apr 2010) | 2 lines

  Issue #5277: Fix quote counting when parsing RFC 2231 encoded parameters.
........

14 years agostrings from _Py_char2wchar need PyMem_Free
Philip Jenvey [Wed, 14 Apr 2010 17:03:38 +0000 (17:03 +0000)]
strings from _Py_char2wchar need PyMem_Free

14 years agoIssue #7316: the acquire() method of lock objects in the :mod:`threading`
Antoine Pitrou [Wed, 14 Apr 2010 15:44:10 +0000 (15:44 +0000)]
Issue #7316: the acquire() method of lock objects in the :mod:`threading`
module now takes an optional timeout argument in seconds.  Timeout support
relies on the system threading library, so as to avoid a semi-busy wait
loop.

14 years ago#7301: decode $PYTHONWARNINGS in the same way as argv, test non-ascii values
Philip Jenvey [Wed, 14 Apr 2010 03:01:39 +0000 (03:01 +0000)]
#7301: decode $PYTHONWARNINGS in the same way as argv, test non-ascii values

14 years agoMerged revisions 80060 via svnmerge from
Antoine Pitrou [Tue, 13 Apr 2010 17:37:01 +0000 (17:37 +0000)]
Merged revisions 80060 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80060 | antoine.pitrou | 2010-04-13 19:36:07 +0200 (mar., 13 avril 2010) | 5 lines

  Fix overzealous patterns in .hgignore, which used to hide files containing e.g. "python".

  (also an occasional source of bugs on the hgsvn-generated hg mirrors)
........

14 years agoFixed extraneous _winreg (changed to winreg in py3k). Thanks, Tim Golden.
Brian Curtin [Tue, 13 Apr 2010 12:43:07 +0000 (12:43 +0000)]
Fixed extraneous _winreg (changed to winreg in py3k). Thanks, Tim Golden.

14 years agoFix invalid syntax.
Mark Dickinson [Tue, 13 Apr 2010 11:54:59 +0000 (11:54 +0000)]
Fix invalid syntax.

14 years agoMerged revisions 80035 via svnmerge from
Mark Dickinson [Tue, 13 Apr 2010 11:43:10 +0000 (11:43 +0000)]
Merged revisions 80035 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80035 | mark.dickinson | 2010-04-13 12:37:23 +0100 (Tue, 13 Apr 2010) | 1 line

  In test_winsound, don't try to import _winreg until after checking that winsound is supported.
........

14 years agoIssue #8383: pickle and pickletools use surrogatepass error handler when
Victor Stinner [Tue, 13 Apr 2010 11:07:24 +0000 (11:07 +0000)]
Issue #8383: pickle and pickletools use surrogatepass error handler when
encoding unicode as utf8 to support lone surrogates and stay compatible with
Python 2.x and 3.0

14 years agoMerged revisions 80026 via svnmerge from
Brian Curtin [Tue, 13 Apr 2010 02:32:40 +0000 (02:32 +0000)]
Merged revisions 80026 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80026 | brian.curtin | 2010-04-12 21:25:20 -0500 (Mon, 12 Apr 2010) | 4 lines

  Fix #7306. Add skips to test_winsound when no default sound is configured.

  These failures occur on a Windows Server 2003 machine I test on.
........

14 years agoMerged revisions 80022 via svnmerge from
Brian Curtin [Mon, 12 Apr 2010 23:33:42 +0000 (23:33 +0000)]
Merged revisions 80022 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80022 | brian.curtin | 2010-04-12 18:30:49 -0500 (Mon, 12 Apr 2010) | 2 lines

  Fix #8364. Update the setquit docstring and change a built-in to builtin.
........

14 years agoAdd usage notes for collections.Counter()
Raymond Hettinger [Mon, 12 Apr 2010 21:45:14 +0000 (21:45 +0000)]
Add usage notes for collections.Counter()

14 years agoBlocked revisions 80017 via svnmerge
Benjamin Peterson [Mon, 12 Apr 2010 21:18:30 +0000 (21:18 +0000)]
Blocked revisions 80017 via svnmerge

........
  r80017 | raymond.hettinger | 2010-04-12 16:12:06 -0500 (Mon, 12 Apr 2010) | 1 line

  Add usage notes for collections.Counter().
........

14 years agoMerged revisions 80013-80015 via svnmerge from
Mark Dickinson [Mon, 12 Apr 2010 21:00:59 +0000 (21:00 +0000)]
Merged revisions 80013-80015 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80013 | mark.dickinson | 2010-04-12 20:25:32 +0100 (Mon, 12 Apr 2010) | 14 lines

  Issue #7355: Various improvements to struct module documentation.

   - note early on that the result of struct.pack includes padding
     bytes by default

   - add examples showing how order of struct fields can affect size
     (due to padding)

   - better headers and references; introduction to format strings

   - integrate packing notes into table

  Many thanks to Meador Inge for the patch.
........
  r80014 | mark.dickinson | 2010-04-12 20:46:20 +0100 (Mon, 12 Apr 2010) | 1 line

  Rewrap some long lines in struct module doc source.
........
  r80015 | mark.dickinson | 2010-04-12 21:38:36 +0100 (Mon, 12 Apr 2010) | 1 line

  More struct doc tweaks.
........

14 years agoMerged revisions 80009 via svnmerge from
Brian Curtin [Mon, 12 Apr 2010 18:10:10 +0000 (18:10 +0000)]
Merged revisions 80009 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80009 | brian.curtin | 2010-04-12 13:07:21 -0500 (Mon, 12 Apr 2010) | 2 lines

  Update the Windows FAQ's text about os.kill (#1220212).
........

14 years agoPort #1220212 (os.kill for Win32) to py3k.
Brian Curtin [Mon, 12 Apr 2010 17:16:38 +0000 (17:16 +0000)]
Port #1220212 (os.kill for Win32) to py3k.

14 years agoMerged revisions 80004 via svnmerge from
R. David Murray [Mon, 12 Apr 2010 16:58:02 +0000 (16:58 +0000)]
Merged revisions 80004 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80004 | r.david.murray | 2010-04-12 12:35:19 -0400 (Mon, 12 Apr 2010) | 13 lines

  Issue #7585: use tab between components in unified and context diff headers.

  Instead of spaces between the filename and date (or whatever the string
  is that follows the filename, if any) use tabs.  This is what the unix
  'diff' command does, for example, and difflib was intended to follow
  the 'standard' way of doing diffs.  This improves compatibility with
  patch tools.  The docs and examples are also changed to recommended that
  the date format used be the ISO 8601 format, which is what modern diff
  tools emit by default.

  Patch by Anatoly Techtonik.
........

14 years agoMerged revisions 80000 via svnmerge from
Stefan Krah [Mon, 12 Apr 2010 15:33:12 +0000 (15:33 +0000)]
Merged revisions 80000 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80000 | stefan.krah | 2010-04-12 17:21:25 +0200 (Mon, 12 Apr 2010) | 3 lines

  Issue #8367: Fix spurious test failure on systems without a sound card.
........

14 years agoKurt's roundup id is kbk, use that in maintainers.rst instead of
R. David Murray [Mon, 12 Apr 2010 15:19:03 +0000 (15:19 +0000)]
Kurt's roundup id is kbk, use that in maintainers.rst instead of
his checkin id, since maintainers is for finding people to make
nosy in the tracker.

14 years agotypo
Barry Warsaw [Mon, 12 Apr 2010 14:50:57 +0000 (14:50 +0000)]
typo

14 years agoMerged revisions 79994 via svnmerge from
R. David Murray [Mon, 12 Apr 2010 14:48:58 +0000 (14:48 +0000)]
Merged revisions 79994 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79994 | r.david.murray | 2010-04-12 10:26:06 -0400 (Mon, 12 Apr 2010) | 9 lines

  Issue #7472: ISO-2022 charsets now consistently use 7bit CTE.

  Fixed a typo in the email.encoders module so that messages output using
  an ISO-2022 character set will use a content-transfer-encoding of
  7bit consistently.  Previously if the input data had any eight bit
  characters the output data would get marked as 8bit even though it
  was actually 7bit.
........

14 years agoFixed #8375 - test_distutils now checks what remains to be cleaned up during tearDown
Tarek Ziadé [Mon, 12 Apr 2010 08:23:49 +0000 (08:23 +0000)]
Fixed #8375 - test_distutils now checks what remains to be cleaned up during tearDown

14 years agoMerged revisions 79988 via svnmerge from
Senthil Kumaran [Mon, 12 Apr 2010 07:03:17 +0000 (07:03 +0000)]
Merged revisions 79988 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79988 | senthil.kumaran | 2010-04-12 12:20:24 +0530 (Mon, 12 Apr 2010) | 3 lines

  Adding additional examples of valid urls as per RFC 3986 (for issue8339)
........

14 years agoMerged revisions 79982 via svnmerge from
Antoine Pitrou [Mon, 12 Apr 2010 00:16:50 +0000 (00:16 +0000)]
Merged revisions 79982 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79982 | antoine.pitrou | 2010-04-12 02:10:46 +0200 (lun., 12 avril 2010) | 8 lines

  It is possible to add extra testing options using EXTRATESTOPTS.
  When such extra options include "-x testname", subsequent arguments
  are all taken as test names to ignore. Therefore, standard options
  must be passed before *TESTOPTS.

  (witnessed on the ARM buildbots)
........

14 years agocompare with empty bytes
Benjamin Peterson [Sun, 11 Apr 2010 23:51:24 +0000 (23:51 +0000)]
compare with empty bytes

14 years agoBlocked revisions 79979 via svnmerge
Antoine Pitrou [Sun, 11 Apr 2010 22:47:34 +0000 (22:47 +0000)]
Blocked revisions 79979 via svnmerge

........
  r79979 | antoine.pitrou | 2010-04-12 00:45:47 +0200 (lun., 12 avril 2010) | 3 lines

  Fix misplaced items and incorrect title.
........

14 years agoMerged revisions 79977 via svnmerge from
Antoine Pitrou [Sun, 11 Apr 2010 22:35:34 +0000 (22:35 +0000)]
Merged revisions 79977 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79977 | antoine.pitrou | 2010-04-12 00:32:39 +0200 (lun., 12 avril 2010) | 4 lines

  Issue #8374: Update the internal alias table in the :mod:`locale` module
  to cover recent locale changes and additions.
........

14 years agoregen configure
Benjamin Peterson [Sun, 11 Apr 2010 22:15:28 +0000 (22:15 +0000)]
regen configure

14 years agoMerged revisions 79902 via svnmerge from
Benjamin Peterson [Sun, 11 Apr 2010 22:14:02 +0000 (22:14 +0000)]
Merged revisions 79902 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79902 | ronald.oussoren | 2010-04-08 03:13:31 -0500 (Thu, 08 Apr 2010) | 9 lines

  This check-in fixes two problems:

  1) A non-critical off-by-one error in pythonw

  2) A problem in the configure script that caused
     builds with '--enable-framework --enable-universalsdk=/'
     to fail on OSX 10.6.
........

14 years agoMerged revisions 79903,79907 via svnmerge from
Benjamin Peterson [Sun, 11 Apr 2010 22:04:51 +0000 (22:04 +0000)]
Merged revisions 79903,79907 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79903 | martin.v.loewis | 2010-04-08 04:47:40 -0500 (Thu, 08 Apr 2010) | 2 lines

  Issue #8344: Fix test_ttk bug on FreeBSD.
........
  r79907 | martin.v.loewis | 2010-04-08 12:38:32 -0500 (Thu, 08 Apr 2010) | 2 lines

  Issue #8204: Fix test_ttk notebook test by forcing focus.
........

14 years agoMerged revisions 79908 via svnmerge from
Benjamin Peterson [Sun, 11 Apr 2010 21:59:57 +0000 (21:59 +0000)]
Merged revisions 79908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79908 | martin.v.loewis | 2010-04-08 12:40:54 -0500 (Thu, 08 Apr 2010) | 2 lines

  Issue #8348: Fix test ftp url in test_urllib2net.
........

14 years agoBlocked revisions 79307 via svnmerge
Benjamin Peterson [Sun, 11 Apr 2010 21:56:02 +0000 (21:56 +0000)]
Blocked revisions 79307 via svnmerge

........
  r79307 | florent.xicluna | 2010-03-22 17:45:50 -0500 (Mon, 22 Mar 2010) | 2 lines

  #7667: Fix doctest failures with non-ASCII paths.
........

14 years agoMerged revisions 79548,79557,79616-79617,79716,79778,79795,79803,79896 via svnmerge...
Benjamin Peterson [Sun, 11 Apr 2010 21:49:28 +0000 (21:49 +0000)]
Merged revisions 79548,79557,79616-79617,79716,79778,79795,79803,79896 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79548 | martin.v.loewis | 2010-04-01 02:40:51 -0500 (Thu, 01 Apr 2010) | 3 lines

  Issue #8032: For gdb7, a python-gdb.py file is added to the build,
  allowing to use advanced gdb features when debugging Python.
........
  r79557 | antoine.pitrou | 2010-04-01 12:56:57 -0500 (Thu, 01 Apr 2010) | 5 lines

  Issue #8281: rename test_gdb_sample.py to gdb_sample.py, otherwise it gets picked
  as a regular test by regrtest.py, and fails.
........
  r79616 | mark.dickinson | 2010-04-02 15:22:21 -0500 (Fri, 02 Apr 2010) | 1 line

  Add python.exe-gdb.py to svn:ignore, for the benefit of OS X developers.
........
  r79617 | mark.dickinson | 2010-04-02 15:34:26 -0500 (Fri, 02 Apr 2010) | 1 line

  Add python-gdb.py and python.exe-gdb.py to distclean target in Makefile.
........
  r79716 | martin.v.loewis | 2010-04-03 13:54:07 -0500 (Sat, 03 Apr 2010) | 2 lines

  Don't install python-gdb.py as an executable.
........
  r79778 | r.david.murray | 2010-04-04 20:34:50 -0500 (Sun, 04 Apr 2010) | 3 lines

  Issue 8287: try to fix the gdb-python install errors on Solaris
  and FreeBSD.  Patch by Dave Malcolm.
........
  r79795 | ronald.oussoren | 2010-04-05 06:21:21 -0500 (Mon, 05 Apr 2010) | 7 lines

  Ensure that the gdb hooks can be installed when
  srcdir != builddir.

  Without this patch it is no longer possible to
  build python when you don't run configure from
  the root of the source tree.
........
  r79803 | r.david.murray | 2010-04-05 11:28:49 -0500 (Mon, 05 Apr 2010) | 3 lines

  Issue 8316: make test_gdb robust in the face of differing terminal
  widths.  Patch by Dave Malcolm.
........
  r79896 | martin.v.loewis | 2010-04-07 14:11:32 -0500 (Wed, 07 Apr 2010) | 2 lines

  Issue #8337: Disable the remaining test also for now.
........

14 years agoRolled back revisions 79307 via svnmerge from
Benjamin Peterson [Sun, 11 Apr 2010 21:39:55 +0000 (21:39 +0000)]
Rolled back revisions 79307 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

14 years agoMerged revisions 79934 via svnmerge from
Benjamin Peterson [Sun, 11 Apr 2010 21:22:10 +0000 (21:22 +0000)]
Merged revisions 79934 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79934 | philip.jenvey | 2010-04-10 14:39:07 -0500 (Sat, 10 Apr 2010) | 1 line

  adjust gc_collect for Jython
........

14 years agoMerged revisions 79936 via svnmerge from
Benjamin Peterson [Sun, 11 Apr 2010 21:16:33 +0000 (21:16 +0000)]
Merged revisions 79936 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79936 | philip.jenvey | 2010-04-10 15:27:15 -0500 (Sat, 10 Apr 2010) | 3 lines

  fix PYTHONWARNINGS handling to not modify the original env value and improve
  its tests
........

14 years agoBlocked revisions 79935 via svnmerge
Benjamin Peterson [Sun, 11 Apr 2010 21:03:55 +0000 (21:03 +0000)]
Blocked revisions 79935 via svnmerge

........
  r79935 | jean-paul.calderone | 2010-04-10 14:59:28 -0500 (Sat, 10 Apr 2010) | 9 lines

  Refactor a couple inspect module tests to remove duplicate code

  The test_classify_oldstyle and test_classify_newstyle methods of
  test.test_inspect.TestClassesAndFunctions were previously almost
  identical (aside from irrelevant whitespace and one semantic
  difference).  They now share a single helper.

  Fixes issue #8363.
........

14 years agoBlocked revisions 79962 via svnmerge
Benjamin Peterson [Sun, 11 Apr 2010 20:49:42 +0000 (20:49 +0000)]
Blocked revisions 79962 via svnmerge

........
  r79962 | raymond.hettinger | 2010-04-11 15:39:28 -0500 (Sun, 11 Apr 2010) | 1 line

  Minor factoring
........

14 years agoMerged revisions 79464,79471,79623,79626,79630,79632,79643,79648-79649,79679,79685...
Benjamin Peterson [Sun, 11 Apr 2010 20:43:16 +0000 (20:43 +0000)]
Merged revisions 79464,79471,79623,79626,79630,79632,79643,79648-79649,79679,79685,79711,79761,79774,79777,79792-79794,79877,79898-79900 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79464 | michael.foord | 2010-03-27 07:55:19 -0500 (Sat, 27 Mar 2010) | 1 line

  A fix for running unittest tests on platforms without the audioop module (e.g. jython and IronPython)
........
  r79471 | michael.foord | 2010-03-27 14:10:11 -0500 (Sat, 27 Mar 2010) | 4 lines

  Addition of delta keyword argument to unittest.TestCase.assertAlmostEquals and assertNotAlmostEquals

  This allows the comparison of objects by specifying a maximum difference; this includes the comparing of non-numeric objects that don't support rounding.
........
  r79623 | michael.foord | 2010-04-02 16:42:47 -0500 (Fri, 02 Apr 2010) | 1 line

  Addition of -b command line option to unittest for buffering stdout and stderr during test runs.
........
  r79626 | michael.foord | 2010-04-02 17:08:29 -0500 (Fri, 02 Apr 2010) | 1 line

  TestResult stores original sys.stdout and tests no longer use sys.__stdout__ (etc) in tests for unittest -b command line option
........
  r79630 | michael.foord | 2010-04-02 17:30:56 -0500 (Fri, 02 Apr 2010) | 1 line

  unittest tests no longer replace the sys.stdout put in place by regrtest
........
  r79632 | michael.foord | 2010-04-02 17:55:59 -0500 (Fri, 02 Apr 2010) | 1 line

  Issue #8038: Addition of unittest.TestCase.assertNotRegexpMatches
........
  r79643 | michael.foord | 2010-04-02 20:15:21 -0500 (Fri, 02 Apr 2010) | 1 line

  Support dotted module names for test discovery paths in unittest. Issue 8038.
........
  r79648 | michael.foord | 2010-04-02 21:21:39 -0500 (Fri, 02 Apr 2010) | 1 line

  Cross platform unittest.TestResult newline handling when buffering stdout / stderr.
........
  r79649 | michael.foord | 2010-04-02 21:33:55 -0500 (Fri, 02 Apr 2010) | 1 line

  Another attempt at a fix for unittest.test.test_result for windows line endings
........
  r79679 | michael.foord | 2010-04-03 09:52:18 -0500 (Sat, 03 Apr 2010) | 1 line

  Adding -b command line option to the unittest usage message.
........
  r79685 | michael.foord | 2010-04-03 10:20:00 -0500 (Sat, 03 Apr 2010) | 1 line

  Minor tweak to unittest command line usage message
........
  r79711 | michael.foord | 2010-04-03 12:03:11 -0500 (Sat, 03 Apr 2010) | 1 line

  Documenting new features in unittest
........
  r79761 | michael.foord | 2010-04-04 17:41:54 -0500 (Sun, 04 Apr 2010) | 1 line

  unittest documentation formatting changes
........
  r79774 | michael.foord | 2010-04-04 18:28:44 -0500 (Sun, 04 Apr 2010) | 1 line

  Adding documentation for new unittest.main() parameters
........
  r79777 | michael.foord | 2010-04-04 19:39:50 -0500 (Sun, 04 Apr 2010) | 1 line

  Document signal handling functions in unittest.rst
........
  r79792 | michael.foord | 2010-04-05 05:26:26 -0500 (Mon, 05 Apr 2010) | 1 line

  Documentation fixes for unittest
........
  r79793 | michael.foord | 2010-04-05 05:28:27 -0500 (Mon, 05 Apr 2010) | 1 line

  Furterh documentation fix for unittest.rst
........
  r79794 | michael.foord | 2010-04-05 05:30:14 -0500 (Mon, 05 Apr 2010) | 1 line

  Further documentation fix for unittest.rst
........
  r79877 | michael.foord | 2010-04-06 18:18:16 -0500 (Tue, 06 Apr 2010) | 1 line

  Fix module directory finding logic for dotted paths in unittest test discovery.
........
  r79898 | michael.foord | 2010-04-07 18:04:22 -0500 (Wed, 07 Apr 2010) | 1 line

  unittest.result.TestResult does not create its buffers until they're used. It uses StringIO not cStringIO. Issue 8333.
........
  r79899 | michael.foord | 2010-04-07 19:04:24 -0500 (Wed, 07 Apr 2010) | 1 line

  Switch regrtest to use StringIO instead of cStringIO for test_multiprocessing on Windows. Issue 8333.
........
  r79900 | michael.foord | 2010-04-07 23:33:20 -0500 (Wed, 07 Apr 2010) | 1 line

  Correction of unittest documentation typos and omissions
........

14 years agoMinor factoring
Raymond Hettinger [Sun, 11 Apr 2010 20:41:56 +0000 (20:41 +0000)]
Minor factoring

14 years agoMerged revisions 79954 via svnmerge from
Stefan Krah [Sun, 11 Apr 2010 16:49:20 +0000 (16:49 +0000)]
Merged revisions 79954 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79954 | stefan.krah | 2010-04-11 17:15:54 +0200 (Sun, 11 Apr 2010) | 17 lines

  Fix for issues #3581, #1481 and #7650:

  1. The assumptions in check_node() were too restrictive:

       - Hardware addresses with universal_local_bit=1 are valid
         (locally administered).

       - Many of the tested functions (including uuid.getnode())
         may return valid RFC 4122 random node IDs. These are pretty
         much random 48-bit values with the multicast bit set to 1.

  2. _unixdll_getnode() calls _uuid_generate_time(), which may be None
     on some platforms. The resulting TypeError is now caught.
........

14 years agoMerged revisions 79279,79284,79293,79373,79376,79379,79876,79888 via svnmerge from
Benjamin Peterson [Sun, 11 Apr 2010 16:25:06 +0000 (16:25 +0000)]
Merged revisions 79279,79284,79293,79373,79376,79379,79876,79888 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79279 | vinay.sajip | 2010-03-22 07:33:08 -0500 (Mon, 22 Mar 2010) | 1 line

  Issue #8200: logging: Handle errors when multiprocessing is not fully loaded when logging occurs.
........
  r79284 | vinay.sajip | 2010-03-22 08:02:28 -0500 (Mon, 22 Mar 2010) | 1 line

  Issue #8201: logging: Handle config errors when non-ASCII and Unicode logger names exist at the same time.
........
  r79293 | vinay.sajip | 2010-03-22 10:29:01 -0500 (Mon, 22 Mar 2010) | 1 line

  logging: Added getChild utility method to Logger and added isEnabledFor method to LoggerAdapter.
........
  r79373 | vinay.sajip | 2010-03-24 09:31:21 -0500 (Wed, 24 Mar 2010) | 1 line

  logging: Added LOG_FTP for SysLogHandler and updated documentation.
........
  r79376 | vinay.sajip | 2010-03-24 10:10:40 -0500 (Wed, 24 Mar 2010) | 1 line

  logging: Documentation tweak.
........
  r79379 | vinay.sajip | 2010-03-24 12:36:35 -0500 (Wed, 24 Mar 2010) | 1 line

  logging: Updated SysLogHandler documentation.
........
  r79876 | vinay.sajip | 2010-04-06 17:32:37 -0500 (Tue, 06 Apr 2010) | 1 line

  Issue #8327: logging: Clarification of propagation functionality in documentation.
........
  r79888 | vinay.sajip | 2010-04-07 04:40:52 -0500 (Wed, 07 Apr 2010) | 1 line

  Issue #8331: logging: fixed some grammatical errors in documentation.
........

14 years agoadd 3.1.2
Benjamin Peterson [Sun, 11 Apr 2010 16:13:23 +0000 (16:13 +0000)]
add 3.1.2

14 years agoMerged revisions 79307,79408,79430,79533,79542,79579-79580,79585-79587,79607-79608...
Benjamin Peterson [Sun, 11 Apr 2010 16:12:57 +0000 (16:12 +0000)]
Merged revisions 79307,79408,79430,79533,79542,79579-79580,79585-79587,79607-79608,79622,79717,79820,79822,79828,79862,79875,79923-79924,79941-79943,79945,79947,79951-79952 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79307 | florent.xicluna | 2010-03-22 17:45:50 -0500 (Mon, 22 Mar 2010) | 2 lines

  #7667: Fix doctest failures with non-ASCII paths.
........
  r79408 | victor.stinner | 2010-03-24 20:18:38 -0500 (Wed, 24 Mar 2010) | 2 lines

  Fix a gcc warning introduced by r79397.
........
  r79430 | brian.curtin | 2010-03-25 18:48:54 -0500 (Thu, 25 Mar 2010) | 2 lines

  Fix #6538. Markup RegexObject and MatchObject as classes. Patch by Ryan Arana.
........
  r79533 | barry.warsaw | 2010-03-31 16:07:16 -0500 (Wed, 31 Mar 2010) | 6 lines

  - Issue #8233: When run as a script, py_compile.py optionally takes a single
    argument `-` which tells it to read files to compile from stdin.  Each line
    is read on demand and the named file is compiled immediately.  (Original
    patch by Piotr O?\197?\188arowski).
........
  r79542 | r.david.murray | 2010-03-31 20:28:39 -0500 (Wed, 31 Mar 2010) | 3 lines

  A couple small grammar fixes in test.rst, and rewrite the
  check_warnings docs to be clearer.
........
  r79579 | georg.brandl | 2010-04-02 03:34:41 -0500 (Fri, 02 Apr 2010) | 1 line

  Add 2.6.5.
........
  r79580 | georg.brandl | 2010-04-02 03:39:09 -0500 (Fri, 02 Apr 2010) | 1 line

  #2768: add a note on how to get a file descriptor.
........
  r79585 | georg.brandl | 2010-04-02 04:03:18 -0500 (Fri, 02 Apr 2010) | 1 line

  Remove col-spanning cells in logging docs.
........
  r79586 | georg.brandl | 2010-04-02 04:07:42 -0500 (Fri, 02 Apr 2010) | 1 line

  Document PyImport_ExecCodeModuleEx().
........
  r79587 | georg.brandl | 2010-04-02 04:11:49 -0500 (Fri, 02 Apr 2010) | 1 line

  #8012: clarification in generator glossary entry.
........
  r79607 | andrew.kuchling | 2010-04-02 12:48:23 -0500 (Fri, 02 Apr 2010) | 1 line

  #6647: document that catch_warnings is not thread-safe
........
  r79608 | andrew.kuchling | 2010-04-02 12:54:26 -0500 (Fri, 02 Apr 2010) | 1 line

  #6647: add note to two examples
........
  r79622 | tarek.ziade | 2010-04-02 16:34:19 -0500 (Fri, 02 Apr 2010) | 1 line

  removed documentation on code that was reverted and pushed into distutils2
........
  r79717 | antoine.pitrou | 2010-04-03 16:22:38 -0500 (Sat, 03 Apr 2010) | 4 lines

  Fix wording / typography, and a slightly misleading statement
  (memoryviews don't support complex structures right now)
........
  r79820 | benjamin.peterson | 2010-04-05 22:34:09 -0500 (Mon, 05 Apr 2010) | 1 line

  ready _sre types
........
  r79822 | georg.brandl | 2010-04-06 03:18:15 -0500 (Tue, 06 Apr 2010) | 1 line

  #8320: document return value of recv_into().
........
  r79828 | georg.brandl | 2010-04-06 09:33:44 -0500 (Tue, 06 Apr 2010) | 1 line

  Add JP.
........
  r79862 | georg.brandl | 2010-04-06 15:27:59 -0500 (Tue, 06 Apr 2010) | 1 line

  Fix syntax.
........
  r79875 | mark.dickinson | 2010-04-06 17:18:23 -0500 (Tue, 06 Apr 2010) | 1 line

  More NaN consistency doc fixes.
........
  r79923 | georg.brandl | 2010-04-10 06:15:24 -0500 (Sat, 10 Apr 2010) | 1 line

  #8360: skipTest was added in 2.7.
........
  r79924 | georg.brandl | 2010-04-10 06:16:59 -0500 (Sat, 10 Apr 2010) | 1 line

  #8346: update version.
........
  r79941 | andrew.kuchling | 2010-04-10 20:39:36 -0500 (Sat, 10 Apr 2010) | 1 line

  Two grammar fixes
........
  r79942 | andrew.kuchling | 2010-04-10 20:40:06 -0500 (Sat, 10 Apr 2010) | 1 line

  Punctuation fix
........
  r79943 | andrew.kuchling | 2010-04-10 20:40:30 -0500 (Sat, 10 Apr 2010) | 1 line

  Add various items
........
  r79945 | andrew.kuchling | 2010-04-10 20:40:49 -0500 (Sat, 10 Apr 2010) | 1 line

  name correct
........
  r79947 | andrew.kuchling | 2010-04-10 20:44:13 -0500 (Sat, 10 Apr 2010) | 1 line

  Remove distutils section
........
  r79951 | andrew.kuchling | 2010-04-11 07:48:08 -0500 (Sun, 11 Apr 2010) | 1 line

  Two typo fixes
........
  r79952 | andrew.kuchling | 2010-04-11 07:49:37 -0500 (Sun, 11 Apr 2010) | 1 line

  Add two items
........

14 years agoBlocked revisions 79493,79515,79637,79760 via svnmerge
Benjamin Peterson [Sun, 11 Apr 2010 15:41:33 +0000 (15:41 +0000)]
Blocked revisions 79493,79515,79637,79760 via svnmerge

........
  r79493 | michael.foord | 2010-03-29 15:04:23 -0500 (Mon, 29 Mar 2010) | 1 line

  Backport of weakref.WeakSet and tests from Python 3.
........
  r79515 | thomas.heller | 2010-03-30 15:57:06 -0500 (Tue, 30 Mar 2010) | 1 line

  Revert rev. 79509; ctypes doesn't build on linux.
........
  r79637 | raymond.hettinger | 2010-04-02 19:39:26 -0500 (Fri, 02 Apr 2010) | 1 line

  Clear cyclical references in list based OrderedDict.
........
  r79760 | raymond.hettinger | 2010-04-04 17:24:03 -0500 (Sun, 04 Apr 2010) | 1 line

  Add tests for functools.total_ordering.
........

14 years agoBlocked revisions 79938,79949 via svnmerge
Benjamin Peterson [Sun, 11 Apr 2010 14:49:17 +0000 (14:49 +0000)]
Blocked revisions 79938,79949 via svnmerge

........
  r79938 | antoine.pitrou | 2010-04-10 18:32:12 -0500 (Sat, 10 Apr 2010) | 3 lines

  Revert temporary commit in r79937
........
  r79949 | raymond.hettinger | 2010-04-11 03:14:45 -0500 (Sun, 11 Apr 2010) | 1 line

  Add descriptor howto to main documentation
........

14 years agoBlocked revisions 79285,79292,79384,79387,79480-79481,79483,79509,79511,79528,79549...
Benjamin Peterson [Sun, 11 Apr 2010 02:17:08 +0000 (02:17 +0000)]
Blocked revisions 79285,79292,79384,79387,79480-79481,79483,79509,79511,79528,79549,79569,79575-79578,79625,79650-79651,79706,79710,79713,79722,79730,79744,79750,79755,79808,79915,79918,79920,79937,79939 via svnmerge

................
  r79285 | jesus.cea | 2010-03-22 09:22:26 -0500 (Mon, 22 Mar 2010) | 1 line

  pybsddb 4.8.4 integration. Please, comment in issue #8156
................
  r79292 | jesus.cea | 2010-03-22 10:18:46 -0500 (Mon, 22 Mar 2010) | 1 line

  Missing testsuite files
................
  r79384 | antoine.pitrou | 2010-03-24 16:55:12 -0500 (Wed, 24 Mar 2010) | 3 lines

  Trying to fix #8108.  Will watch the buildbot(s).
................
  r79387 | antoine.pitrou | 2010-03-24 17:12:15 -0500 (Wed, 24 Mar 2010) | 3 lines

  Revert r79384 (the fix failed).
................
  r79480 | raymond.hettinger | 2010-03-28 13:02:41 -0500 (Sun, 28 Mar 2010) | 1 line

  Update itertools recipes.
................
  r79481 | raymond.hettinger | 2010-03-28 13:08:15 -0500 (Sun, 28 Mar 2010) | 1 line

  Add a note on optimizing the itertools recipes for production.
................
  r79483 | raymond.hettinger | 2010-03-28 13:25:01 -0500 (Sun, 28 Mar 2010) | 1 line

  Update itertools recipe for consume().
................
  r79509 | thomas.heller | 2010-03-30 14:46:23 -0500 (Tue, 30 Mar 2010) | 24 lines

  Merged revisions 79115,79424,79491 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/branches/branch_libffi-3_0_10-win

  ........
    r79115 | thomas.heller | 2010-03-19 22:14:47 +0100 (Fr, 19 Mrz 2010) | 7 lines

    Work in progress.  2 tests fail on x86/win32 because the stack
    checking code in ffi_call_win32 is not yet implemented.

    Remove most files from _ctypes/libffi_msvc, only two include files
    stay (updated from _ctypes/libffi/...).  Other files are used in the
    cross-platform _ctypes/libffi directory.
  ........
    r79424 | thomas.heller | 2010-03-25 19:28:02 +0100 (Do, 25 Mrz 2010) | 1 line

    Build _ctypes on Win64.
  ........
    r79491 | thomas.heller | 2010-03-29 21:30:33 +0200 (Mo, 29 Mrz 2010) | 4 lines

    On Windows, ctypes does no longer check the stack before and after
    calling a foreign function.
    This allows to use the unmodified libffi library.
  ........
................
  r79511 | thomas.heller | 2010-03-30 14:55:34 -0500 (Tue, 30 Mar 2010) | 3 lines

  Removed merge tracking for "svnmerge" for
  svn+ssh://pythondev@svn.python.org/python/branches/branch_libffi-3_0_10-win
................
  r79528 | ezio.melotti | 2010-03-31 03:33:50 -0500 (Wed, 31 Mar 2010) | 1 line

  Silence a py3k warning.
................
  r79549 | raymond.hettinger | 2010-04-01 02:54:16 -0500 (Thu, 01 Apr 2010) | 1 line

  Document link to Sorting HowTo
................
  r79569 | raymond.hettinger | 2010-04-01 21:44:31 -0500 (Thu, 01 Apr 2010) | 1 line

  Add and update itertools recipes.
................
  r79575 | raymond.hettinger | 2010-04-02 01:23:12 -0500 (Fri, 02 Apr 2010) | 1 line

  Cleanup itertools recipes
................
  r79576 | florent.xicluna | 2010-04-02 02:24:52 -0500 (Fri, 02 Apr 2010) | 2 lines

  #7092: Fix additional "-3" warnings in the idlelib package, and convert to absolute imports.
................
  r79577 | florent.xicluna | 2010-04-02 03:15:26 -0500 (Fri, 02 Apr 2010) | 2 lines

  #7092: Drop the cmp argument.
................
  r79578 | florent.xicluna | 2010-04-02 03:30:21 -0500 (Fri, 02 Apr 2010) | 2 lines

  #7092: silence some py3k warnings
................
  r79625 | brian.curtin | 2010-04-02 16:51:37 -0500 (Fri, 02 Apr 2010) | 2 lines

  Add a line about #7347 to Misc\News
................
  r79650 | raymond.hettinger | 2010-04-02 22:14:28 -0500 (Fri, 02 Apr 2010) | 1 line

  Improve clear() method.  Keeps key/value refcnts >= 1 until final dict.clear() so that decrefs to zero won't trigger arbitrary code .  Also runs a bit faster.
................
  r79651 | raymond.hettinger | 2010-04-03 02:57:09 -0500 (Sat, 03 Apr 2010) | 1 line

  Factor-out constant expressions
................
  r79706 | benjamin.peterson | 2010-04-03 11:06:42 -0500 (Sat, 03 Apr 2010) | 1 line

  stop CObject deprecation warnings in test___all__
................
  r79710 | mark.dickinson | 2010-04-03 11:54:02 -0500 (Sat, 03 Apr 2010) | 1 line

  Replace backquotes with repr(), to silence a SyntaxWarning.
................
  r79713 | raymond.hettinger | 2010-04-03 13:10:37 -0500 (Sat, 03 Apr 2010) | 1 line

  Add count() method to collections.deque().
................
  r79722 | raymond.hettinger | 2010-04-03 17:34:15 -0500 (Sat, 03 Apr 2010) | 1 line

  Expand test coverage for deque.count().
................
  r79730 | raymond.hettinger | 2010-04-03 20:24:59 -0500 (Sat, 03 Apr 2010) | 1 line

  Issue 5479:  Add functools.total_ordering class decorator.
................
  r79744 | raymond.hettinger | 2010-04-04 02:33:46 -0500 (Sun, 04 Apr 2010) | 1 line

  Documentation nit
................
  r79750 | raymond.hettinger | 2010-04-04 13:34:45 -0500 (Sun, 04 Apr 2010) | 1 line

  Add functools.CmpToKey()
................
  r79755 | raymond.hettinger | 2010-04-04 16:45:01 -0500 (Sun, 04 Apr 2010) | 6 lines

  Add tests for cmp_to_key.
  Adopt PEP 8 compliant function name.
  Factor-out existing uses cmp_to_key.
  Update documentation to use internal pointers instead of external resource.
................
  r79808 | raymond.hettinger | 2010-04-05 13:53:43 -0500 (Mon, 05 Apr 2010) | 1 line

  Classes that override __eq__ also need to define __hash__.
................
  r79915 | antoine.pitrou | 2010-04-09 16:00:36 -0500 (Fri, 09 Apr 2010) | 3 lines

  Temporarily commit fix to issue #8108, to check for buildbot response
................
  r79918 | antoine.pitrou | 2010-04-09 17:41:31 -0500 (Fri, 09 Apr 2010) | 3 lines

  Revert r79915 (temporary commit to check for buildbots -> the fix was successful)
................
  r79920 | raymond.hettinger | 2010-04-10 02:01:32 -0500 (Sat, 10 Apr 2010) | 1 line

  Fixup new itertools recipes.
................
  r79937 | antoine.pitrou | 2010-04-10 17:43:05 -0500 (Sat, 10 Apr 2010) | 3 lines

  Temporary commit of fix to issue #5380 (in order to watch buildbot response)
................
  r79939 | raymond.hettinger | 2010-04-10 19:01:23 -0500 (Sat, 10 Apr 2010) | 1 line

  Add the sorting HOWTO to the main docs.
................

14 years agoMerged revisions 79944 via svnmerge from
Benjamin Peterson [Sun, 11 Apr 2010 01:43:16 +0000 (01:43 +0000)]
Merged revisions 79944 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79944 | benjamin.peterson | 2010-04-10 20:40:32 -0500 (Sat, 10 Apr 2010) | 1 line

  add test for class with no operations defined
........

14 years agoBlocked revisions 79927-79928,79930,79932 via svnmerge
Benjamin Peterson [Sat, 10 Apr 2010 18:57:52 +0000 (18:57 +0000)]
Blocked revisions 79927-79928,79930,79932 via svnmerge

........
  r79927 | benjamin.peterson | 2010-04-10 11:22:05 -0500 (Sat, 10 Apr 2010) | 1 line

  bump version to 2.7b1
........
  r79928 | benjamin.peterson | 2010-04-10 11:28:34 -0500 (Sat, 10 Apr 2010) | 1 line

  update pydoc-topics
........
  r79930 | raymond.hettinger | 2010-04-10 11:57:36 -0500 (Sat, 10 Apr 2010) | 1 line

  Issue 8361: Remove assert from functools.total_ordering\ 1
........
  r79932 | benjamin.peterson | 2010-04-10 13:53:58 -0500 (Sat, 10 Apr 2010) | 1 line

  towards beta 2
........

14 years agoIssue 8361: Remove assert from functools.total_ordering
Raymond Hettinger [Sat, 10 Apr 2010 16:59:03 +0000 (16:59 +0000)]
Issue 8361: Remove assert from functools.total_ordering

14 years agoFixup new itertools recipes.
Raymond Hettinger [Sat, 10 Apr 2010 07:09:53 +0000 (07:09 +0000)]
Fixup new itertools recipes.

14 years agoMerged revisions 79910 via svnmerge from
Antoine Pitrou [Fri, 9 Apr 2010 20:42:09 +0000 (20:42 +0000)]
Merged revisions 79910 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79910 | antoine.pitrou | 2010-04-09 22:38:39 +0200 (ven., 09 avril 2010) | 4 lines

  SSL_MODE_AUTO_RETRY has been added in OpenSSL 0.9.6.  Fix compilation
  with earlier versions.
........

14 years agoAdd MatchObject.groups which got messed up during a merge.
Brian Curtin [Thu, 8 Apr 2010 13:55:29 +0000 (13:55 +0000)]
Add MatchObject.groups which got messed up during a merge.

14 years agoFix indentation.
Georg Brandl [Thu, 8 Apr 2010 06:33:16 +0000 (06:33 +0000)]
Fix indentation.

14 years agoMerged revisions 79885 via svnmerge from
Stefan Krah [Wed, 7 Apr 2010 08:49:55 +0000 (08:49 +0000)]
Merged revisions 79885 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79885 | stefan.krah | 2010-04-07 10:24:44 +0200 (Wed, 07 Apr 2010) | 1 line

  Issue #8328: Silence Visual Studio warnings.
........

14 years agowoops these strings aren't kept around, free them
Philip Jenvey [Wed, 7 Apr 2010 05:19:21 +0000 (05:19 +0000)]
woops these strings aren't kept around, free them

14 years agoMerged revisions 79349,79381,79412,79801,79818 via svnmerge from
Ezio Melotti [Wed, 7 Apr 2010 04:27:14 +0000 (04:27 +0000)]
Merged revisions 79349,79381,79412,79801,79818 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79349 | andrew.kuchling | 2010-03-23 20:39:24 +0200 (Tue, 23 Mar 2010) | 1 line

  add some unittest items
........
  r79381 | andrew.kuchling | 2010-03-24 20:07:43 +0200 (Wed, 24 Mar 2010) | 1 line

  Various edits
........
  r79412 | andrew.kuchling | 2010-03-25 03:35:51 +0200 (Thu, 25 Mar 2010) | 1 line

  Add various items
........
  r79801 | tarek.ziade | 2010-04-05 17:58:14 +0300 (Mon, 05 Apr 2010) | 1 line

  added a note for Andrew, about distutils2
........
  r79818 | ezio.melotti | 2010-04-06 06:26:49 +0300 (Tue, 06 Apr 2010) | 1 line

  Fix several links and other mistakes.
........

14 years agoMerged revisions 79878-79880 via svnmerge from
Philip Jenvey [Wed, 7 Apr 2010 04:04:10 +0000 (04:04 +0000)]
Merged revisions 79878-79880 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79878 | philip.jenvey | 2010-04-06 16:24:45 -0700 (Tue, 06 Apr 2010) | 4 lines

  #7301: add the environment variable $PYTHONWARNINGS to supplement the -W
  command line option
  patch from Brian Curtin
........
  r79879 | benjamin.peterson | 2010-04-06 16:32:27 -0700 (Tue, 06 Apr 2010) | 1 line

  tell people to update python.man, too
........
  r79880 | philip.jenvey | 2010-04-06 16:38:57 -0700 (Tue, 06 Apr 2010) | 1 line

  document new PYTHONWARNINGS env var
........

14 years agoMerged revisions 79871 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 22:13:37 +0000 (22:13 +0000)]
Merged revisions 79871 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79871 | mark.dickinson | 2010-04-06 23:10:55 +0100 (Tue, 06 Apr 2010) | 2 lines

  Use consistent spelling for nans (thanks Georg for noticing).
........

14 years agoMerged revisions 79866-79867 via svnmerge from
Benjamin Peterson [Tue, 6 Apr 2010 21:55:16 +0000 (21:55 +0000)]
Merged revisions 79866-79867 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79866 | benjamin.peterson | 2010-04-06 16:37:06 -0500 (Tue, 06 Apr 2010) | 1 line

  use skip decorator
........
  r79867 | benjamin.peterson | 2010-04-06 16:50:00 -0500 (Tue, 06 Apr 2010) | 1 line

  remove a optimization that resulted in unexpected behavior #8929
........

14 years agoFix python-config to use the new sysconfig module; silences deprecation warnings.
Collin Winter [Tue, 6 Apr 2010 21:30:42 +0000 (21:30 +0000)]
Fix python-config to use the new sysconfig module; silences deprecation warnings.

14 years agoMerged revisions 79858 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 19:55:03 +0000 (19:55 +0000)]
Merged revisions 79858 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79858 | mark.dickinson | 2010-04-06 20:50:03 +0100 (Tue, 06 Apr 2010) | 3 lines

  Issue #7947:  Clarify math module behaviour for IEEE 754 special cases, along
  with a number of additional minor edits and typo corrections.
........

14 years agoMerged revisions 79856 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 19:02:54 +0000 (19:02 +0000)]
Merged revisions 79856 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79856 | mark.dickinson | 2010-04-06 19:58:54 +0100 (Tue, 06 Apr 2010) | 1 line

  Silence a 'comparison between signed and unsigned integer expressions' gcc warning.
........

14 years agoMerged revisions 79852 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 18:22:06 +0000 (18:22 +0000)]
Merged revisions 79852 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79852 | mark.dickinson | 2010-04-06 19:20:11 +0100 (Tue, 06 Apr 2010) | 1 line

  Issue #8259: Clarify that there's an upper bound on the right-hand operand of a shift operator.
........

14 years agoMerged revisions 79848 via svnmerge from
Antoine Pitrou [Tue, 6 Apr 2010 17:23:13 +0000 (17:23 +0000)]
Merged revisions 79848 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79848 | antoine.pitrou | 2010-04-06 19:21:09 +0200 (mar., 06 avril 2010) | 3 lines

  Issue #8193: Fix test_zlib failure with zlib 1.2.4.
........

14 years agoMerged revisions 79843-79844 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 16:53:17 +0000 (16:53 +0000)]
Merged revisions 79843-79844 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79843 | mark.dickinson | 2010-04-06 17:46:09 +0100 (Tue, 06 Apr 2010) | 4 lines

  Issue #8259: Get rid of 'outrageous left shift count' error when
  left-shifting an integer by more than 2**31 on a 64-bit machine.  Also
  convert shift counts to a Py_ssize_t instead of a C long.
........
  r79844 | mark.dickinson | 2010-04-06 17:47:55 +0100 (Tue, 06 Apr 2010) | 1 line

  Misc/NEWS entry for r79843.
........

14 years agoMerged revisions 79837 via svnmerge from
Antoine Pitrou [Tue, 6 Apr 2010 16:01:57 +0000 (16:01 +0000)]
Merged revisions 79837 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79837 | antoine.pitrou | 2010-04-06 17:38:25 +0200 (mar., 06 avril 2010) | 19 lines

  14 years later, we still don't know what it's for.
  Spotted by the PyPy developers.

  Original commit is:

  branch:      trunk
  user:        guido
  date:        Mon Aug 19 21:32:04 1996 +0200
  files:       Python/getargs.c
  description:
  [svn r6499] Support for keyword arguments (PyArg_ParseTupleAndKeywords) donated by
  Geoff Philbrick <philbric@delphi.hks.com> (slightly changed by me).

  Also a little change to make the file acceptable to K&R C compilers
  (HPUX, SunOS 4.x).
........

14 years agoRemove out-of-date comment.
Mark Dickinson [Tue, 6 Apr 2010 15:47:14 +0000 (15:47 +0000)]
Remove out-of-date comment.

14 years agoMerged revisions 79833 via svnmerge from
Eric Smith [Tue, 6 Apr 2010 15:21:59 +0000 (15:21 +0000)]
Merged revisions 79833 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79833 | eric.smith | 2010-04-06 11:17:33 -0400 (Tue, 06 Apr 2010) | 1 line

  Note that PEP 378 also applies to int.
........

14 years agoMerged revisions 79826 via svnmerge from
Eric Smith [Tue, 6 Apr 2010 14:57:57 +0000 (14:57 +0000)]
Merged revisions 79826 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79826 | eric.smith | 2010-04-06 10:30:15 -0400 (Tue, 06 Apr 2010) | 1 line

  Fixed PEP 378 example.
........

14 years agoRecorded merge of revisions 79609 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 14:36:52 +0000 (14:36 +0000)]
Recorded merge of revisions 79609 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79609 | raymond.hettinger | 2010-04-02 19:39:24 +0100 (Fri, 02 Apr 2010) | 1 line

  Issue 8257: Decimal constructor to accept float.
........

14 years agoMerged revisions 79809 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 10:29:17 +0000 (10:29 +0000)]
Merged revisions 79809 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79809 | mark.dickinson | 2010-04-05 19:54:51 +0100 (Mon, 05 Apr 2010) | 1 line

  Use a better NaN test in _Py_HashDouble as well.
........

14 years agoMerged revisions 79817 via svnmerge from
Senthil Kumaran [Tue, 6 Apr 2010 03:30:18 +0000 (03:30 +0000)]
Merged revisions 79817 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79817 | senthil.kumaran | 2010-04-06 08:53:33 +0530 (Tue, 06 Apr 2010) | 2 lines

  Fix Issue8262 - changing RuntimeError wording to "Threads can only be started once"
........

14 years agoFix docs for r79813.
Antoine Pitrou [Mon, 5 Apr 2010 21:44:48 +0000 (21:44 +0000)]
Fix docs for r79813.

14 years agoMerged revisions 79812 via svnmerge from
Antoine Pitrou [Mon, 5 Apr 2010 21:40:07 +0000 (21:40 +0000)]
Merged revisions 79812 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79812 | antoine.pitrou | 2010-04-05 23:35:07 +0200 (lun., 05 avril 2010) | 5 lines

  Issue #8321: Give access to OpenSSL version numbers from the `ssl` module,
  using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO`
  and `ssl.OPENSSL_VERSION_NUMBER`.
........

14 years agoForward port total_ordering() and cmp_to_key().
Raymond Hettinger [Mon, 5 Apr 2010 18:56:31 +0000 (18:56 +0000)]
Forward port total_ordering() and cmp_to_key().

14 years agoMerged revisions 79804 via svnmerge from
Mark Dickinson [Mon, 5 Apr 2010 18:09:39 +0000 (18:09 +0000)]
Merged revisions 79804 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79804 | mark.dickinson | 2010-04-05 19:07:51 +0100 (Mon, 05 Apr 2010) | 5 lines

  Use a more robust infinity check in _Py_HashDouble.

  This fixes a test_decimal failure on FreeBSD 8.0.  (modf apparently
  doesn't follow C99 Annex F on FreeBSD.)
........

14 years agoMerged revisions 79797 via svnmerge from
Ezio Melotti [Mon, 5 Apr 2010 13:25:51 +0000 (13:25 +0000)]
Merged revisions 79797 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79797 | ezio.melotti | 2010-04-05 15:51:45 +0300 (Mon, 05 Apr 2010) | 1 line

  Fix some broken URLs.
........

14 years agoMerged revisions 79788 via svnmerge from
Ezio Melotti [Mon, 5 Apr 2010 08:21:29 +0000 (08:21 +0000)]
Merged revisions 79788 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79788 | ezio.melotti | 2010-04-05 11:16:41 +0300 (Mon, 05 Apr 2010) | 1 line

  Fix markup errors.
........

14 years agoMerged revisions 79781 via svnmerge from
Ezio Melotti [Mon, 5 Apr 2010 04:04:35 +0000 (04:04 +0000)]
Merged revisions 79781 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79781 | ezio.melotti | 2010-04-05 06:51:38 +0300 (Mon, 05 Apr 2010) | 1 line

  #8212: rephrase the webservers howto and fix some mistakes.
........

14 years agoMerged revisions 79779 via svnmerge from
Philip Jenvey [Mon, 5 Apr 2010 03:05:24 +0000 (03:05 +0000)]
Merged revisions 79779 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79779 | philip.jenvey | 2010-04-04 19:51:51 -0700 (Sun, 04 Apr 2010) | 2 lines

  fix escape_encode to return the correct consumed size
........

14 years agoMerged revisions 79768 via svnmerge from
Ezio Melotti [Sun, 4 Apr 2010 23:27:45 +0000 (23:27 +0000)]
Merged revisions 79768 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79768 | ezio.melotti | 2010-04-05 02:21:53 +0300 (Mon, 05 Apr 2010) | 1 line

  Fix markup in decimal.rst.
........

14 years agofactor out constant
Benjamin Peterson [Sun, 4 Apr 2010 23:26:50 +0000 (23:26 +0000)]
factor out constant

14 years agoBlocked revisions 79769 via svnmerge
Benjamin Peterson [Sun, 4 Apr 2010 23:25:45 +0000 (23:25 +0000)]
Blocked revisions 79769 via svnmerge

........
  r79769 | benjamin.peterson | 2010-04-04 18:23:22 -0500 (Sun, 04 Apr 2010) | 1 line

  fix dis on new style classes #8310
........

14 years agoMerged revisions 79763 via svnmerge from
Benjamin Peterson [Sun, 4 Apr 2010 23:09:06 +0000 (23:09 +0000)]
Merged revisions 79763 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79763 | benjamin.peterson | 2010-04-04 18:03:22 -0500 (Sun, 04 Apr 2010) | 1 line

  fix tabs
........

14 years agoMerged revisions 79762 via svnmerge from
Benjamin Peterson [Sun, 4 Apr 2010 23:03:35 +0000 (23:03 +0000)]
Merged revisions 79762 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79762 | benjamin.peterson | 2010-04-04 18:01:03 -0500 (Sun, 04 Apr 2010) | 1 line

  tabify
........

14 years agoMerged revisions 79756 via svnmerge from
Mark Dickinson [Sun, 4 Apr 2010 22:13:14 +0000 (22:13 +0000)]
Merged revisions 79756 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79756 | mark.dickinson | 2010-04-04 23:09:21 +0100 (Sun, 04 Apr 2010) | 6 lines

  Add versionchanged entry for Decimal(float) construction.

  Also add an example of constructing a Decimal directly from a float,
  update the quickstart tutorial, and tweak another couple of
  sentences.
........

14 years agoMerged revisions 79751 via svnmerge from
Mark Dickinson [Sun, 4 Apr 2010 21:23:57 +0000 (21:23 +0000)]
Merged revisions 79751 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79751 | mark.dickinson | 2010-04-04 22:19:35 +0100 (Sun, 04 Apr 2010) | 1 line

  A handful of whitespace fixes in Modules/_struct.c.
........

14 years agoMerged revisions 79745 via svnmerge from
Mark Dickinson [Sun, 4 Apr 2010 08:52:51 +0000 (08:52 +0000)]
Merged revisions 79745 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79745 | mark.dickinson | 2010-04-04 09:43:04 +0100 (Sun, 04 Apr 2010) | 3 lines

  Issue #8300 (__index__ handling in struct.pack): Remove redundant check
  and improve test coverage.  Thanks Meador Inge for the patch.
........

14 years agoMerged revisions 79740 via svnmerge from
Ezio Melotti [Sun, 4 Apr 2010 07:21:15 +0000 (07:21 +0000)]
Merged revisions 79740 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79740 | ezio.melotti | 2010-04-04 10:00:02 +0300 (Sun, 04 Apr 2010) | 1 line

  Use more specific assert* methods in test_struct.
........

14 years agoRecorded merge of revisions 79660 via svnmerge from
Ezio Melotti [Sun, 4 Apr 2010 06:57:44 +0000 (06:57 +0000)]
Recorded merge of revisions 79660 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79660 | raymond.hettinger | 2010-04-03 13:22:00 +0300 (Sat, 03 Apr 2010) | 1 line

  Add subtract() method to collections.Counter() objects.
........

14 years agoMerged revisions 79733,79735 via svnmerge from
Ezio Melotti [Sun, 4 Apr 2010 06:53:44 +0000 (06:53 +0000)]
Merged revisions 79733,79735 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79733 | ezio.melotti | 2010-04-04 09:41:27 +0300 (Sun, 04 Apr 2010) | 1 line

  Add a versionadded to Counter.subtract() doc.
........
  r79735 | ezio.melotti | 2010-04-04 09:50:58 +0300 (Sun, 04 Apr 2010) | 1 line

  Revert 79733 - Counter is new in 2.7, the versionadded is not necessary - and fix a typo.
........

14 years agoFix versionchanged from 2.7 to 3.2 in decimal.rst.
Ezio Melotti [Sun, 4 Apr 2010 06:30:08 +0000 (06:30 +0000)]
Fix versionchanged from 2.7 to 3.2 in decimal.rst.

14 years agoadd missing decrefs
Benjamin Peterson [Sat, 3 Apr 2010 23:56:48 +0000 (23:56 +0000)]
add missing decrefs

14 years agoAdd count() method to collections.deque().
Raymond Hettinger [Sat, 3 Apr 2010 23:20:46 +0000 (23:20 +0000)]
Add count() method to collections.deque().

14 years agoMerged revisions 79725 via svnmerge from
Benjamin Peterson [Sat, 3 Apr 2010 23:10:01 +0000 (23:10 +0000)]
Merged revisions 79725 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79725 | benjamin.peterson | 2010-04-03 18:03:35 -0500 (Sat, 03 Apr 2010) | 4 lines

  use our own locale independent ctype macros

  requires building pyctype.o into pgen
........

14 years agoMerged revisions 79723 via svnmerge from
Benjamin Peterson [Sat, 3 Apr 2010 22:55:48 +0000 (22:55 +0000)]
Merged revisions 79723 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79723 | benjamin.peterson | 2010-04-03 17:48:51 -0500 (Sat, 03 Apr 2010) | 1 line

  ensure that the locale does not affect the tokenization of identifiers
........

14 years agoBlocked revisions 79718-79719 via svnmerge
Benjamin Peterson [Sat, 3 Apr 2010 22:11:20 +0000 (22:11 +0000)]
Blocked revisions 79718-79719 via svnmerge

........
  r79718 | antoine.pitrou | 2010-04-03 16:42:18 -0500 (Sat, 03 Apr 2010) | 3 lines

  Remove useless (?) import from r79706
........
  r79719 | benjamin.peterson | 2010-04-03 16:50:40 -0500 (Sat, 03 Apr 2010) | 1 line

  import bsddb more robustly
........