]> granicus.if.org Git - python/log
python
15 years ago#6888 fix the alias command with no arguments
Benjamin Peterson [Fri, 11 Sep 2009 21:17:13 +0000 (21:17 +0000)]
#6888 fix the alias command with no arguments

15 years agokill reference to default encoding #6889
Benjamin Peterson [Fri, 11 Sep 2009 20:42:29 +0000 (20:42 +0000)]
kill reference to default encoding #6889

15 years agoMerged revisions 74737 via svnmerge from
Georg Brandl [Wed, 9 Sep 2009 16:51:05 +0000 (16:51 +0000)]
Merged revisions 74737 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74737 | georg.brandl | 2009-09-09 18:49:13 +0200 (Mi, 09 Sep 2009) | 1 line

  Properly document copy and deepcopy as functions.
........

15 years agoMerged revisions 74728 via svnmerge from
Tarek Ziadé [Wed, 9 Sep 2009 08:48:07 +0000 (08:48 +0000)]
Merged revisions 74728 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74728 | tarek.ziade | 2009-09-09 10:14:20 +0200 (Wed, 09 Sep 2009) | 1 line

  Issue #6163: Fixed HP-UX runtime library dir options in distutils.unixcompiler
........

15 years agoMerged revisions 74723 via svnmerge from
Mark Dickinson [Tue, 8 Sep 2009 20:22:46 +0000 (20:22 +0000)]
Merged revisions 74723 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74723 | mark.dickinson | 2009-09-08 21:20:19 +0100 (Tue, 08 Sep 2009) | 3 lines

  Issue #6857: Fix Decimal formatting to be consistent with existing float
  formatting:  both are now right-aligned by default.
........

15 years agoMerged revisions 74701 via svnmerge from
Ronald Oussoren [Tue, 8 Sep 2009 07:12:42 +0000 (07:12 +0000)]
Merged revisions 74701 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74701 | ronald.oussoren | 2009-09-07 08:12:00 +0200 (Mon, 07 Sep 2009) | 2 lines

  Fix typo in configure.in
........

15 years agoMerged revisions 74708 via svnmerge from
Mark Dickinson [Mon, 7 Sep 2009 18:08:12 +0000 (18:08 +0000)]
Merged revisions 74708 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74708 | mark.dickinson | 2009-09-07 19:04:58 +0100 (Mon, 07 Sep 2009) | 2 lines

  #Issue 6795:  Fix infinite recursion in long(Decimal('nan'));  change int(Decimal('nan')) to raise ValueError instead of either returning NaN or raising InvalidContext.
........

15 years agoMerged revisions 74704 via svnmerge from
Mark Dickinson [Mon, 7 Sep 2009 16:21:56 +0000 (16:21 +0000)]
Merged revisions 74704 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74704 | mark.dickinson | 2009-09-07 17:17:41 +0100 (Mon, 07 Sep 2009) | 3 lines

  Issue #6850: Fix bug in Decimal._parse_format_specifier for formats
  with no type specifier.
........

15 years agoBlocked revisions 74699,74702 via svnmerge
Benjamin Peterson [Mon, 7 Sep 2009 13:03:49 +0000 (13:03 +0000)]
Blocked revisions 74699,74702 via svnmerge

........
  r74699 | benjamin.peterson | 2009-09-06 17:43:39 -0500 (Sun, 06 Sep 2009) | 1 line

  PyObject_GetIter can set an error for its self just fine
........
  r74702 | benjamin.peterson | 2009-09-07 08:02:15 -0500 (Mon, 07 Sep 2009) | 1 line

  revert r74699 since it loses useful error information
........

15 years agoMerged revisions 74693 via svnmerge from
Mark Dickinson [Sun, 6 Sep 2009 21:24:55 +0000 (21:24 +0000)]
Merged revisions 74693 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74693 | mark.dickinson | 2009-09-06 22:21:05 +0100 (Sun, 06 Sep 2009) | 2 lines

  Issue #6848:  Fix curses module build failure on OS X 10.6.
........

15 years agoMerged revisions 74689 via svnmerge from
Mark Dickinson [Sun, 6 Sep 2009 20:53:58 +0000 (20:53 +0000)]
Merged revisions 74689 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74689 | mark.dickinson | 2009-09-06 21:51:37 +0100 (Sun, 06 Sep 2009) | 1 line

  Remove redundant assignment
........

15 years agoFix for issue 6393: Python crashes on OSX when $LANG is set to some (but
Ronald Oussoren [Sun, 6 Sep 2009 13:59:02 +0000 (13:59 +0000)]
Fix for issue 6393: Python crashes on OSX when $LANG is set to some (but
not all) invalid values due to an invalid result from nl_langinfo

15 years agoMerged revisions 74672 via svnmerge from
Ronald Oussoren [Sun, 6 Sep 2009 11:01:15 +0000 (11:01 +0000)]
Merged revisions 74672 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74672 | ronald.oussoren | 2009-09-06 12:00:26 +0200 (Sun, 06 Sep 2009) | 1 line

  Fix build issues on OSX 10.6 (issue 6802)
........

15 years agoMerged revisions 74677 via svnmerge from
Mark Dickinson [Sun, 6 Sep 2009 10:34:47 +0000 (10:34 +0000)]
Merged revisions 74677 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74677 | mark.dickinson | 2009-09-06 11:32:21 +0100 (Sun, 06 Sep 2009) | 1 line

  Issue #6847: s/bytes/bytearray/ in some bytearray error messages.  Thanks Hagen Fürstenau.
........

15 years agoMerged revisions 74673 via svnmerge from
Mark Dickinson [Sun, 6 Sep 2009 10:19:23 +0000 (10:19 +0000)]
Merged revisions 74673 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74673 | mark.dickinson | 2009-09-06 11:03:31 +0100 (Sun, 06 Sep 2009) | 3 lines

  Issue #6846: bytearray.pop was returning ints in the range [-128, 128)
  instead of [0, 256).  Thanks Hagen Fürstenau for the report and fix.
........

15 years agoMerged revisions 74667 via svnmerge from
Mark Dickinson [Sat, 5 Sep 2009 10:36:23 +0000 (10:36 +0000)]
Merged revisions 74667 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74667 | mark.dickinson | 2009-09-05 11:27:00 +0100 (Sat, 05 Sep 2009) | 2 lines

  Add configure-time checks for gamma and error functions.
........

15 years agoIssue 6239: ctypes.c_char_p return value must return bytes.
Thomas Heller [Fri, 4 Sep 2009 18:24:41 +0000 (18:24 +0000)]
Issue 6239: ctypes.c_char_p return value must return bytes.

15 years agoRemove the just-removed "help" from __all__.
Georg Brandl [Fri, 4 Sep 2009 17:15:16 +0000 (17:15 +0000)]
Remove the just-removed "help" from __all__.

15 years agoRecorded merge of revisions 74655-74656 via svnmerge from
Georg Brandl [Fri, 4 Sep 2009 17:13:13 +0000 (17:13 +0000)]
Recorded merge of revisions 74655-74656 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74655 | chris.withers | 2009-09-04 18:12:32 +0200 (Fr, 04 Sep 2009) | 2 lines

  Fixes issue #6838: use a list to accumulate the value instead of repeatedly concatenating strings.
........
  r74656 | chris.withers | 2009-09-04 18:32:22 +0200 (Fr, 04 Sep 2009) | 1 line

  news entry matching r74655
........

15 years agoFixes issue #6838: use a list to accumulate the value instead of repeatedly concatena...
Chris Withers [Fri, 4 Sep 2009 17:04:16 +0000 (17:04 +0000)]
Fixes issue #6838: use a list to accumulate the value instead of repeatedly concatenating strings.

15 years agoBlocked revisions 74653 via svnmerge
Georg Brandl [Fri, 4 Sep 2009 15:41:40 +0000 (15:41 +0000)]
Blocked revisions 74653 via svnmerge

........
  r74653 | georg.brandl | 2009-09-04 13:32:18 +0200 (Fr, 04 Sep 2009) | 1 line

  #6777: dont discourage usage of Exception.args or promote usage of Exception.message.
........

15 years agoRecorded merge of revisions 74650 via svnmerge from
Georg Brandl [Fri, 4 Sep 2009 11:20:54 +0000 (11:20 +0000)]
Recorded merge of revisions 74650 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74650 | georg.brandl | 2009-09-04 13:19:34 +0200 (Fr, 04 Sep 2009) | 1 line

  #5101: add back tests to test_funcattrs that were lost during unittest conversion, and make some PEP8 cleanups.
........

15 years agoTurn some comments into docstrings.
Georg Brandl [Fri, 4 Sep 2009 08:28:01 +0000 (08:28 +0000)]
Turn some comments into docstrings.

15 years agoRemove pseudo-end markers from http.cookies.
Georg Brandl [Fri, 4 Sep 2009 08:22:00 +0000 (08:22 +0000)]
Remove pseudo-end markers from http.cookies.

15 years agoRemove backwards compatibility stuff from profile/cProfile.
Georg Brandl [Fri, 4 Sep 2009 08:09:32 +0000 (08:09 +0000)]
Remove backwards compatibility stuff from profile/cProfile.

15 years ago#5221: fix related topics: SEQUENCEMETHODS[12] doesnt exist any more.
Georg Brandl [Fri, 4 Sep 2009 08:07:32 +0000 (08:07 +0000)]
#5221: fix related topics: SEQUENCEMETHODS[12] doesnt exist any more.

15 years agoMerged revisions 74640 via svnmerge from
Brett Cannon [Thu, 3 Sep 2009 21:29:20 +0000 (21:29 +0000)]
Merged revisions 74640 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74640 | brett.cannon | 2009-09-03 14:25:21 -0700 (Thu, 03 Sep 2009) | 7 lines

  test_platform fails on OS X Snow Leopard because the UNIX command to get the
  canonical version, sw_vers, leaves off trailing zeros in the version number
  (e.g. 10.6 instead of 10.6.0). Test now compensates by tacking on extra zeros
  for the test comparison.

  Fixes issue #6806.
........

15 years agoRework importlib benchmarks so that they measure number of executions within a
Brett Cannon [Thu, 3 Sep 2009 20:45:21 +0000 (20:45 +0000)]
Rework importlib benchmarks so that they measure number of executions within a
second instead of some fixed number.

Keeps benchmark faster by putting a cap on total execution time. Before a run
using importlib took longer by some factor, but now it takes roughly the
same amount of time as using the built-in __import__.

15 years ago- apply issue 6582 to test all the write methods of telnetlib
Jack Diederich [Thu, 3 Sep 2009 20:37:58 +0000 (20:37 +0000)]
- apply issue 6582 to test all the write methods of telnetlib
- add patch author to ACKS
- possibly fix test timeouts on non-linux platforms

15 years agoMerged revisions 74633 via svnmerge from
Georg Brandl [Thu, 3 Sep 2009 12:34:10 +0000 (12:34 +0000)]
Merged revisions 74633 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74633 | georg.brandl | 2009-09-03 14:31:39 +0200 (Do, 03 Sep 2009) | 1 line

  #6757: complete the list of types that marshal can serialize.
........

15 years agoSwitch more function arguments docs to new-style.
Georg Brandl [Wed, 2 Sep 2009 20:34:52 +0000 (20:34 +0000)]
Switch more function arguments docs to new-style.

15 years agoUse true booleans and a bit more PEP8.
Georg Brandl [Wed, 2 Sep 2009 20:34:14 +0000 (20:34 +0000)]
Use true booleans and a bit more PEP8.

15 years agoUse true kwonly arg instead of **kwds hackaround.
Georg Brandl [Wed, 2 Sep 2009 20:33:30 +0000 (20:33 +0000)]
Use true kwonly arg instead of **kwds hackaround.

15 years ago#6819: fix typo.
Georg Brandl [Wed, 2 Sep 2009 20:31:26 +0000 (20:31 +0000)]
#6819: fix typo.

15 years agoRemove old news entry that got merged.
Georg Brandl [Tue, 1 Sep 2009 08:12:13 +0000 (08:12 +0000)]
Remove old news entry that got merged.

15 years agoMerged revisions 74542,74544-74548,74550,74554-74555,74578,74588,74590,74603,74616...
Georg Brandl [Tue, 1 Sep 2009 08:11:14 +0000 (08:11 +0000)]
Merged revisions 74542,74544-74548,74550,74554-74555,74578,74588,74590,74603,74616-74618,74621 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74542 | georg.brandl | 2009-08-23 23:28:56 +0200 (So, 23 Aug 2009) | 1 line

  Restore alphabetic order.
........
  r74544 | georg.brandl | 2009-08-24 19:12:30 +0200 (Mo, 24 Aug 2009) | 1 line

  #6775: fix python.org URLs in README.
........
  r74545 | georg.brandl | 2009-08-24 19:14:29 +0200 (Mo, 24 Aug 2009) | 1 line

  #6772: mention utf-8 as utf8 alias.
........
  r74546 | georg.brandl | 2009-08-24 19:20:40 +0200 (Mo, 24 Aug 2009) | 1 line

  #6725: spell "namespace" consistently.
........
  r74547 | georg.brandl | 2009-08-24 19:22:05 +0200 (Mo, 24 Aug 2009) | 1 line

  #6718: fix example.
........
  r74548 | georg.brandl | 2009-08-24 19:24:27 +0200 (Mo, 24 Aug 2009) | 1 line

  #6677: mention "deleting" as an alias for removing files.
........
  r74550 | georg.brandl | 2009-08-24 19:48:40 +0200 (Mo, 24 Aug 2009) | 1 line

  #6677: note that rmdir only removes empty directories.
........
  r74554 | georg.brandl | 2009-08-27 20:59:02 +0200 (Do, 27 Aug 2009) | 1 line

  Typo fix.
........
  r74555 | georg.brandl | 2009-08-27 21:02:43 +0200 (Do, 27 Aug 2009) | 1 line

  #6787: reference fix.
........
  r74578 | tarek.ziade | 2009-08-29 15:33:21 +0200 (Sa, 29 Aug 2009) | 1 line

  fixed #6801: symmetric_difference_update also accepts pipe
........
  r74588 | georg.brandl | 2009-08-30 10:35:01 +0200 (So, 30 Aug 2009) | 1 line

  #6803: fix old name.
........
  r74590 | georg.brandl | 2009-08-30 13:51:53 +0200 (So, 30 Aug 2009) | 1 line

  #6801: fix copy-paste oversight.
........
  r74603 | georg.brandl | 2009-08-31 08:38:29 +0200 (Mo, 31 Aug 2009) | 1 line

  other -> others where multiple arguments are accepted.
........
  r74616 | georg.brandl | 2009-09-01 09:46:26 +0200 (Di, 01 Sep 2009) | 1 line

  #6808: clarification.
........
  r74617 | georg.brandl | 2009-09-01 09:53:37 +0200 (Di, 01 Sep 2009) | 1 line

  #6765: hint that log(x, base) is not very sophisticated.
........
  r74618 | georg.brandl | 2009-09-01 10:00:47 +0200 (Di, 01 Sep 2009) | 1 line

  #6810: add a link to the section about frame objects instead of just a description where to find it.
........
  r74621 | georg.brandl | 2009-09-01 10:06:03 +0200 (Di, 01 Sep 2009) | 1 line

  #6638: fix wrong parameter name and markup a class.
........

15 years ago#6732: fix return value of module init function in example.
Georg Brandl [Tue, 1 Sep 2009 08:03:26 +0000 (08:03 +0000)]
#6732: fix return value of module init function in example.

15 years ago#6754: remove old struct member nb_inplace_divide.
Georg Brandl [Tue, 1 Sep 2009 08:02:03 +0000 (08:02 +0000)]
#6754: remove old struct member nb_inplace_divide.

15 years agoRecorded merge of revisions 74614 via svnmerge from
Georg Brandl [Tue, 1 Sep 2009 07:42:40 +0000 (07:42 +0000)]
Recorded merge of revisions 74614 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74614 | georg.brandl | 2009-09-01 09:40:54 +0200 (Di, 01 Sep 2009) | 1 line

  #6813: better documentation for numberless string formats.
........

15 years ago#6814: remove traces of xrange().
Georg Brandl [Tue, 1 Sep 2009 07:34:27 +0000 (07:34 +0000)]
#6814: remove traces of xrange().

15 years agoRecorded merge of revisions 74608 via svnmerge from
Georg Brandl [Mon, 31 Aug 2009 20:06:09 +0000 (20:06 +0000)]
Recorded merge of revisions 74608 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74608 | senthil.kumaran | 2009-08-31 18:40:27 +0200 (Mo, 31 Aug 2009) | 3 lines

  Doc fix for the issue2637.
........

15 years agoDoc fix for issue2637.
Senthil Kumaran [Mon, 31 Aug 2009 16:43:45 +0000 (16:43 +0000)]
Doc fix for issue2637.

15 years agoMerged revisions 74604 via svnmerge from
Mark Dickinson [Mon, 31 Aug 2009 14:52:10 +0000 (14:52 +0000)]
Merged revisions 74604 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74604 | mark.dickinson | 2009-08-31 15:46:07 +0100 (Mon, 31 Aug 2009) | 1 line

  Issue #6297: Add autogenerated Misc/python.pc file to make distclean target.  Thanks Jerry Chen.
........

15 years agoClarify why test_import is failing under importlib.
Brett Cannon [Sun, 30 Aug 2009 23:41:40 +0000 (23:41 +0000)]
Clarify why test_import is failing under importlib.

15 years agoLoosen an exception test in test_import to not require an explicit message but instea...
Brett Cannon [Sun, 30 Aug 2009 22:22:21 +0000 (22:22 +0000)]
Loosen an exception test in test_import to not require an explicit message but instead just the proper exception.

15 years agoTrying to import a submodule from another module and not a package was raising
Brett Cannon [Sun, 30 Aug 2009 20:22:21 +0000 (20:22 +0000)]
Trying to import a submodule from another module and not a package was raising
AttributeError in importlib when it should be an ImportError.

Found when running importlib against test_runpy.

15 years agotest_pep3120 is no longer a problem for importlib as the test was tweaked.
Brett Cannon [Sun, 30 Aug 2009 20:08:15 +0000 (20:08 +0000)]
test_pep3120 is no longer a problem for importlib as the test was tweaked.

15 years agoMake the exception message check for malformed UTF-8 source looser so that SyntaxErro...
Brett Cannon [Sun, 30 Aug 2009 20:07:38 +0000 (20:07 +0000)]
Make the exception message check for malformed UTF-8 source looser so that SyntaxError triggered from UnicodeDecodeError is also acceptable.

15 years agoWhen the globals argument to importlib.__import__() contained any value for
Brett Cannon [Sun, 30 Aug 2009 19:53:48 +0000 (19:53 +0000)]
When the globals argument to importlib.__import__() contained any value for
__package__, it was used. This was incorrect since it could be set to None to
represent the fact that a proper value was unknown. Now None will trigger the
calculation for __package__.

Discovered when running importlib against test_importhooks.

15 years agoTurn on verbose2 for importlib.test.regrtest so as to see failures when they occur.
Brett Cannon [Sun, 30 Aug 2009 19:44:32 +0000 (19:44 +0000)]
Turn on verbose2 for importlib.test.regrtest so as to see failures when they occur.

15 years agoRaise TypeError if the name given to importlib.__import__() lacks an rpartition
Brett Cannon [Sun, 30 Aug 2009 19:08:58 +0000 (19:08 +0000)]
Raise TypeError if the name given to importlib.__import__() lacks an rpartition
attribute. Was throwing AttributeError before. Discovered when running
test_builtin against importlib.

This exception change is specific to importlib.__import__() and does not apply to
import_module() as it is being done for compatibility reasons only.

15 years agoFix the importlib_only test decorator to work again; don't capture the flag variable...
Brett Cannon [Sun, 30 Aug 2009 18:59:21 +0000 (18:59 +0000)]
Fix the importlib_only test decorator to work again; don't capture the flag variable as it might change later.

15 years agoUse the public API, not a private one.
Brett Cannon [Sun, 30 Aug 2009 18:40:23 +0000 (18:40 +0000)]
Use the public API, not a private one.

15 years agoAllow importlib.__import__ to accept any iterable for fromlist. Discovered when
Brett Cannon [Sun, 30 Aug 2009 18:28:46 +0000 (18:28 +0000)]
Allow importlib.__import__ to accept any iterable for fromlist. Discovered when
running importlib against test___all__.

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