]> granicus.if.org Git - python/log
python
15 years agoMerged revisions 74787 via svnmerge from
Ezio Melotti [Mon, 14 Sep 2009 00:51:48 +0000 (00:51 +0000)]
Merged revisions 74787 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74787 | ezio.melotti | 2009-09-14 03:48:31 +0300 (Mon, 14 Sep 2009) | 1 line

  #6904 - fix broken link
........

15 years agoMerged revisions 74773 via svnmerge from
Matthias Klose [Sun, 13 Sep 2009 15:18:53 +0000 (15:18 +0000)]
Merged revisions 74773 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74773 | matthias.klose | 2009-09-13 17:09:24 +0200 (So, 13 Sep 2009) | 2 lines

  Issue #6635: Fix profiler printing usage message.
........

15 years agoMerged revisions 74769 via svnmerge from
Mark Dickinson [Sun, 13 Sep 2009 12:06:08 +0000 (12:06 +0000)]
Merged revisions 74769 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74769 | mark.dickinson | 2009-09-13 12:56:13 +0100 (Sun, 13 Sep 2009) | 3 lines

  Fix potential signed-overflow bug in _PyLong_Format;  also fix
  a couple of whitespace issues.
........

15 years agotypo: string values *have* to be
Ezio Melotti [Sun, 13 Sep 2009 08:01:06 +0000 (08:01 +0000)]
typo: string values *have* to be

15 years agofixed more examples that were using u"", print without () and unicode/str instead...
Ezio Melotti [Sun, 13 Sep 2009 07:54:02 +0000 (07:54 +0000)]
fixed more examples that were using u"", print without () and unicode/str instead of str/bytes

15 years agosmall fixes in the examples and in the markup
Ezio Melotti [Sun, 13 Sep 2009 05:49:25 +0000 (05:49 +0000)]
small fixes in the examples and in the markup

15 years agomore list()s on dictviews
Ezio Melotti [Sun, 13 Sep 2009 04:48:45 +0000 (04:48 +0000)]
more list()s on dictviews

15 years agopy3k documentation has its own url
Benjamin Peterson [Sun, 13 Sep 2009 02:23:12 +0000 (02:23 +0000)]
py3k documentation has its own url

15 years agoMerged revisions 74757 via svnmerge from
Benjamin Peterson [Sun, 13 Sep 2009 02:22:00 +0000 (02:22 +0000)]
Merged revisions 74757 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74757 | benjamin.peterson | 2009-09-12 20:59:31 -0500 (Sat, 12 Sep 2009) | 1 line

  update urls
........

15 years agoMerged revisions 74754 via svnmerge from
Ezio Melotti [Sat, 12 Sep 2009 18:41:20 +0000 (18:41 +0000)]
Merged revisions 74754 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74754 | ezio.melotti | 2009-09-12 17:43:43 +0300 (Sat, 12 Sep 2009) | 1 line

  #6026 - fix tests that failed without zlib
........

15 years agoMerged revisions 74750 via svnmerge from
Lars Gustäbel [Sat, 12 Sep 2009 10:44:00 +0000 (10:44 +0000)]
Merged revisions 74750 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74750 | lars.gustaebel | 2009-09-12 12:28:15 +0200 (Sat, 12 Sep 2009) | 9 lines

  Issue #6856: Add a filter keyword argument to TarFile.add().

  The filter argument must be a function that takes a TarInfo
  object argument, changes it and returns it again. If the
  function returns None the TarInfo object will be excluded
  from the archive.
  The exclude argument is deprecated from now on, because it
  does something similar but is not as flexible.
........

15 years agoFix typo.
R. David Murray [Sat, 12 Sep 2009 03:09:02 +0000 (03:09 +0000)]
Fix typo.

15 years agod.items() -> list(d.items()) in the examples
Ezio Melotti [Sat, 12 Sep 2009 01:52:05 +0000 (01:52 +0000)]
d.items() -> list(d.items()) in the examples

15 years agoMerged revisions 74464 via svnmerge from
Benjamin Peterson [Fri, 11 Sep 2009 22:36:20 +0000 (22:36 +0000)]
Merged revisions 74464 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74464 | benjamin.peterson | 2009-08-15 17:59:21 -0500 (Sat, 15 Aug 2009) | 4 lines

  better col_offsets for "for" statements with tuple unpacking #6704

  Patch from Frank Wierzbicki.
........

15 years agoMerged revisions 74277,74321,74323,74326,74355,74465,74467,74488,74492,74513,74531...
Benjamin Peterson [Fri, 11 Sep 2009 22:24:02 +0000 (22:24 +0000)]
Merged revisions 74277,74321,74323,74326,74355,74465,74467,74488,74492,74513,74531,74549,74553,74625,74632,74643-74644,74647,74652,74666,74671,74727,74739 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74277 | sean.reifschneider | 2009-08-01 18:54:55 -0500 (Sat, 01 Aug 2009) | 3 lines

  - Issue #6624: yArg_ParseTuple with "s" format when parsing argument with
    NUL: Bogus TypeError detail string.
........
  r74321 | guilherme.polo | 2009-08-05 11:51:41 -0500 (Wed, 05 Aug 2009) | 1 line

  Easier reference to find (at least while svn continues being used).
........
  r74323 | guilherme.polo | 2009-08-05 18:48:26 -0500 (Wed, 05 Aug 2009) | 1 line

  Typo.
........
  r74326 | jesse.noller | 2009-08-05 21:05:56 -0500 (Wed, 05 Aug 2009) | 1 line

  Fix issue 4660: spurious task_done errors in multiprocessing, remove doc note for from_address
........
  r74355 | gregory.p.smith | 2009-08-12 12:02:37 -0500 (Wed, 12 Aug 2009) | 2 lines

  comment typo fix
........
  r74465 | vinay.sajip | 2009-08-15 18:23:12 -0500 (Sat, 15 Aug 2009) | 1 line

  Added section on logging to one file from multiple processes.
........
  r74467 | vinay.sajip | 2009-08-15 18:34:47 -0500 (Sat, 15 Aug 2009) | 1 line

  Refined section on logging to one file from multiple processes.
........
  r74488 | vinay.sajip | 2009-08-17 08:14:37 -0500 (Mon, 17 Aug 2009) | 1 line

  Further refined section on logging to one file from multiple processes.
........
  r74492 | r.david.murray | 2009-08-17 14:26:49 -0500 (Mon, 17 Aug 2009) | 2 lines

  Issue 6685: 'toupper' -> 'upper' in cgi doc example explanation.
........
  r74513 | skip.montanaro | 2009-08-18 09:37:52 -0500 (Tue, 18 Aug 2009) | 1 line

  missing module ref (issue6723)
........
  r74531 | vinay.sajip | 2009-08-20 17:04:32 -0500 (Thu, 20 Aug 2009) | 1 line

  Added section on exceptions raised during logging.
........
  r74549 | benjamin.peterson | 2009-08-24 12:42:36 -0500 (Mon, 24 Aug 2009) | 1 line

  fix pdf building by teaching latex the right encoding package
........
  r74553 | r.david.murray | 2009-08-26 20:04:59 -0500 (Wed, 26 Aug 2009) | 2 lines

  Remove leftover text from end of sentence.
........
  r74625 | benjamin.peterson | 2009-09-01 17:27:57 -0500 (Tue, 01 Sep 2009) | 1 line

  remove the check that classmethod's argument is a callable
........
  r74632 | georg.brandl | 2009-09-03 02:27:26 -0500 (Thu, 03 Sep 2009) | 1 line

  #6828: fix wrongly highlighted blocks.
........
  r74643 | georg.brandl | 2009-09-04 01:59:20 -0500 (Fri, 04 Sep 2009) | 2 lines

  Issue #2666: Handle BROWSER environment variable properly for unknown browser names in the webbrowser module.
........
  r74644 | georg.brandl | 2009-09-04 02:55:14 -0500 (Fri, 04 Sep 2009) | 1 line

  #5047: remove Monterey support from configure.
........
  r74647 | georg.brandl | 2009-09-04 03:17:04 -0500 (Fri, 04 Sep 2009) | 2 lines

  Issue #5275: In Cookie's Cookie.load(), properly handle non-string arguments as documented.
........
  r74652 | georg.brandl | 2009-09-04 06:25:37 -0500 (Fri, 04 Sep 2009) | 1 line

  #6756: add some info about the "acct" parameter.
........
  r74666 | georg.brandl | 2009-09-05 04:04:09 -0500 (Sat, 05 Sep 2009) | 1 line

  #6841: remove duplicated word.
........
  r74671 | georg.brandl | 2009-09-05 11:47:17 -0500 (Sat, 05 Sep 2009) | 1 line

  #6843: add link from filterwarnings to where the meaning of the arguments is covered.
........
  r74727 | benjamin.peterson | 2009-09-08 18:04:22 -0500 (Tue, 08 Sep 2009) | 1 line

  #6865 fix ref counting in initialization of pwd module
........
  r74739 | georg.brandl | 2009-09-11 02:55:20 -0500 (Fri, 11 Sep 2009) | 1 line

  Move function back to its section.
........

15 years agoBlocked revisions 74300,74490,74519,74631,74635-74637,74684,74721 via svnmerge
Benjamin Peterson [Fri, 11 Sep 2009 21:30:05 +0000 (21:30 +0000)]
Blocked revisions 74300,74490,74519,74631,74635-74637,74684,74721 via svnmerge

........
  r74300 | raymond.hettinger | 2009-08-04 14:08:05 -0500 (Tue, 04 Aug 2009) | 1 line

  Issue 6637: defaultdict.copy() failed with an empty factory.
........
  r74490 | benjamin.peterson | 2009-08-17 08:39:41 -0500 (Mon, 17 Aug 2009) | 1 line

  typos
........
  r74519 | guilherme.polo | 2009-08-18 11:39:36 -0500 (Tue, 18 Aug 2009) | 1 line

  Added missing static option for OptionMenu. Issue #5961.
........
  r74631 | georg.brandl | 2009-09-02 15:37:16 -0500 (Wed, 02 Sep 2009) | 1 line

  #6821: fix signature of PyBuffer_Release().
........
  r74635 | armin.rigo | 2009-09-03 14:40:07 -0500 (Thu, 03 Sep 2009) | 2 lines

  Found the next crasher by thinking about this logic in PyPy.
........
  r74636 | armin.rigo | 2009-09-03 14:42:03 -0500 (Thu, 03 Sep 2009) | 3 lines

  Does not terminate: consume all memory without responding to Ctrl-C.
  I am not too sure why, but you can surely find out by gdb'ing a bit...
........
  r74637 | armin.rigo | 2009-09-03 14:45:27 -0500 (Thu, 03 Sep 2009) | 4 lines

  Sorry, sorry!  Ignore my previous two commits.  I mixed up the version
  of python with which I tried running the crashers.  They don't crash
  the current HEAD.
........
  r74684 | ronald.oussoren | 2009-09-06 07:23:18 -0500 (Sun, 06 Sep 2009) | 2 lines

  Fix for issue 4937
........
  r74721 | thomas.heller | 2009-09-08 14:24:36 -0500 (Tue, 08 Sep 2009) | 1 line

  Make ctypes compile again with older Python versions.
........

15 years agoBlocked revisions 74733-74734 via svnmerge
Benjamin Peterson [Fri, 11 Sep 2009 21:24:36 +0000 (21:24 +0000)]
Blocked revisions 74733-74734 via svnmerge

........
  r74733 | benjamin.peterson | 2009-09-09 06:40:54 -0500 (Wed, 09 Sep 2009) | 1 line

  tabbify
........
  r74734 | benjamin.peterson | 2009-09-09 06:42:57 -0500 (Wed, 09 Sep 2009) | 1 line

  revert unintended changes
........

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.
........