]> granicus.if.org Git - python/log
python
15 years agoProvide module docstrings for the two main test drivers in importlib that
Brett Cannon [Sun, 30 Aug 2009 08:39:57 +0000 (08:39 +0000)]
Provide module docstrings for the two main test drivers in importlib that
explain what they are for and how to use command-line arguments to tweak
semantics.

15 years agoTweak importlib.test.regrtest to only specify the implicit tests to exclude
Brett Cannon [Sun, 30 Aug 2009 08:30:35 +0000 (08:30 +0000)]
Tweak importlib.test.regrtest to only specify the implicit tests to exclude
when running entire test suite. Allows normal command-line arguments normally
given to test.regrtest to work (e.g. specifying a single test).

15 years agoDocument the import semantics that if None is found in sys.modules for a module then...
Brett Cannon [Sun, 30 Aug 2009 04:00:12 +0000 (04:00 +0000)]
Document the import semantics that if None is found in sys.modules for a module then ImportError is raised.

15 years agoHave importlib raise ImportError if None is found in sys.modules. This matches
Brett Cannon [Sun, 30 Aug 2009 03:47:36 +0000 (03:47 +0000)]
Have importlib raise ImportError if None is found in sys.modules. This matches
current import semantics.

15 years agoMerged revisions 74581 via svnmerge from
Amaury Forgeot d'Arc [Sat, 29 Aug 2009 23:00:38 +0000 (23:00 +0000)]
Merged revisions 74581 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74581 | amaury.forgeotdarc | 2009-08-29 20:14:40 +0200 (sam., 29 août 2009) | 3 lines

  #6750: TextIOWrapped could duplicate output when several threads write to it.
  this affect text files opened with io.open(), and the print() function of py3k
........

15 years agoBlocked revisions 72880,74098,74100,74463,74522,74537,74543,74569-74570 via svnmerge
Benjamin Peterson [Sat, 29 Aug 2009 13:44:43 +0000 (13:44 +0000)]
Blocked revisions 72880,74098,74100,74463,74522,74537,74543,74569-74570 via svnmerge

........
  r72880 | senthil.kumaran | 2009-05-24 04:14:50 -0500 (Sun, 24 May 2009) | 3 lines

  Fixed Issue1424152, urllib2 fails with HTTPS over Proxy.
........
  r74098 | kristjan.jonsson | 2009-07-19 17:14:00 -0500 (Sun, 19 Jul 2009) | 2 lines

  http://bugs.python.org/issue6499
  zlib/gzip may not be present for all builds.  Make xmlrpclib gracefully not supporg gzip encoding in this case
........
  r74100 | kristjan.jonsson | 2009-07-19 17:35:44 -0500 (Sun, 19 Jul 2009) | 2 lines

  http://bugs.python.org/issue6499
  gzip.GzipFile may not exist as a parent class
........
  r74463 | gregory.p.smith | 2009-08-15 17:39:03 -0500 (Sat, 15 Aug 2009) | 6 lines

  Force the http connection to close after any request returned when
  buffering=True as our buffered data is not known to the HTTPConnection and may
  contain data needed by a future request if the connection were left open.

  See http://bugs.python.org/issue2576 and http://bugs.python.org/issue4879.
........
  r74522 | gregory.p.smith | 2009-08-19 00:33:48 -0500 (Wed, 19 Aug 2009) | 8 lines

  Revert the changes from r74463, they were causing test_xmlrpc to fail.
  We do not need to force a close when using socket buffering on a
  httplib.HTTPRequest as the library does not support streaming requests
  so there should never been extra data beyond the end of the current
  request to have left over in the requests socket buffer.

  see http://bugs.python.org/issue6724
........
  r74537 | tarek.ziade | 2009-08-21 09:28:38 -0500 (Fri, 21 Aug 2009) | 1 line

  fixed misplaced Issue line
........
  r74543 | kristjan.jonsson | 2009-08-24 06:39:31 -0500 (Mon, 24 Aug 2009) | 2 lines

  issue 6769
  fix a mistake in instantiatiating the HTTPSConnection class.
........
  r74569 | benjamin.peterson | 2009-08-28 11:48:03 -0500 (Fri, 28 Aug 2009) | 1 line

  restricted environments are no more
........
  r74570 | benjamin.peterson | 2009-08-28 11:49:56 -0500 (Fri, 28 Aug 2009) | 1 line

  remove more code for restricted execution
........

15 years agoBlocked revisions 74575 via svnmerge
Mark Dickinson [Fri, 28 Aug 2009 21:04:57 +0000 (21:04 +0000)]
Blocked revisions 74575 via svnmerge

........
  r74575 | mark.dickinson | 2009-08-28 21:46:24 +0100 (Fri, 28 Aug 2009) | 1 line

  Silence gcc 'comparison always false' warning
........

15 years agoMerged revisions 74571 via svnmerge from
Lars Gustäbel [Fri, 28 Aug 2009 19:59:59 +0000 (19:59 +0000)]
Merged revisions 74571 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74571 | lars.gustaebel | 2009-08-28 21:23:44 +0200 (Fri, 28 Aug 2009) | 7 lines

  Issue #6054: Do not normalize stored pathnames.

  No longer use tarfile.normpath() on pathnames. Store pathnames
  unchanged, i.e. do not remove "./", "../" and "//" occurrences.
  However, still convert absolute to relative paths.
........

15 years agoMerged revisions 74564 via svnmerge from
Mark Dickinson [Fri, 28 Aug 2009 13:39:53 +0000 (13:39 +0000)]
Merged revisions 74564 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74564 | mark.dickinson | 2009-08-28 14:25:02 +0100 (Fri, 28 Aug 2009) | 3 lines

  Issue #6794:  Fix handling of NaNs in Decimal.compare_total and
  Decimal.compare_total_mag.
........

15 years agoAdd a test file to importlib that runs regrtest using importlib.__import__.
Brett Cannon [Thu, 27 Aug 2009 23:52:35 +0000 (23:52 +0000)]
Add a test file to importlib that runs regrtest using importlib.__import__.

The file must be run using runpy. Certain tests are currently excluded from
being run as they have known failures based on golden value checks that fail
for various reasons (typically because __loader__ is not expected to be set on
modules). Running the tests with this file does discover some incompatibilites
in importlib that will be fixed in the near future (as noted currently in the
docstring).

15 years agoAdd support for a --builtin argument to importlib.test to trigger running
Brett Cannon [Thu, 27 Aug 2009 23:49:56 +0000 (23:49 +0000)]
Add support for a --builtin argument to importlib.test to trigger running
import-specific tests with __import__ instead of importlib.

15 years agoMove over to using assertRaises as a context manager for importlib tests.
Brett Cannon [Thu, 27 Aug 2009 23:49:21 +0000 (23:49 +0000)]
Move over to using assertRaises as a context manager for importlib tests.

Obviously one shouldn't do whole sale conversions like this, but I was already
going through the test code and I was bored at the airport.

15 years agoMake __package__ setting tests specific to importlib. Also move to assertRaises conte...
Brett Cannon [Thu, 27 Aug 2009 23:46:38 +0000 (23:46 +0000)]
Make __package__ setting tests specific to importlib. Also move to assertRaises context manager.

15 years agoMove a test-skipping decorator over to unittest.skipIf.
Brett Cannon [Thu, 27 Aug 2009 23:44:18 +0000 (23:44 +0000)]
Move a test-skipping decorator over to unittest.skipIf.

15 years agothe old buffer object doesn't exist in Python 3 #6659
Benjamin Peterson [Wed, 26 Aug 2009 07:35:45 +0000 (07:35 +0000)]
the old buffer object doesn't exist in Python 3 #6659

15 years agoMerged revisions 74533 via svnmerge from
Tarek Ziadé [Fri, 21 Aug 2009 14:22:45 +0000 (14:22 +0000)]
Merged revisions 74533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74533 | tarek.ziade | 2009-08-21 16:11:26 +0200 (Fri, 21 Aug 2009) | 1 line

  Fixed #6556: Corrected doc on how Distutils looks for its user configuration file under Windows
........

15 years agoAdded section on exceptions raised during logging.
Vinay Sajip [Thu, 20 Aug 2009 22:05:10 +0000 (22:05 +0000)]
Added section on exceptions raised during logging.

15 years agoMerged revisions 74526 via svnmerge from
Tarek Ziadé [Thu, 20 Aug 2009 21:28:05 +0000 (21:28 +0000)]
Merged revisions 74526 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74526 | tarek.ziade | 2009-08-20 23:23:13 +0200 (Thu, 20 Aug 2009) | 1 line

  #6693: New functions in site.py to get user/global site packages paths.
........

15 years agoBlocked revisions 74503 via svnmerge
Tarek Ziadé [Thu, 20 Aug 2009 21:25:41 +0000 (21:25 +0000)]
Blocked revisions 74503 via svnmerge

........
  r74503 | tarek.ziade | 2009-08-18 10:21:49 +0200 (Tue, 18 Aug 2009) | 1 line

  fixed typo
........

15 years agoClean up a minor bit of wording.
Brett Cannon [Tue, 18 Aug 2009 23:54:07 +0000 (23:54 +0000)]
Clean up a minor bit of wording.

15 years agoMerged revisions 74507-74511,74517 via svnmerge from
Guilherme Polo [Tue, 18 Aug 2009 15:35:57 +0000 (15:35 +0000)]
Merged revisions 74507-74511,74517 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r74507 | guilherme.polo | 2009-08-18 10:23:08 -0300 (Tue, 18 Aug 2009) | 1 line

  Issue #1119673: Do not override Tkinter.Text methods when creating a ScrolledText.
........
  r74508 | guilherme.polo | 2009-08-18 10:29:20 -0300 (Tue, 18 Aug 2009) | 1 line

  Issue #1250469: Fix the return value of Tix.PanedWindow.panes.
........
  r74509 | guilherme.polo | 2009-08-18 10:33:30 -0300 (Tue, 18 Aug 2009) | 1 line

  Mark the "radio" option of Tix.CheckList as static.
........
  r74510 | guilherme.polo | 2009-08-18 11:23:00 -0300 (Tue, 18 Aug 2009) | 1 line

  Issue #1522587: New constants and methods for the Tix.Grid widget.
........
  r74511 | guilherme.polo | 2009-08-18 11:34:44 -0300 (Tue, 18 Aug 2009) | 1 line

  Fixes for Tix.Grid from issue #1522587.
........
  r74517 | guilherme.polo | 2009-08-18 11:46:57 -0300 (Tue, 18 Aug 2009) | 1 line

  Issue #1356969: Add missing info methods in Tix.HList.
........

15 years agomissing module ref (issue6723)
Skip Montanaro [Tue, 18 Aug 2009 14:37:42 +0000 (14:37 +0000)]
missing module ref (issue6723)

15 years agoMerged revisions 74501 via svnmerge from
Tarek Ziadé [Tue, 18 Aug 2009 08:23:10 +0000 (08:23 +0000)]
Merged revisions 74501 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74501 | tarek.ziade | 2009-08-18 10:16:33 +0200 (Tue, 18 Aug 2009) | 1 line

  added more test coverage for distutils.filelist to prevent regressions when fnmatch or re are changed
........

15 years agoMerged revisions 74495 via svnmerge from
Tarek Ziadé [Mon, 17 Aug 2009 21:50:37 +0000 (21:50 +0000)]
Merged revisions 74495 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74495 | tarek.ziade | 2009-08-17 23:48:22 +0200 (Mon, 17 Aug 2009) | 1 line

  module cleanup
........

15 years agoMerged revisions 74493 via svnmerge from
Tarek Ziadé [Mon, 17 Aug 2009 21:35:46 +0000 (21:35 +0000)]
Merged revisions 74493 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74493 | tarek.ziade | 2009-08-17 23:28:34 +0200 (Mon, 17 Aug 2009) | 1 line

  fixed how fnmatch.translate is used (since it has changed in r74475 for #6665). Now the code is not harcoding the usage of $ anymore
........

15 years agoFurther refined section on logging to one file from multiple processes.
Vinay Sajip [Mon, 17 Aug 2009 13:17:47 +0000 (13:17 +0000)]
Further refined section on logging to one file from multiple processes.

15 years agoMerged revisions 74479 via svnmerge from
Gregory P. Smith [Sun, 16 Aug 2009 22:08:56 +0000 (22:08 +0000)]
Merged revisions 74479 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74479 | gregory.p.smith | 2009-08-16 14:54:45 -0700 (Sun, 16 Aug 2009) | 2 lines

  Clean up the C library import code (based on suggestions in issue6281).
........

15 years agoMerged revisions 74477 via svnmerge from
Frank Wierzbicki [Sun, 16 Aug 2009 20:30:12 +0000 (20:30 +0000)]
Merged revisions 74477 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74477 | frank.wierzbicki | 2009-08-16 16:22:51 -0400 (Sun, 16 Aug 2009) | 2 lines

  Add test of file.write(array) extracted from Jython.
........

15 years agoMerged revisions 74475 via svnmerge from
Gregory P. Smith [Sun, 16 Aug 2009 18:58:46 +0000 (18:58 +0000)]
Merged revisions 74475 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74475 | gregory.p.smith | 2009-08-16 11:52:58 -0700 (Sun, 16 Aug 2009) | 2 lines

  Issue 6665: Fix fnmatch to properly match filenames with newlines in them.
........

15 years agoMoved entry about issue #1135 to the proper place.
Guilherme Polo [Sun, 16 Aug 2009 14:46:16 +0000 (14:46 +0000)]
Moved entry about issue #1135 to the proper place.

15 years agoMerged revisions 74471-74472 via svnmerge from
Guilherme Polo [Sun, 16 Aug 2009 14:44:14 +0000 (14:44 +0000)]
Merged revisions 74471-74472 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r74471 | guilherme.polo | 2009-08-16 11:34:26 -0300 (Sun, 16 Aug 2009) | 1 line

  Issue #6244: Allow detect_tkinter to look for Tcl/Tk 8.6.
........
  r74472 | guilherme.polo | 2009-08-16 11:38:57 -0300 (Sun, 16 Aug 2009) | 1 line

  Wrong place for issue #6244.
........

15 years agoFixing Issue6711 - macurl2path has typos that raise AttributeError
Senthil Kumaran [Sun, 16 Aug 2009 06:43:50 +0000 (06:43 +0000)]
Fixing Issue6711 - macurl2path has typos that raise AttributeError

15 years agoRefined section on logging to one file from multiple processes.
Vinay Sajip [Sat, 15 Aug 2009 23:35:08 +0000 (23:35 +0000)]
Refined section on logging to one file from multiple processes.

15 years agoAdded section on logging to one file from multiple processes.
Vinay Sajip [Sat, 15 Aug 2009 23:23:37 +0000 (23:23 +0000)]
Added section on logging to one file from multiple processes.

15 years agoBlocked revisions 74445 via svnmerge
Benjamin Peterson [Sat, 15 Aug 2009 14:08:53 +0000 (14:08 +0000)]
Blocked revisions 74445 via svnmerge

........
  r74445 | vinay.sajip | 2009-08-14 06:33:54 -0500 (Fri, 14 Aug 2009) | 1 line

  Added versionchanged notices for optional 'delay' parameter to file handler classes.
........

15 years agoMerged revisions 74457 via svnmerge from
Benjamin Peterson [Sat, 15 Aug 2009 13:23:05 +0000 (13:23 +0000)]
Merged revisions 74457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74457 | benjamin.peterson | 2009-08-15 08:16:38 -0500 (Sat, 15 Aug 2009) | 1 line

  #6707 fix a crash with dir() on an uninitialized module
........

15 years agoMerged revisions 74446-74449 via svnmerge from
Guilherme Polo [Fri, 14 Aug 2009 15:05:30 +0000 (15:05 +0000)]
Merged revisions 74446-74449 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r74446 | guilherme.polo | 2009-08-14 10:53:41 -0300 (Fri, 14 Aug 2009) | 1 line

  Issue #3344: Replace itertools.count by enumerate.
........
  r74447 | guilherme.polo | 2009-08-14 11:03:07 -0300 (Fri, 14 Aug 2009) | 1 line

  Issue #3926: Fix the usage of the new showwarnings and formatwarning.
........
  r74448 | guilherme.polo | 2009-08-14 11:36:45 -0300 (Fri, 14 Aug 2009) | 3 lines

  Issue #1135: Add the XView and YView mix-ins to avoid duplicating
  the xview* and yview* methods.
........
  r74449 | guilherme.polo | 2009-08-14 11:43:43 -0300 (Fri, 14 Aug 2009) | 1 line

  Clarifying Entry.selection_present's docstring.
........

15 years agoRecorded merge of revisions 74429 via svnmerge from
Georg Brandl [Fri, 14 Aug 2009 08:12:14 +0000 (08:12 +0000)]
Recorded merge of revisions 74429 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74429 | brett.cannon | 2009-08-13 21:27:12 +0200 (Do, 13 Aug 2009) | 5 lines

  Expat could crash if given the wrong kind of input by never stopping its
  tokenizing step.

  Thanks to Ivan Krstić for the patch.
........

15 years agoBackport of r77429. Not merged/blocked as svnmerge.py is not liking me right now.
Brett Cannon [Thu, 13 Aug 2009 19:58:01 +0000 (19:58 +0000)]
Backport of r77429. Not merged/blocked as svnmerge.py is not liking me right now.

15 years agoMerged revisions 74411 via svnmerge from
Georg Brandl [Thu, 13 Aug 2009 12:58:30 +0000 (12:58 +0000)]
Merged revisions 74411 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74411 | georg.brandl | 2009-08-13 14:57:25 +0200 (Do, 13 Aug 2009) | 2 lines

  Remove potentially confusing sentence in __mangling description.
........

15 years agoMerged revisions 74404 via svnmerge from
Georg Brandl [Thu, 13 Aug 2009 12:06:43 +0000 (12:06 +0000)]
Merged revisions 74404 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74404 | georg.brandl | 2009-08-13 14:05:52 +0200 (Do, 13 Aug 2009) | 1 line

  Use locale.format_string() for more than one specifier.
........

15 years agoFix duplicate sentence.
Georg Brandl [Thu, 13 Aug 2009 11:55:03 +0000 (11:55 +0000)]
Fix duplicate sentence.

15 years ago#6694: fix old function names.
Georg Brandl [Thu, 13 Aug 2009 09:16:39 +0000 (09:16 +0000)]
#6694: fix old function names.

15 years agoMerged revisions 74328,74332-74333,74365 via svnmerge from
Georg Brandl [Thu, 13 Aug 2009 07:56:35 +0000 (07:56 +0000)]
Merged revisions 74328,74332-74333,74365 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74328 | georg.brandl | 2009-08-06 17:06:25 +0200 (Do, 06 Aug 2009) | 1 line

  Fix base keyword arg name for int() and long().
........
  r74332 | georg.brandl | 2009-08-06 19:23:21 +0200 (Do, 06 Aug 2009) | 1 line

  Fix punctuation and one copy-paste error.
........
  r74333 | georg.brandl | 2009-08-06 19:43:55 +0200 (Do, 06 Aug 2009) | 1 line

  #6658: fix two typos.
........
  r74365 | georg.brandl | 2009-08-13 09:48:05 +0200 (Do, 13 Aug 2009) | 1 line

  #6679: Remove mention that sub supports no flags.
........

15 years ago#6126: fix pdb stepping and breakpoints by giving the executed code the correct filen...
Georg Brandl [Thu, 13 Aug 2009 07:50:57 +0000 (07:50 +0000)]
#6126: fix pdb stepping and breakpoints by giving the executed code the correct filename; this used execfile() in 2.x which did this automatically.

15 years agosearch through db.h in binary #6680
Benjamin Peterson [Wed, 12 Aug 2009 18:18:03 +0000 (18:18 +0000)]
search through db.h in binary #6680

15 years agofix typo in c++ ifdef
Benjamin Peterson [Wed, 12 Aug 2009 18:11:03 +0000 (18:11 +0000)]
fix typo in c++ ifdef

15 years agoFix typo
Antoine Pitrou [Thu, 6 Aug 2009 21:00:37 +0000 (21:00 +0000)]
Fix typo

15 years agoMerged revisions 74336 via svnmerge from
Antoine Pitrou [Thu, 6 Aug 2009 20:29:56 +0000 (20:29 +0000)]
Merged revisions 74336 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74336 | antoine.pitrou | 2009-08-06 22:18:29 +0200 (jeu., 06 août 2009) | 8 lines

  Issue #6629: Fix a data corruption issue in the new `io` package, which could
  occur when writing to a BufferedRandom object (e.g. a file opened in "rb+" or
  "wb+" mode) after having buffered a certain amount of data for reading. This
  bug was not present in the pure Python implementation.

  Yes, this is a serious issue.
........

15 years agotypo
Philip Jenvey [Thu, 6 Aug 2009 20:00:08 +0000 (20:00 +0000)]
typo

15 years ago#6648: mention surrogateescape handler where all standard handlers are listed.
Georg Brandl [Thu, 6 Aug 2009 17:51:03 +0000 (17:51 +0000)]
#6648: mention surrogateescape handler where all standard handlers are listed.

15 years agoIssue #6622: Fix 'variable referenced before assignment' bug in POP3.apop.
Mark Dickinson [Thu, 6 Aug 2009 16:06:25 +0000 (16:06 +0000)]
Issue #6622:  Fix 'variable referenced before assignment' bug in POP3.apop.
Thanks Vincent Legoll.

15 years agoIssue 5449: Fix io.BytesIO to not accept arbitrary keywords
Alexandre Vassalotti [Tue, 4 Aug 2009 23:19:13 +0000 (23:19 +0000)]
Issue 5449: Fix io.BytesIO to not accept arbitrary keywords

Patch contributed by Erick Tryzelaar.

15 years agoMerged revisions 74312 via svnmerge from
Mark Dickinson [Tue, 4 Aug 2009 21:57:18 +0000 (21:57 +0000)]
Merged revisions 74312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74312 | mark.dickinson | 2009-08-04 22:56:04 +0100 (Tue, 04 Aug 2009) | 4 lines

  Issue #6620: Slightly safer code for _grouping_intervals in the locale
  module.  Fixes a 'possible use before assignment' warning from pylint.
  Thanks Vincent Legoll.
........

15 years agoSlightly improve buffer-related error message.
Georg Brandl [Tue, 4 Aug 2009 20:29:27 +0000 (20:29 +0000)]
Slightly improve buffer-related error message.

15 years agoMerged revisions 74307 via svnmerge from
Georg Brandl [Tue, 4 Aug 2009 20:25:54 +0000 (20:25 +0000)]
Merged revisions 74307 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74307 | georg.brandl | 2009-08-04 22:22:43 +0200 (Di, 04 Aug 2009) | 1 line

  Add donation link to docs footer.
........

15 years agoMerged revisions 74303 via svnmerge from
Mark Dickinson [Tue, 4 Aug 2009 19:25:12 +0000 (19:25 +0000)]
Merged revisions 74303 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74303 | mark.dickinson | 2009-08-04 20:22:35 +0100 (Tue, 04 Aug 2009) | 2 lines

  Issue #6644:  Fix compile error on AIX.
........

15 years agoIssue 6637: defaultdict.copy() failed with an empty factory.
Raymond Hettinger [Tue, 4 Aug 2009 19:16:39 +0000 (19:16 +0000)]
Issue 6637: defaultdict.copy() failed with an empty factory.

15 years ago#6618: fix invalid 3k syntax.
Georg Brandl [Mon, 3 Aug 2009 17:50:20 +0000 (17:50 +0000)]
#6618: fix invalid 3k syntax.

15 years agoMerged revisions 74291 via svnmerge from
Frank Wierzbicki [Sun, 2 Aug 2009 22:19:05 +0000 (22:19 +0000)]
Merged revisions 74291 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74291 | frank.wierzbicki | 2009-08-02 16:37:48 -0400 (Sun, 02 Aug 2009) | 6 lines

  Adding tests derived from the Jython project.  These are primarily tests of
  'single' statements with partial sentences (so they test things like "try:" in
  interactive mode).  Others tests hit areas that previously failed in Jython. A
  couple still fail in Jython, mainly due to the difficulty of parsing partial
  sentences (but should be fixed by Jython 2.6).
........

15 years agoIssues #2715, #6621: Remove unused and undefined references to FSSpec
Mark Dickinson [Sun, 2 Aug 2009 20:08:54 +0000 (20:08 +0000)]
Issues #2715, #6621: Remove unused and undefined references to FSSpec
from binhex module.  Thanks Vincent Legoll.

15 years agoMerged revisions 74285 via svnmerge from
Mark Dickinson [Sun, 2 Aug 2009 15:51:19 +0000 (15:51 +0000)]
Merged revisions 74285 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74285 | mark.dickinson | 2009-08-02 16:40:11 +0100 (Sun, 02 Aug 2009) | 3 lines

  Issue #6619:  Remove duplicate 'isgenerator' function from inspect module.
  Thanks Vincent Legoll.
........

15 years agoBlocked revisions 74281 via svnmerge
Mark Dickinson [Sun, 2 Aug 2009 11:02:05 +0000 (11:02 +0000)]
Blocked revisions 74281 via svnmerge

........
  r74281 | mark.dickinson | 2009-08-02 11:59:36 +0100 (Sun, 02 Aug 2009) | 4 lines

  Issue #6595: Allow Decimal constructor to accept non-European decimal
  digits, as recommended by the specification.  (Backport of r74279 from
  py3k.)
........

15 years agoIssue #6595: Allow Decimal constructor to accept non-European decimal digits, as...
Mark Dickinson [Sun, 2 Aug 2009 10:14:23 +0000 (10:14 +0000)]
Issue #6595: Allow Decimal constructor to accept non-European decimal digits, as recommended by the specification.

15 years ago- Issue #6624: yArg_ParseTuple with "s" format when parsing argument with
Sean Reifscheider [Sat, 1 Aug 2009 23:55:06 +0000 (23:55 +0000)]
- Issue #6624: yArg_ParseTuple with "s" format when parsing argument with
  NUL: Bogus TypeError detail string.

15 years agoMerged revisions 74269 via svnmerge from
Eric Smith [Thu, 30 Jul 2009 13:43:08 +0000 (13:43 +0000)]
Merged revisions 74269 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74269 | eric.smith | 2009-07-30 09:39:44 -0400 (Thu, 30 Jul 2009) | 1 line

  Issue 6330: Fix --enable-unicode=ucs4.
........

15 years agoMerged revisions 74265 via svnmerge from
Mark Dickinson [Thu, 30 Jul 2009 10:02:09 +0000 (10:02 +0000)]
Merged revisions 74265 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74265 | mark.dickinson | 2009-07-30 11:00:10 +0100 (Thu, 30 Jul 2009) | 1 line

  Documentation fix for change introduced in r71832
........

15 years agoMerged revisions 74075,74187,74197,74201,74216,74225 via svnmerge from
Alexandre Vassalotti [Wed, 29 Jul 2009 20:12:15 +0000 (20:12 +0000)]
Merged revisions 74075,74187,74197,74201,74216,74225 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74075 | georg.brandl | 2009-07-18 05:06:31 -0400 (Sat, 18 Jul 2009) | 1 line

  #6505: fix typos.
........
  r74187 | benjamin.peterson | 2009-07-23 10:19:08 -0400 (Thu, 23 Jul 2009) | 1 line

  use bools for autoraise
........
  r74197 | benjamin.peterson | 2009-07-24 22:03:48 -0400 (Fri, 24 Jul 2009) | 1 line

  clarify
........
  r74201 | amaury.forgeotdarc | 2009-07-25 12:22:06 -0400 (Sat, 25 Jul 2009) | 2 lines

  Better name a variable: 'buf' seems to imply a mutable buffer.
........
  r74216 | michael.foord | 2009-07-26 17:12:14 -0400 (Sun, 26 Jul 2009) | 1 line

  Issue 6581. Michael Foord
........
  r74225 | kurt.kaiser | 2009-07-27 12:09:28 -0400 (Mon, 27 Jul 2009) | 5 lines

  1. Clean workspace more thoughly before build.
  2. Add url of branch we are building to 'results' webpage.
     (url is now available in $repo_path, could be added to failure email.)
  3. Adjust permissions to improve upload reliability.
........

15 years agoBlocked revisions 74134,74147 via svnmerge
Alexandre Vassalotti [Wed, 29 Jul 2009 20:00:39 +0000 (20:00 +0000)]
Blocked revisions 74134,74147 via svnmerge

........
  r74134 | thomas.heller | 2009-07-21 02:27:14 -0400 (Tue, 21 Jul 2009) | 3 lines

  Issue #6493: Fix a ctypes problem setting bitfields more than 31 bits
  wide.
........
  r74147 | thomas.heller | 2009-07-21 15:04:02 -0400 (Tue, 21 Jul 2009) | 1 line

  Revert rev 74134, as it does not completely fixx issue #6493.
........

15 years agoMerged revisions 74074,74077,74111,74188,74192-74193,74200,74252-74253,74258-74261...
Alexandre Vassalotti [Wed, 29 Jul 2009 19:54:39 +0000 (19:54 +0000)]
Merged revisions 74074,74077,74111,74188,74192-74193,74200,74252-74253,74258-74261 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74074 | georg.brandl | 2009-07-18 05:03:10 -0400 (Sat, 18 Jul 2009) | 1 line

  #6513: fix example code: warning categories are classes, not instances.
........
  r74077 | georg.brandl | 2009-07-18 05:43:40 -0400 (Sat, 18 Jul 2009) | 1 line

  #6489: fix an ambiguity in getiterator() documentation.
........
  r74111 | benjamin.peterson | 2009-07-20 09:30:10 -0400 (Mon, 20 Jul 2009) | 1 line

  remove docs for deprecated -p option
........
  r74188 | benjamin.peterson | 2009-07-23 10:25:31 -0400 (Thu, 23 Jul 2009) | 1 line

  use bools
........
  r74192 | georg.brandl | 2009-07-24 12:28:38 -0400 (Fri, 24 Jul 2009) | 1 line

  Fix arg types of et#.
........
  r74193 | georg.brandl | 2009-07-24 12:46:38 -0400 (Fri, 24 Jul 2009) | 1 line

  Dont put "void" in signature for nullary functions.
........
  r74200 | georg.brandl | 2009-07-25 09:02:15 -0400 (Sat, 25 Jul 2009) | 1 line

  #6571: add index entries for more operators.
........
  r74252 | georg.brandl | 2009-07-29 12:06:31 -0400 (Wed, 29 Jul 2009) | 1 line

  #6593: fix link targets.
........
  r74253 | georg.brandl | 2009-07-29 12:09:17 -0400 (Wed, 29 Jul 2009) | 1 line

  #6591: add reference to ioctl in fcntl module for platforms other than Windows.
........
  r74258 | georg.brandl | 2009-07-29 12:57:05 -0400 (Wed, 29 Jul 2009) | 1 line

  Add a link to readline, and mention IPython and bpython.
........
  r74259 | georg.brandl | 2009-07-29 13:07:21 -0400 (Wed, 29 Jul 2009) | 1 line

  Fix some markup and small factual glitches found by M. Markert.
........
  r74260 | georg.brandl | 2009-07-29 13:15:20 -0400 (Wed, 29 Jul 2009) | 1 line

  Fix a few markup glitches.
........
  r74261 | georg.brandl | 2009-07-29 13:50:25 -0400 (Wed, 29 Jul 2009) | 1 line

  Rewrite the section about classes a bit; mostly tidbits, and a larger update to the section about "private" variables to reflect the Pythonic consensus better.
........

15 years agoBlocked revisions 74256 via svnmerge
Georg Brandl [Wed, 29 Jul 2009 16:33:19 +0000 (16:33 +0000)]
Blocked revisions 74256 via svnmerge

........
  r74256 | georg.brandl | 2009-07-29 16:32:30 +0000 (Mi, 29 Jul 2009) | 1 line

  #6336: Add nb_divide.
........

15 years ago#6586: fix return/argument type doc for os.read() and os.write().
Georg Brandl [Wed, 29 Jul 2009 16:14:16 +0000 (16:14 +0000)]
#6586: fix return/argument type doc for os.read() and os.write().

15 years agoRecorded merge of revisions 74228 via svnmerge from
R. David Murray [Wed, 29 Jul 2009 14:12:23 +0000 (14:12 +0000)]
Recorded merge of revisions 74228 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

Applied in r74226.

........
  r74228 | raymond.hettinger | 2009-07-27 16:32:04 -0400 (Mon, 27 Jul 2009) | 1 line

  Issue 6573: Fix set.union() for cases where self is in the argument chain.
........

15 years agoMerged revisions 74239 via svnmerge from
Georg Brandl [Wed, 29 Jul 2009 07:27:08 +0000 (07:27 +0000)]
Merged revisions 74239 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74239 | georg.brandl | 2009-07-28 18:55:32 +0000 (Di, 28 Jul 2009) | 1 line

  Clarify quote_plus() usage.
........

15 years agoMerged revisions 74245 via svnmerge from
Amaury Forgeot d'Arc [Tue, 28 Jul 2009 22:18:57 +0000 (22:18 +0000)]
Merged revisions 74245 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74245 | amaury.forgeotdarc | 2009-07-29 00:15:30 +0200 (mer., 29 juil. 2009) | 3 lines

  #6511: ZipFile will now raise BadZipfile when opening an empty or tiny file,
  like it does for larger invalid files.
........

15 years agoBlocked revisions 74243 via svnmerge
Amaury Forgeot d'Arc [Tue, 28 Jul 2009 21:32:43 +0000 (21:32 +0000)]
Blocked revisions 74243 via svnmerge

........
  r74243 | amaury.forgeotdarc | 2009-07-28 22:47:55 +0200 (mar., 28 juil. 2009) | 2 lines

  "Fix" for the refleak report: the ABC classes are now in the _pyio module
........

15 years agoBlocked revisions 74240 via svnmerge
Mark Dickinson [Tue, 28 Jul 2009 20:36:23 +0000 (20:36 +0000)]
Blocked revisions 74240 via svnmerge

........
  r74240 | mark.dickinson | 2009-07-28 21:35:03 +0100 (Tue, 28 Jul 2009) | 4 lines

  Issue #6561: '\d' regular expression should not match characters of
  category [No]; only those of category [Nd].  (Backport of r74237
  from py3k.)
........

15 years agoIssue #6561: '\d' in a regular expression should match only Unicode
Mark Dickinson [Tue, 28 Jul 2009 17:22:36 +0000 (17:22 +0000)]
Issue #6561:  '\d' in a regular expression should match only Unicode
character category [Nd],  not [No].

15 years agoBlocked revisions 74234 via svnmerge
Mark Dickinson [Tue, 28 Jul 2009 16:46:53 +0000 (16:46 +0000)]
Blocked revisions 74234 via svnmerge

........
  r74234 | mark.dickinson | 2009-07-28 17:45:13 +0100 (Tue, 28 Jul 2009) | 1 line

  Remove leading blank line from cmath.rst
........

15 years agoMerged revisions 74184,74230 via svnmerge from
Mark Dickinson [Tue, 28 Jul 2009 16:31:03 +0000 (16:31 +0000)]
Merged revisions 74184,74230 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74184 | georg.brandl | 2009-07-23 08:08:58 +0100 (Thu, 23 Jul 2009) | 1 line

  #6548: dont suggest existence of real and imag functions in cmath.
........
  r74230 | mark.dickinson | 2009-07-28 17:12:40 +0100 (Tue, 28 Jul 2009) | 4 lines

  Issue #6458: Reorganize cmath documentation into sections (similar to
  the way that the math documentation is organized); clarify section on
  conversions to and from polar coordinates.
........

15 years agoIssue 6573: Fix set.union() for cases where self is in the argument chain.
Raymond Hettinger [Mon, 27 Jul 2009 20:16:37 +0000 (20:16 +0000)]
Issue 6573: Fix set.union() for cases where self is in the argument chain.

15 years ago- belated ACK for issue #6106
Jack Diederich [Mon, 27 Jul 2009 09:03:14 +0000 (09:03 +0000)]
- belated ACK for issue #6106

15 years agoSync trunk and py3k versions of string formatting. Manual merge of r74219.
Eric Smith [Mon, 27 Jul 2009 02:10:42 +0000 (02:10 +0000)]
Sync trunk and py3k versions of string formatting. Manual merge of r74219.

15 years agoBlocked revisions 74219 via svnmerge
Eric Smith [Mon, 27 Jul 2009 02:00:11 +0000 (02:00 +0000)]
Blocked revisions 74219 via svnmerge

........
  r74219 | eric.smith | 2009-07-26 21:58:25 -0400 (Sun, 26 Jul 2009) | 1 line

  Sync trunk and py3k versions of string formatting. Will manually merge into py3k.
........

15 years ago- fix issue #6106, Telnet.process_rawq default handling of WILL/WONT/DO/DONT
Jack Diederich [Sun, 26 Jul 2009 22:23:04 +0000 (22:23 +0000)]
- fix issue #6106, Telnet.process_rawq default handling of WILL/WONT/DO/DONT

15 years agoMerged revisions 74205 via svnmerge from
Georg Brandl [Sun, 26 Jul 2009 15:03:49 +0000 (15:03 +0000)]
Merged revisions 74205 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74205 | georg.brandl | 2009-07-26 15:36:39 +0200 (So, 26 Jul 2009) | 1 line

  #6576: fix cross-refs in re docs.
........

15 years agoMerged revisions 74207 via svnmerge from
Georg Brandl [Sun, 26 Jul 2009 15:02:41 +0000 (15:02 +0000)]
Merged revisions 74207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74207 | georg.brandl | 2009-07-26 16:19:57 +0200 (So, 26 Jul 2009) | 1 line

  #6577: fix (hopefully) all links to builtin instead of module/class-specific objects.
........

15 years agoMerged revisions 74209 via svnmerge from
Georg Brandl [Sun, 26 Jul 2009 14:54:51 +0000 (14:54 +0000)]
Merged revisions 74209 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74209 | georg.brandl | 2009-07-26 16:37:28 +0200 (So, 26 Jul 2009) | 1 line

  builtin -> built-in.
........

15 years agoRecorded merge of revisions 74210 via svnmerge from
Georg Brandl [Sun, 26 Jul 2009 14:48:09 +0000 (14:48 +0000)]
Recorded merge of revisions 74210 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74210 | georg.brandl | 2009-07-26 16:44:23 +0200 (So, 26 Jul 2009) | 1 line

  Move member descriptions inside the classes.
........

15 years agoFixing module names in the NEWS entry.
Senthil Kumaran [Sun, 26 Jul 2009 04:46:00 +0000 (04:46 +0000)]
Fixing module names in the NEWS entry.

15 years agoversionadded: 3.2. not 3.1.
Senthil Kumaran [Sat, 25 Jul 2009 04:27:38 +0000 (04:27 +0000)]
versionadded: 3.2. not 3.1.

15 years agoFixed Issue1424152 in Py3k: urllib2 fails with HTTPS over Proxy.
Senthil Kumaran [Sat, 25 Jul 2009 04:24:38 +0000 (04:24 +0000)]
Fixed Issue1424152 in Py3k: urllib2 fails with HTTPS over Proxy.

15 years agoaccount for range() py3k change
Benjamin Peterson [Sat, 25 Jul 2009 01:02:01 +0000 (01:02 +0000)]
account for range() py3k change

15 years agoBlocked revisions 74194 via svnmerge
Georg Brandl [Fri, 24 Jul 2009 20:13:37 +0000 (20:13 +0000)]
Blocked revisions 74194 via svnmerge

........
  r74194 | georg.brandl | 2009-07-24 22:09:46 +0200 (Fr, 24 Jul 2009) | 1 line

  #6564: fix section about the two raise syntaxes.
........

15 years agoBlocked revisions 74189 via svnmerge
Amaury Forgeot d'Arc [Thu, 23 Jul 2009 22:34:27 +0000 (22:34 +0000)]
Blocked revisions 74189 via svnmerge

........
  r74189 | amaury.forgeotdarc | 2009-07-23 21:26:02 +0200 (jeu., 23 juil. 2009) | 4 lines

  #6553: crash in cPickle.load(), when given a StringIO with incomplete data.

  Will backport to 2.6, 3.x already fixed a similar issue with issue4298.
........

15 years agoRecorded merge of revisions 74185 via svnmerge from
Georg Brandl [Thu, 23 Jul 2009 09:19:09 +0000 (09:19 +0000)]
Recorded merge of revisions 74185 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74185 | georg.brandl | 2009-07-23 11:17:09 +0200 (Do, 23 Jul 2009) | 1 line

  Fix the "pylocals" gdb command.
........

15 years agoSpecialize assertTrue checks when possible.
Alexandre Vassalotti [Wed, 22 Jul 2009 23:27:17 +0000 (23:27 +0000)]
Specialize assertTrue checks when possible.

We should get slightly more helpful failure messages with this change.

15 years agoUse assertGreater instead of assertTrue(x > y).
Alexandre Vassalotti [Wed, 22 Jul 2009 21:29:01 +0000 (21:29 +0000)]
Use assertGreater instead of assertTrue(x > y).

15 years agoClean up test_curses.
Alexandre Vassalotti [Wed, 22 Jul 2009 21:27:53 +0000 (21:27 +0000)]
Clean up test_curses.

By using __stdout__ directly, test_curses caused regrtest.py
to duplicate the output of some test results.

15 years agoMerged revisions 74179 via svnmerge from
Ezio Melotti [Wed, 22 Jul 2009 21:17:14 +0000 (21:17 +0000)]
Merged revisions 74179 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74179 | ezio.melotti | 2009-07-23 00:08:49 +0300 (Thu, 23 Jul 2009) | 1 line

  #6423 has_key -> in
........