]> granicus.if.org Git - python/log
python
14 years agoIssue #7825: fix transient refleak in test_threadsignals.
Florent Xicluna [Tue, 27 Jul 2010 22:48:26 +0000 (22:48 +0000)]
Issue #7825: fix transient refleak in test_threadsignals.

14 years agoBlocked revisions 83157,83177 via svnmerge
Alexander Belopolsky [Tue, 27 Jul 2010 14:22:00 +0000 (14:22 +0000)]
Blocked revisions 83157,83177 via svnmerge

........
  r83157 | alexander.belopolsky | 2010-07-25 22:36:41 -0400 (Sun, 25 Jul 2010) | 1 line

  Make python version of fromtimestamp behave more like C.
........
  r83177 | alexander.belopolsky | 2010-07-27 10:16:32 -0400 (Tue, 27 Jul 2010) | 1 line

  Issue #9384: python -m tkinter will now display a simple demo applet.
........

14 years agoBlocked revisions 82759 via svnmerge
Georg Brandl [Tue, 27 Jul 2010 08:46:44 +0000 (08:46 +0000)]
Blocked revisions 82759 via svnmerge

........
  r82759 | georg.brandl | 2010-07-10 12:32:36 +0200 (Sa, 10 Jul 2010) | 1 line

  #3071: tell how many values were expected when unpacking too many.
........

14 years agoMerged revisions 82594,82599 via svnmerge from
Georg Brandl [Tue, 27 Jul 2010 08:45:35 +0000 (08:45 +0000)]
Merged revisions 82594,82599 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82594 | georg.brandl | 2010-07-05 22:13:41 +0200 (Mo, 05 Jul 2010) | 1 line

  Update Vec class constructor, remove indirection via function, use operator module.
........
  r82599 | alexander.belopolsky | 2010-07-05 23:44:05 +0200 (Mo, 05 Jul 2010) | 1 line

  "Modernized" the demo a little.
........

14 years agoBlocked revisions 82526,82593 via svnmerge
Georg Brandl [Tue, 27 Jul 2010 08:40:57 +0000 (08:40 +0000)]
Blocked revisions 82526,82593 via svnmerge

........
  r82526 | georg.brandl | 2010-07-04 09:25:18 +0200 (So, 04 Jul 2010) | 1 line

  Remove old and unsafe Dbm demo class.
........
  r82593 | georg.brandl | 2010-07-05 22:13:06 +0200 (Mo, 05 Jul 2010) | 1 line

  Remove Dbm.
........

14 years agoMerged revisions 83163 via svnmerge from
Andrew M. Kuchling [Mon, 26 Jul 2010 13:42:35 +0000 (13:42 +0000)]
Merged revisions 83163 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83163 | andrew.kuchling | 2010-07-26 09:08:58 -0400 (Mon, 26 Jul 2010) | 1 line

  Reword paragraph
........

14 years agoMerged revisions 83156 via svnmerge from
Brian Curtin [Mon, 26 Jul 2010 02:40:17 +0000 (02:40 +0000)]
Merged revisions 83156 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83156 | brian.curtin | 2010-07-25 21:36:32 -0500 (Sun, 25 Jul 2010) | 2 lines

  Add note about #7113 and add Łukasz Langa to ACKS
........

14 years agoFix #7113. Patch by Łukasz Langa.
Brian Curtin [Mon, 26 Jul 2010 02:30:15 +0000 (02:30 +0000)]
Fix #7113. Patch by Łukasz Langa.

Changes include using a list of lines instead of patching together using
string interpolation, and a multi-line value test cases.

14 years agoMerged revisions 83152 via svnmerge from
Andrew M. Kuchling [Sun, 25 Jul 2010 23:49:57 +0000 (23:49 +0000)]
Merged revisions 83152 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83152 | andrew.kuchling | 2010-07-25 19:38:47 -0400 (Sun, 25 Jul 2010) | 1 line

  #777884: make .normalize() do nothing for childless nodes, instead of raising an exception
........

14 years agoFixes issue #3704: cookielib was not properly handling URLs with a / in the
Gregory P. Smith [Sun, 25 Jul 2010 19:11:36 +0000 (19:11 +0000)]
Fixes issue #3704: cookielib was not properly handling URLs with a / in the
parameters.

14 years agoMerged revisions 83140-83141 via svnmerge from
Alexander Belopolsky [Sun, 25 Jul 2010 15:07:36 +0000 (15:07 +0000)]
Merged revisions 83140-83141 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83140 | alexander.belopolsky | 2010-07-25 11:02:55 -0400 (Sun, 25 Jul 2010) | 5 lines

  Issue #9315: Renamed test_trace to test_sys_settrace and
  test_profilehooks to test_sys_setprofile so that test_trace can be
  used for testing the trace module and for naming consistency.
........
  r83141 | alexander.belopolsky | 2010-07-25 11:05:42 -0400 (Sun, 25 Jul 2010) | 1 line

  Corrected comments on where settrace and setprofile are tested.
........

14 years agoMerged revisions 83133 via svnmerge from
Ronald Oussoren [Sat, 24 Jul 2010 14:21:29 +0000 (14:21 +0000)]
Merged revisions 83133 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83133 | ronald.oussoren | 2010-07-24 15:15:19 +0100 (Sat, 24 Jul 2010) | 5 lines

  Fix for issue 9367: the test code for os.getgroups
  assumes that the result of getgroups and the output
  of the id(1) command return groups in the same
  order.  That assumption is both fragile and false.
........

14 years agoMerged revisions 83088 via svnmerge from
Ronald Oussoren [Sat, 24 Jul 2010 09:46:41 +0000 (09:46 +0000)]
Merged revisions 83088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83088 | ronald.oussoren | 2010-07-23 14:53:51 +0100 (Fri, 23 Jul 2010) | 8 lines

  This fixes issue7900 by adding code that deals
  with the fact that getgroups(2) might return
  more that MAX_GROUPS on OSX.

  See the issue (and python-dev archives) for the
  gory details. Summarized: OSX behaves rather oddly
  and Apple says this is intentional.
........

14 years agoBackport of 83120 (#9032)
Victor Stinner [Sat, 24 Jul 2010 02:51:49 +0000 (02:51 +0000)]
Backport of 83120 (#9032)

XML-RPC client: Transport.request() retries on EPIPE error

The EPIPE error occurs when the server closes the socket and the client sends a
"big" XML-RPC request (I don't know exactly the size threshold).

request() just have to ignore the error because single_request() closes the
socket on error, and so the next call to single_request() will open a new
socket.

Remove also a comment in the HTTP client because it's now wrong: see r70643 and
issue #5542.

14 years agoForward port r70643 (#5542) + part of r83120 (just remove the comment)
Victor Stinner [Sat, 24 Jul 2010 02:46:16 +0000 (02:46 +0000)]
Forward port r70643 (#5542) + part of r83120 (just remove the comment)

Remove special logic that closes HTTPConnection socket on EPIPE.

If the socket is closed, the client has no chance to read the response
from the server.  EPIPE means that it isn't possible to write more
data from the socket, but not that it is impossible to read.

14 years agoMerged revisions 83116 via svnmerge from
Victor Stinner [Sat, 24 Jul 2010 01:07:52 +0000 (01:07 +0000)]
Merged revisions 83116 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83116 | victor.stinner | 2010-07-24 02:49:20 +0200 (sam., 24 juil. 2010) | 4 lines

  Issue #4629: getopt raises an error if an argument ends with = whereas getopt
  doesn't except a value (eg. --help= is rejected if getopt uses ['help='] long
  options).
........

14 years agoBlocked revisions 83112 via svnmerge
Alexander Belopolsky [Fri, 23 Jul 2010 19:44:14 +0000 (19:44 +0000)]
Blocked revisions 83112 via svnmerge

........
  r83112 | alexander.belopolsky | 2010-07-23 15:25:47 -0400 (Fri, 23 Jul 2010) | 2 lines

  Issue #7989: Added pure python implementation of the datetime module.
........

14 years agoMerged revisions 83103 via svnmerge from
Ezio Melotti [Fri, 23 Jul 2010 16:55:21 +0000 (16:55 +0000)]
Merged revisions 83103 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83103 | ezio.melotti | 2010-07-23 19:48:22 +0300 (Fri, 23 Jul 2010) | 1 line

  #9359: fix typo. Thanks to Piotr Kasprzyk for the patch.
........

14 years agoMerged revisions 83096 via svnmerge from
Ronald Oussoren [Fri, 23 Jul 2010 16:12:28 +0000 (16:12 +0000)]
Merged revisions 83096 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83096 | ronald.oussoren | 2010-07-23 17:05:35 +0100 (Fri, 23 Jul 2010) | 13 lines

  Ensure that sys.prefix can reliably be found
  on OSX. This fixes a small issue that was exposed
  by running test_subprocess through regrtest (and
  hence in a subdirectory).

  Without this patch running python.exe from the
  build tree will fail when these tree conditions
  are true:
  1) the CWD is not the root of build tree
  2) python.exe is found through $PATH
  3) the framework is not yet installed
........

14 years agoMerged revisions 83075 via svnmerge from
Ronald Oussoren [Fri, 23 Jul 2010 12:41:00 +0000 (12:41 +0000)]
Merged revisions 83075 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83075 | ronald.oussoren | 2010-07-23 12:54:59 +0100 (Fri, 23 Jul 2010) | 5 lines

  Fix for issue 7895. Avoid crashing the interpreter
  when calling platform.mac_ver after calling os.fork by
  reading from a system configuration file instead of
  using OSX APIs.
........

14 years agoMerged revisions 83080 via svnmerge from
Brett Cannon [Fri, 23 Jul 2010 12:30:10 +0000 (12:30 +0000)]
Merged revisions 83080 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83080 | brett.cannon | 2010-07-23 13:26:35 +0100 (Fri, 23 Jul 2010) | 5 lines

  Clarify the wording for threading.is_alive() to not suggest something is
  "roughly" done.

  Closes issue 9339. Thanks Brian Brazil for the patch.
........

14 years agoMerged revisions 83067 via svnmerge from
Ronald Oussoren [Fri, 23 Jul 2010 12:26:30 +0000 (12:26 +0000)]
Merged revisions 83067 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83067 | ronald.oussoren | 2010-07-23 10:50:05 +0100 (Fri, 23 Jul 2010) | 8 lines

  Workaround for issue 4047: in some configurations of
  the Crash Reporter on OSX test_subprocess will trigger
  the reporter.

  This patch prints a warning when the Crash Reporter will
  get triggered intentionally, which should avoid confusing
  people.
........

14 years agoMerged revisions 83072 via svnmerge from
Brett Cannon [Fri, 23 Jul 2010 12:07:27 +0000 (12:07 +0000)]
Merged revisions 83072 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83072 | brett.cannon | 2010-07-23 12:31:31 +0100 (Fri, 23 Jul 2010) | 5 lines

  Document the fact that the 'test' package is meant only for use by Python
  itself and not by others.

  Closes issue 9255.
........

14 years agoAs the installer change is user-visible its better to
Ronald Oussoren [Fri, 23 Jul 2010 11:13:03 +0000 (11:13 +0000)]
As the installer change is user-visible its better to
add a line to the NEWS file

14 years agoFix for issue 9275: the OSX installer no longer installs links in /usr/local
Ronald Oussoren [Fri, 23 Jul 2010 11:11:26 +0000 (11:11 +0000)]
Fix for issue 9275: the OSX installer no longer installs links in /usr/local

This was an unintentional change to the 2.7 installer, and confuses users.

14 years agoReverting the checkin made in revision 82940, as it was adding new parameters to...
Senthil Kumaran [Thu, 22 Jul 2010 01:47:30 +0000 (01:47 +0000)]
Reverting the checkin made in revision 82940, as it was adding new parameters to quote function in a bugfix release.
Discussed in issue1712522

14 years agoMerged revisions 83030 via svnmerge from
Antoine Pitrou [Wed, 21 Jul 2010 16:47:28 +0000 (16:47 +0000)]
Merged revisions 83030 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83030 | antoine.pitrou | 2010-07-21 18:41:31 +0200 (mer., 21 juil. 2010) | 5 lines

  Issue #5395: check that array.fromfile() re-raises an IOError instead of replacing it
  with EOFError.
  (this is only an added test, but 2.x will get a fix too)
........

14 years agoBlocked revisions 83025 via svnmerge
Antoine Pitrou [Wed, 21 Jul 2010 15:56:03 +0000 (15:56 +0000)]
Blocked revisions 83025 via svnmerge

........
  r83025 | antoine.pitrou | 2010-07-21 17:54:48 +0200 (mer., 21 juil. 2010) | 3 lines

  Remove outdated mention of deprecated functions in the string module - they have been removed in 3.x.
........

14 years agoApply patch from Ray Allen for issue 9296
Doug Hellmann [Wed, 21 Jul 2010 12:36:33 +0000 (12:36 +0000)]
Apply patch from Ray Allen for issue 9296

14 years agoBackport r82456.
Brett Cannon [Wed, 21 Jul 2010 09:52:10 +0000 (09:52 +0000)]
Backport r82456.

14 years agoFix #9316. if/is grammar corrections.
Brian Curtin [Wed, 21 Jul 2010 01:35:46 +0000 (01:35 +0000)]
Fix #9316. if/is grammar corrections.

14 years agoBlocked revisions 82997 via svnmerge
Alexander Belopolsky [Tue, 20 Jul 2010 20:30:13 +0000 (20:30 +0000)]
Blocked revisions 82997 via svnmerge

........
  r82997 | alexander.belopolsky | 2010-07-20 15:55:18 -0400 (Tue, 20 Jul 2010) | 3 lines

  Issue #9282: Fixed --listfuncs option of trace.py.  Thanks Eli
  Bendersky for the patch.
........

14 years agoIssue #9304: fix example in the 2.x memoryview documentation.
Antoine Pitrou [Mon, 19 Jul 2010 18:10:42 +0000 (18:10 +0000)]
Issue #9304: fix example in the 2.x memoryview documentation.

14 years agoSub-issue of #9036: Fix incorrect use of Py_CHARMASK.
Stefan Krah [Mon, 19 Jul 2010 18:06:46 +0000 (18:06 +0000)]
Sub-issue of #9036: Fix incorrect use of Py_CHARMASK.

14 years agoFix Issue9301 - urllib.quote(None) to raise TypeError
Senthil Kumaran [Mon, 19 Jul 2010 17:35:50 +0000 (17:35 +0000)]
Fix Issue9301 - urllib.quote(None) to raise TypeError

14 years agoIssue #9265: Incorrect name passed as arg[0] when shell=True
Stefan Krah [Mon, 19 Jul 2010 14:41:08 +0000 (14:41 +0000)]
Issue #9265: Incorrect name passed as arg[0] when shell=True
and executable specified.

14 years agoIssue #9036: Throughout the code base, Py_CHARMASK is used on 8-bit wide
Stefan Krah [Mon, 19 Jul 2010 13:14:01 +0000 (13:14 +0000)]
Issue #9036: Throughout the code base, Py_CHARMASK is used on 8-bit wide
signed/unsigned chars or on integers directly derived from those. In all
cases, it could be replaced by a simple cast to (unsigned char). Reasons
for the change:

  a) Make the comment more explicit.

  b) If char is unsigned, the cast is optimized away.

  c) If char is unsigned, gcc emits spurious "array subscript
     has type 'char'" warnings.

14 years agoMerged revisions 82952 via svnmerge from
Benjamin Peterson [Sun, 18 Jul 2010 14:26:34 +0000 (14:26 +0000)]
Merged revisions 82952 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82952 | benjamin.peterson | 2010-07-18 09:23:36 -0500 (Sun, 18 Jul 2010) | 1 line

  use classmethod
........

14 years agoMerged revisions 82941,82943 via svnmerge from
Mark Dickinson [Sun, 18 Jul 2010 07:55:55 +0000 (07:55 +0000)]
Merged revisions 82941,82943 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82941 | mark.dickinson | 2010-07-18 08:29:02 +0100 (Sun, 18 Jul 2010) | 3 lines

  Issue #9277: Struct module: standard bool packing was incorrect if
  char is unsigned.  Thanks Stefan Krah for the patch.
........
  r82943 | mark.dickinson | 2010-07-18 08:48:20 +0100 (Sun, 18 Jul 2010) | 1 line

  Misc/NEWS entry for r82941.
........

14 years agoFixing Issue1712522 - urllib.quote to support Unicode. The default
Senthil Kumaran [Sun, 18 Jul 2010 02:27:10 +0000 (02:27 +0000)]
Fixing Issue1712522 -  urllib.quote to support Unicode. The default
encoding='utf-8' and errors='strict'.

14 years agoBlocked revisions 82937 via svnmerge
Alexander Belopolsky [Sat, 17 Jul 2010 23:13:43 +0000 (23:13 +0000)]
Blocked revisions 82937 via svnmerge

........
  r82937 | alexander.belopolsky | 2010-07-17 18:50:45 -0400 (Sat, 17 Jul 2010) | 3 lines

  Issue #5180: Fixed a bug that prevented loading 2.x pickles in 3.x
  python when they contain instances of old-style classes.
........

14 years agoMerged revisions 82934 via svnmerge from
Benjamin Peterson [Sat, 17 Jul 2010 20:41:16 +0000 (20:41 +0000)]
Merged revisions 82934 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82934 | benjamin.peterson | 2010-07-17 15:39:23 -0500 (Sat, 17 Jul 2010) | 1 line

  sharedinstall should depend on sharedmods #9280
........

14 years agoBlocked revisions 82931 via svnmerge
Alexander Belopolsky [Sat, 17 Jul 2010 16:01:06 +0000 (16:01 +0000)]
Blocked revisions 82931 via svnmerge

........
  r82931 | alexander.belopolsky | 2010-07-17 11:51:21 -0400 (Sat, 17 Jul 2010) | 2 lines

  Issue #9268: Add annotation option to pickletools.dis
........

14 years agoIssue #7384: On Gentoo, libreadline.so is a "fake library", so ldd fails.
Stefan Krah [Sat, 17 Jul 2010 12:21:08 +0000 (12:21 +0000)]
Issue #7384: On Gentoo, libreadline.so is a "fake library", so ldd fails.
In that case, do not attempt to parse stderr output.

14 years agoMerged revisions 82922 via svnmerge from
R. David Murray [Sat, 17 Jul 2010 01:35:16 +0000 (01:35 +0000)]
Merged revisions 82922 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82922 | r.david.murray | 2010-07-16 21:19:57 -0400 (Fri, 16 Jul 2010) | 4 lines

  #1555570: correctly handle a \r\n that is split by the read buffer.

  Patch and test by Tony Nelson.
........

14 years agoMerged revisions 82915 via svnmerge from
Alexander Belopolsky [Fri, 16 Jul 2010 14:53:52 +0000 (14:53 +0000)]
Merged revisions 82915 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82915 | alexander.belopolsky | 2010-07-16 10:39:45 -0400 (Fri, 16 Jul 2010) | 1 line

  Corrected TUPLE<N> opcodes' docs.
........

14 years agoMerged revisions 82895 via svnmerge from
Senthil Kumaran [Wed, 14 Jul 2010 20:22:17 +0000 (20:22 +0000)]
Merged revisions 82895 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82895 | senthil.kumaran | 2010-07-15 01:40:52 +0530 (Thu, 15 Jul 2010) | 3 lines

  Fix a mistake, https proxy shoud be https://
........

14 years agoMerged revisions 82890 via svnmerge from
Senthil Kumaran [Wed, 14 Jul 2010 19:25:26 +0000 (19:25 +0000)]
Merged revisions 82890 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82890 | senthil.kumaran | 2010-07-15 00:45:23 +0530 (Thu, 15 Jul 2010) | 3 lines

  Fix: Issue6853 - Get HTTPS system proxy in Windows.
........

14 years agoBlocked revisions 82887 via svnmerge
Alexander Belopolsky [Wed, 14 Jul 2010 13:53:01 +0000 (13:53 +0000)]
Blocked revisions 82887 via svnmerge

........
  r82887 | alexander.belopolsky | 2010-07-14 09:46:57 -0400 (Wed, 14 Jul 2010) | 1 line

  PEP 8 conformance: class_ -> cls
........

14 years agoMerged revisions 82881 via svnmerge from
Senthil Kumaran [Wed, 14 Jul 2010 10:39:35 +0000 (10:39 +0000)]
Merged revisions 82881 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82881 | senthil.kumaran | 2010-07-14 15:51:22 +0530 (Wed, 14 Jul 2010) | 3 lines

  Fix Issue5842 - Moving the tests out of urllib.parse module
........

14 years agoHigh byte is the exit status.
Stefan Krah [Wed, 14 Jul 2010 10:06:07 +0000 (10:06 +0000)]
High byte is the exit status.

14 years agoMerged revisions 82872,82874 via svnmerge from
Georg Brandl [Wed, 14 Jul 2010 08:55:55 +0000 (08:55 +0000)]
Merged revisions 82872,82874 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82872 | georg.brandl | 2010-07-14 10:53:18 +0200 (Mi, 14 Jul 2010) | 1 line

  Remove XXX from text.
........
  r82874 | georg.brandl | 2010-07-14 10:54:40 +0200 (Mi, 14 Jul 2010) | 1 line

  #9235: fix missing import of sys.
........

14 years agoBlocked revisions 82873 via svnmerge
Georg Brandl [Wed, 14 Jul 2010 08:55:03 +0000 (08:55 +0000)]
Blocked revisions 82873 via svnmerge

........
  r82873 | georg.brandl | 2010-07-14 10:53:36 +0200 (Mi, 14 Jul 2010) | 1 line

  Remove unused code that would raise a NameError.
........

14 years agoMerged revisions 82850 via svnmerge from
Alexander Belopolsky [Wed, 14 Jul 2010 00:05:00 +0000 (00:05 +0000)]
Merged revisions 82850 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82850 | alexander.belopolsky | 2010-07-13 10:50:16 -0400 (Tue, 13 Jul 2010) | 1 line

  Set sys.modules[name] to None instead of 0 to block module import.
........

14 years agoRemove PYOS_OS2 special cases from the Solaris/OpenBSD section.
Stefan Krah [Tue, 13 Jul 2010 19:40:00 +0000 (19:40 +0000)]
Remove PYOS_OS2 special cases from the Solaris/OpenBSD section.

14 years agoIssue #9185: On Solaris and OpenBSD, posix_getcwd() could loop indefinitely
Stefan Krah [Tue, 13 Jul 2010 19:17:08 +0000 (19:17 +0000)]
Issue #9185: On Solaris and OpenBSD, posix_getcwd() could loop indefinitely
if the path length exceeded PATH_MAX.

14 years agoMerged revisions 82849 via svnmerge from
Jeroen Ruigrok van der Werven [Tue, 13 Jul 2010 15:08:30 +0000 (15:08 +0000)]
Merged revisions 82849 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82849 | jeroen.ruigrok | 2010-07-13 16:47:01 +0200 (di, 13 jul 2010) | 2 lines

  Fix documentation typo: wprite() -> write().
........

14 years agoMerged revisions 82842 via svnmerge from
Antoine Pitrou [Mon, 12 Jul 2010 20:11:52 +0000 (20:11 +0000)]
Merged revisions 82842 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82842 | antoine.pitrou | 2010-07-12 22:01:52 +0200 (lun., 12 juil. 2010) | 3 lines

  Fix definition of len() and indexing for memoryview objects (part of #7696).
........

14 years agoMerged revisions 82839 via svnmerge from
Ezio Melotti [Mon, 12 Jul 2010 19:52:15 +0000 (19:52 +0000)]
Merged revisions 82839 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82839 | ezio.melotti | 2010-07-12 22:49:41 +0300 (Mon, 12 Jul 2010) | 1 line

  #6026: skip test_get_file_list when zlib is not available.
........

14 years agoMerged revisions 82821 via svnmerge from
Mark Dickinson [Sun, 11 Jul 2010 19:17:28 +0000 (19:17 +0000)]
Merged revisions 82821 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82821 | mark.dickinson | 2010-07-11 19:53:06 +0100 (Sun, 11 Jul 2010) | 3 lines

  Issue #9137: Fix issue in MutableMapping.update, which incorrectly
  treated keyword arguments called 'self' or 'other' specially.
........

14 years agoMerged revisions 82814 via svnmerge from
Antoine Pitrou [Sun, 11 Jul 2010 12:14:05 +0000 (12:14 +0000)]
Merged revisions 82814 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82814 | antoine.pitrou | 2010-07-11 14:12:00 +0200 (dim., 11 juil. 2010) | 4 lines

  Issue #7616: Fix copying of overlapping memoryview slices with the Intel
  compiler.
........

14 years agoMerged revisions 82806 via svnmerge from
Georg Brandl [Sun, 11 Jul 2010 10:29:37 +0000 (10:29 +0000)]
Merged revisions 82806 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82806 | georg.brandl | 2010-07-11 12:22:44 +0200 (So, 11 Jul 2010) | 1 line

  #9223: link to Command class reference, and move Command interface docs nearer to class docs.
........

14 years agoBlocked revisions 82801 via svnmerge
Georg Brandl [Sun, 11 Jul 2010 09:36:31 +0000 (09:36 +0000)]
Blocked revisions 82801 via svnmerge

........
  r82801 | georg.brandl | 2010-07-11 11:33:39 +0200 (So, 11 Jul 2010) | 1 line

  #9184: fix default value for "buffering" param of open().
........

14 years agoMerged revisions 82799 via svnmerge from
Georg Brandl [Sun, 11 Jul 2010 09:34:16 +0000 (09:34 +0000)]
Merged revisions 82799 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82799 | georg.brandl | 2010-07-11 11:26:57 +0200 (So, 11 Jul 2010) | 1 line

  Fix typo.
........

14 years agoMerged revisions 82789 via svnmerge from
Georg Brandl [Sun, 11 Jul 2010 08:57:05 +0000 (08:57 +0000)]
Merged revisions 82789 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82789 | georg.brandl | 2010-07-11 10:33:16 +0200 (So, 11 Jul 2010) | 1 line

  Silence makeindex.
........

14 years agoMerged revisions 82790 via svnmerge from
Georg Brandl [Sun, 11 Jul 2010 08:56:18 +0000 (08:56 +0000)]
Merged revisions 82790 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82790 | georg.brandl | 2010-07-11 10:36:20 +0200 (So, 11 Jul 2010) | 1 line

  #3214 followup: add link to ABC entry.
........

14 years agoFix for issue #9164: with this patch sysconfig and distuls don't break
Ronald Oussoren [Sun, 11 Jul 2010 08:52:52 +0000 (08:52 +0000)]
Fix for issue #9164: with this patch sysconfig and distuls don't break
when duplicate '-arch foo' flags end up in CFLAGS (which may happen when
building a universal build using macports)

14 years agoMerged revisions 82785 via svnmerge from
Senthil Kumaran [Sun, 11 Jul 2010 05:11:10 +0000 (05:11 +0000)]
Merged revisions 82785 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82785 | senthil.kumaran | 2010-07-11 10:31:52 +0530 (Sun, 11 Jul 2010) | 3 lines

  Issue2007: Removing reference to MSIE Cookie handling by mechanize. Suggested by John J Lee.
........

14 years agoMerged revisions 82780 via svnmerge from
Senthil Kumaran [Sun, 11 Jul 2010 03:18:51 +0000 (03:18 +0000)]
Merged revisions 82780 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82780 | senthil.kumaran | 2010-07-11 08:42:43 +0530 (Sun, 11 Jul 2010) | 3 lines

  Stricter verification for file based url scheme and reliance on ftp protocol.
........

14 years agoMerged revisions 82777 via svnmerge from
Benjamin Peterson [Sat, 10 Jul 2010 15:17:08 +0000 (15:17 +0000)]
Merged revisions 82777 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82777 | benjamin.peterson | 2010-07-10 10:14:45 -0500 (Sat, 10 Jul 2010) | 1 line

  ValueError is eventually what we want to move to, I suppose
........

14 years agoBlocked revisions 82767 via svnmerge
Michael Foord [Sat, 10 Jul 2010 14:34:33 +0000 (14:34 +0000)]
Blocked revisions 82767 via svnmerge

........
  r82767 | michael.foord | 2010-07-10 14:52:22 +0100 (Sat, 10 Jul 2010) | 2 lines

  Fix error message for comparing single line strings in unittest.TestCase.assertEqual.
  Issue 9174.
........

14 years agoMerged revisions 82771 via svnmerge from
R. David Murray [Sat, 10 Jul 2010 14:25:18 +0000 (14:25 +0000)]
Merged revisions 82771 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82771 | r.david.murray | 2010-07-10 10:23:36 -0400 (Sat, 10 Jul 2010) | 2 lines

  Add missing docs for re module 'purge' function.
........

14 years agoMerged revisions 82766 via svnmerge from
R. David Murray [Sat, 10 Jul 2010 14:06:51 +0000 (14:06 +0000)]
Merged revisions 82766 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

Since 'purge' is an API change, modified it to be _purge for 2.x
and deleted the doc update.

........
  r82766 | r.david.murray | 2010-07-10 09:52:13 -0400 (Sat, 10 Jul 2010) | 5 lines

  Fix 'refleak' introduced by fnmatch cache purge tests.

  This introduces a 'purge' function for the fnmatch module analogous
  to the 'purge' function in the re module.
........

14 years agoFix error message for comparing single line strings in unittest.TestCase.assertEqual.
Michael Foord [Sat, 10 Jul 2010 13:51:42 +0000 (13:51 +0000)]
Fix error message for comparing single line strings in unittest.TestCase.assertEqual.
Issue 9174

14 years agothis makes checking for warnings less error prone
Benjamin Peterson [Fri, 9 Jul 2010 18:15:28 +0000 (18:15 +0000)]
this makes checking for warnings less error prone

14 years agoMerged revisions 82739,82741 via svnmerge from
Benjamin Peterson [Fri, 9 Jul 2010 13:33:03 +0000 (13:33 +0000)]
Merged revisions 82739,82741 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82739 | benjamin.peterson | 2010-07-09 08:28:42 -0500 (Fri, 09 Jul 2010) | 1 line

  allow more exceptions
........
  r82741 | benjamin.peterson | 2010-07-09 08:31:11 -0500 (Fri, 09 Jul 2010) | 1 line

  wrap
........

14 years agoAdd missing NEWS entry for 7646.
R. David Murray [Fri, 9 Jul 2010 13:25:56 +0000 (13:25 +0000)]
Add missing NEWS entry for 7646.

14 years agoMerged revisions 82735 via svnmerge from
Benjamin Peterson [Fri, 9 Jul 2010 13:21:35 +0000 (13:21 +0000)]
Merged revisions 82735 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82735 | benjamin.peterson | 2010-07-09 08:20:40 -0500 (Fri, 09 Jul 2010) | 1 line

  OverflowError is fine
........

14 years agoMerged revisions 82731 via svnmerge from
R. David Murray [Fri, 9 Jul 2010 13:17:45 +0000 (13:17 +0000)]
Merged revisions 82731 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82731 | r.david.murray | 2010-07-09 09:14:03 -0400 (Fri, 09 Jul 2010) | 2 lines

  Fix sort order mistake in Misc/ACKS.
........

14 years agoMerged revisions 82730 via svnmerge from
R. David Murray [Fri, 9 Jul 2010 13:16:00 +0000 (13:16 +0000)]
Merged revisions 82730 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

'merge' in the sense that this is the same fix by the same author.

........
  r82730 | r.david.murray | 2010-07-09 08:23:21 -0400 (Fri, 09 Jul 2010) | 4 lines

  7846: limit fnmatch pattern cache to _MAXCACHE=100 entries.

  Patch by Andrew Clegg.
........

14 years agoRecorded merge of revisions 82724 via svnmerge from
Georg Brandl [Fri, 9 Jul 2010 07:38:13 +0000 (07:38 +0000)]
Recorded merge of revisions 82724 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82724 | georg.brandl | 2010-07-09 09:33:15 +0200 (Fr, 09 Jul 2010) | 1 line

  2.7 is now stable.
........

14 years agoMove Misc/NEWS entries to the right place.
Mark Dickinson [Thu, 8 Jul 2010 21:28:31 +0000 (21:28 +0000)]
Move Misc/NEWS entries to the right place.

14 years agoMerged revisions 82654 via svnmerge from
Mark Dickinson [Thu, 8 Jul 2010 21:22:54 +0000 (21:22 +0000)]
Merged revisions 82654 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82654 | mark.dickinson | 2010-07-08 22:15:36 +0100 (Thu, 08 Jul 2010) | 3 lines

  Issue #9136: Profiling Decimal gave 'dictionary changed size during iteration'.
  Remove the use of locals() that caused this error.
........

14 years agoMerged revisions 82646,82649-82650 via svnmerge from
Mark Dickinson [Thu, 8 Jul 2010 19:24:40 +0000 (19:24 +0000)]
Merged revisions 82646,82649-82650 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82646 | mark.dickinson | 2010-07-08 18:23:40 +0100 (Thu, 08 Jul 2010) | 1 line

  In test_decimal, convert heuristic for skipping tests into an explicit skiplist.
........
  r82649 | mark.dickinson | 2010-07-08 20:03:34 +0100 (Thu, 08 Jul 2010) | 1 line

  Fix a performance issue in Decimal.pow.  Thanks Stefan Krah for finding this.
........
  r82650 | mark.dickinson | 2010-07-08 20:09:16 +0100 (Thu, 08 Jul 2010) | 1 line

  Fix misplaced exactness check that was causing unnecessary work in Decimal.__pow__.
........

14 years agoMerged revisions 82647 via svnmerge from
Antoine Pitrou [Thu, 8 Jul 2010 18:54:04 +0000 (18:54 +0000)]
Merged revisions 82647 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82647 | antoine.pitrou | 2010-07-08 20:51:30 +0200 (jeu., 08 juil. 2010) | 3 lines

  Issue #8605: Skip test_gdb if Python is compiled with optimizations.
........

14 years agoMerged revisions 82637 via svnmerge from
Benjamin Peterson [Wed, 7 Jul 2010 23:26:57 +0000 (23:26 +0000)]
Merged revisions 82637 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82637 | benjamin.peterson | 2010-07-07 17:45:06 -0500 (Wed, 07 Jul 2010) | 1 line

  ValueError in this case is also acceptable
........

14 years agoMerged revisions 82615 via svnmerge from
Georg Brandl [Wed, 7 Jul 2010 19:09:12 +0000 (19:09 +0000)]
Merged revisions 82615 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82615 | georg.brandl | 2010-07-07 00:58:50 +0200 (Mi, 07 Jul 2010) | 1 line

  Fix typo.
........

14 years agoMerged revisions 82629,82632 via svnmerge from
Georg Brandl [Wed, 7 Jul 2010 19:05:35 +0000 (19:05 +0000)]
Merged revisions 82629,82632 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82629 | georg.brandl | 2010-07-07 20:51:43 +0200 (Mi, 07 Jul 2010) | 1 line

  Make comment out of an awkward note.
........
  r82632 | georg.brandl | 2010-07-07 21:04:36 +0200 (Mi, 07 Jul 2010) | 1 line

  Turn more notes into comments.
........

14 years agoMerged revisions 82628,82630 via svnmerge from
Benjamin Peterson [Wed, 7 Jul 2010 19:03:36 +0000 (19:03 +0000)]
Merged revisions 82628,82630 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82628 | benjamin.peterson | 2010-07-07 13:44:05 -0500 (Wed, 07 Jul 2010) | 1 line

  this needn't be in the loop
........
  r82630 | benjamin.peterson | 2010-07-07 13:54:59 -0500 (Wed, 07 Jul 2010) | 1 line

  don't ignore exceptions from PyObject_IsTrue
........

14 years agothese tests are the result of cpython's incorrect implementation
Benjamin Peterson [Wed, 7 Jul 2010 15:51:17 +0000 (15:51 +0000)]
these tests are the result of cpython's incorrect implementation

14 years agoRemove whatsnew item about --with-computed-gotos.
Matthias Klose [Wed, 7 Jul 2010 11:03:50 +0000 (11:03 +0000)]
Remove whatsnew item about --with-computed-gotos.

14 years agoMinor improvements to logging documentation.
Vinay Sajip [Tue, 6 Jul 2010 15:08:55 +0000 (15:08 +0000)]
Minor improvements to logging documentation.

14 years agoMerged revisions 82607 via svnmerge from
Mark Dickinson [Tue, 6 Jul 2010 15:03:42 +0000 (15:03 +0000)]
Merged revisions 82607 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82607 | mark.dickinson | 2010-07-06 16:00:40 +0100 (Tue, 06 Jul 2010) | 1 line

  Indentation and PEP 7 fixes.
........

14 years agoMerged revisions 82601 via svnmerge from
Senthil Kumaran [Tue, 6 Jul 2010 03:06:53 +0000 (03:06 +0000)]
Merged revisions 82601 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82601 | senthil.kumaran | 2010-07-06 07:38:36 +0530 (Tue, 06 Jul 2010) | 3 lines

  Change 'lowered' to 'lowercased'
........

14 years agoMerged revisions 82595 via svnmerge from
Mark Dickinson [Mon, 5 Jul 2010 20:16:40 +0000 (20:16 +0000)]
Merged revisions 82595 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82595 | mark.dickinson | 2010-07-05 21:14:26 +0100 (Mon, 05 Jul 2010) | 1 line

  Post-detabification cleanup.
........

14 years agountabify
Benjamin Peterson [Mon, 5 Jul 2010 20:05:43 +0000 (20:05 +0000)]
untabify

14 years agoMerged revisions 82587 via svnmerge from
Georg Brandl [Mon, 5 Jul 2010 17:50:55 +0000 (17:50 +0000)]
Merged revisions 82587 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82587 | georg.brandl | 2010-07-05 19:48:38 +0200 (Mo, 05 Jul 2010) | 1 line

  #9166: NotImplemented is not an exception.
........

14 years agobe more generous to implementations that have implemented correctly
Benjamin Peterson [Mon, 5 Jul 2010 17:13:21 +0000 (17:13 +0000)]
be more generous to implementations that have implemented correctly

14 years ago#9161: Fix regression in acceptance of unicode strings in add_option calls.
R. David Murray [Mon, 5 Jul 2010 16:06:05 +0000 (16:06 +0000)]
#9161: Fix regression in acceptance of unicode strings in add_option calls.

The original change in 2.6 was made during rc1 changeover, and did not
get ported to 2.7.  The original change may not even have been
intentional, but if so it doesn't seem to have caused any problems.

14 years agoMerged revisions 82573 via svnmerge from
Senthil Kumaran [Mon, 5 Jul 2010 12:04:07 +0000 (12:04 +0000)]
Merged revisions 82573 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82573 | senthil.kumaran | 2010-07-05 17:30:56 +0530 (Mon, 05 Jul 2010) | 3 lines

  Fix the docstrings of the capitalize method.
........