Commit Graph

41085 Commits

Author SHA1 Message Date
Mark Dickinson 714168248d Merged revisions 70430 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70430 | mark.dickinson | 2009-03-17 18:01:03 +0000 (Tue, 17 Mar 2009) | 3 lines

  Fix bug in Decimal __format__ method that swapped left and right
  alignment.
........
2009-03-17 18:07:41 +00:00
Nick Coghlan 0ac5e636a0 Blocked revisions 70378 via svnmerge
........
  r70378 | nick.coghlan | 2009-03-15 13:24:46 +1000 (Sun, 15 Mar 2009) | 1 line

  Make marshalling errors a little more informative as to what went wrong
........
2009-03-15 03:41:37 +00:00
Eric Smith 0047511191 Merged revisions 70368 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70368 | eric.smith | 2009-03-14 10:37:38 -0400 (Sat, 14 Mar 2009) | 1 line

  Unicode format tests weren't actually testing unicode. This was probably due to the original backport from py3k.
........
2009-03-14 14:43:27 +00:00
Eric Smith 991f8a0beb Blocked revisions 70364 via svnmerge
........
  r70364 | eric.smith | 2009-03-14 07:57:26 -0400 (Sat, 14 Mar 2009) | 17 lines

  Issue 5237, Allow auto-numbered replacement fields in str.format() strings.

  For simple uses for str.format(), this makes the typing easier. Hopfully this
  will help in the adoption of str.format().

  For example:
  'The {} is {}'.format('sky', 'blue')

  You can mix and matcth auto-numbering and named replacement fields:
  'The {} is {color}'.format('sky', color='blue')

  But you can't mix and match auto-numbering and specified numbering:
  'The {0} is {}'.format('sky', 'blue')
  ValueError: cannot switch from manual field specification to automatic field numbering

  Will port to 3.1.
........
2009-03-14 11:59:18 +00:00
Antoine Pitrou a099d145e6 Merged revisions 70356 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70356 | antoine.pitrou | 2009-03-14 01:07:21 +0100 (sam., 14 mars 2009) | 3 lines

  Issue #1222: locale.format() bug when the thousands separator is a space character.
........
2009-03-14 00:13:36 +00:00
Benjamin Peterson 7fd6068c3e Merged revisions 68737 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68737 | jesse.noller | 2009-01-18 15:04:36 -0600 (Sun, 18 Jan 2009) | 1 line

  issue 4301: patch logging to add processName, remove the old _check_logger_class code
........
2009-03-13 20:48:10 +00:00
Benjamin Peterson 95f9c4cfb3 Unblocked revisions 68737 via svnmerge
........
  r68737 | jesse.noller | 2009-01-18 15:04:36 -0600 (Sun, 18 Jan 2009) | 1 line

  issue 4301: patch logging to add processName, remove the old _check_logger_class code
........
2009-03-13 20:37:01 +00:00
Raymond Hettinger 2b45819b75 Issue 5477: Fix buglet in the itertools documentation. 2009-03-12 00:35:05 +00:00
Tarek Ziadé 52cafc50a6 Blocked revisions 70308 via svnmerge
........
  r70308 | tarek.ziade | 2009-03-11 13:48:04 +0100 (Wed, 11 Mar 2009) | 1 line

  Issue #5472: Fixed distutils.test_util tear down
........
2009-03-11 12:50:42 +00:00
Gregory P. Smith b7ec0025b9 Merged revisions 70197 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70197 | jesus.cea | 2009-03-05 11:37:37 -0800 (Thu, 05 Mar 2009) | 1 line

  Minor bsddb documentation glitch
........
2009-03-10 16:51:19 +00:00
Raymond Hettinger 8ef4e78cf5 Fix typo. 2009-03-10 13:05:40 +00:00
Raymond Hettinger 618f505c02 Fix markup. 2009-03-10 00:11:32 +00:00
Raymond Hettinger e1bfcfac2d Add cross-reference to the collections docs. 2009-03-09 12:57:55 +00:00
Raymond Hettinger fb30cca591 Add consume() recipe to itertools docs. 2009-03-09 11:58:33 +00:00
Raymond Hettinger d31d294e89 Issue 5443: Fix typo. 2009-03-09 11:39:03 +00:00
Guilherme Polo f4362d12c7 Blocked revisions 70223 via svnmerge
........
  r70223 | guilherme.polo | 2009-03-06 23:14:38 -0300 (Fri, 06 Mar 2009) | 4 lines

  Fixed issue #2638: Show a window constructed with tkSimpleDialog.Dialog only
  after it is has been populated and properly configured in order to prevent
  window flashing.
........
2009-03-07 02:15:50 +00:00
Guilherme Polo c4f54fdfaa Merged revisions 70218-70219 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r70218 | guilherme.polo | 2009-03-06 22:19:12 -0300 (Fri, 06 Mar 2009) | 1 line

  Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string.
........
  r70219 | guilherme.polo | 2009-03-06 22:47:49 -0300 (Fri, 06 Mar 2009) | 4 lines

  Fixed issue #4792: Prevent a segfault in _tkinter by using the
  guaranteed to be safe interp argument given to the PythonCmd in place
  of the Tcl interpreter taken from a PythonCmd_ClientData.
........
2009-03-07 01:51:48 +00:00
Tarek Ziadé a5322fb4ad Blocked revisions 70212 via svnmerge
........
  r70212 | tarek.ziade | 2009-03-07 01:32:45 +0100 (Sat, 07 Mar 2009) | 1 line

  Issue #5394: removed > 2.3 syntax from distutils.msvc9compiler
........
2009-03-07 00:35:00 +00:00
Hirokazu Yamamoto e2d36e409d Merged revisions 70193 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70193 | hirokazu.yamamoto | 2009-03-05 23:52:44 +0900 | 1 line

  mmap.resize for anonymous map is not working yet, so changed to real file mapping...
........
2009-03-05 14:58:34 +00:00
Hirokazu Yamamoto ec5294fa93 Merged revisions 70189 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70189 | hirokazu.yamamoto | 2009-03-05 23:21:12 +0900 | 4 lines

  Issue #5385: Fixed mmap crash after resize failure on windows.

  Now uses NULL instead of INVALID_HANDLE_VALUE as invalid map handle
  because CreateFileMapping returns NULL when error occurs.
........
2009-03-05 14:30:13 +00:00
Ronald Oussoren de3dfc1635 Merged revisions 70176 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70176 | ronald.oussoren | 2009-03-04 22:35:05 +0100 (Wed, 04 Mar 2009) | 2 lines

  Fixes issues 3883 and 5194
........
2009-03-04 21:35:38 +00:00
Ronald Oussoren 5302a3011e Merged revisions 70172 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70172 | ronald.oussoren | 2009-03-04 22:30:12 +0100 (Wed, 04 Mar 2009) | 7 lines

  Change framework search order when looking for Tcl/Tk on OSX.

  This is needed because the system linker looks in /Library/Framework before
  it looks in /System/Library frameworks. Without this patch _tkinter will
  be unusable when it is compiled on a system that has Tk 8.5 installed in
  /Library/Frameworks (and the Apple 8.4 install in /System/Library/Frameworks)
........
2009-03-04 21:30:52 +00:00
Ronald Oussoren 6f64894a92 Merged revisions 70169 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70169 | ronald.oussoren | 2009-03-04 22:12:17 +0100 (Wed, 04 Mar 2009) | 2 lines

  Fix for issue 5226.
........
2009-03-04 21:13:03 +00:00
Ronald Oussoren 03674a3855 Merged revisions 70167 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70167 | ronald.oussoren | 2009-03-04 22:07:19 +0100 (Wed, 04 Mar 2009) | 2 lines

  Fix issue 5224.
........
2009-03-04 21:10:17 +00:00
Hirokazu Yamamoto 857c00e0fd Merged revisions 70137 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70137 | hirokazu.yamamoto | 2009-03-04 07:18:14 +0900 | 1 line

  Issue #5179: Fixed subprocess handle leak on failure on windows.
........
2009-03-03 22:55:00 +00:00
Benjamin Peterson a97bed9572 Merged revisions 70107 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70107 | benjamin.peterson | 2009-03-02 16:41:42 -0600 (Mon, 02 Mar 2009) | 1 line

  give httplib.IncompleteRead a more sane repr #4308
........
2009-03-02 22:46:11 +00:00
Tarek Ziadé 43c0464d84 Blocked revisions 70094 via svnmerge
........
  r70094 | tarek.ziade | 2009-03-02 06:38:44 +0100 (Mon, 02 Mar 2009) | 1 line

  removing the force-optimized option as discussed in #1533164
........
2009-03-02 05:40:02 +00:00
Gregory P. Smith 13b19c1f94 Merged revisions 70088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70088 | gregory.p.smith | 2009-03-01 20:53:24 -0800 (Sun, 01 Mar 2009) | 4 lines

  The note about caching of regular expression objects was incorrect ReST and
  thus invisible in the compiled documentation.  Fixed.  Also I cleaned up the
  wording.
........
2009-03-02 05:25:11 +00:00
Benjamin Peterson e392b4ff11 Merged revisions 70086 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70086 | benjamin.peterson | 2009-03-01 21:35:12 -0600 (Sun, 01 Mar 2009) | 1 line

  fix a silly problem of caching gone wrong #5401
........
2009-03-02 03:42:39 +00:00
Raymond Hettinger 4a9fda4280 Fix docs for ConfigParser. 2009-03-01 02:07:25 +00:00
Georg Brandl 9bb9f12266 Merged revisions 70078 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70078 | georg.brandl | 2009-02-28 22:33:10 +0100 (Sa, 28 Feb 2009) | 2 lines

  Fix 3k-style metaclass syntax in docstrings.
........
2009-02-28 21:35:59 +00:00
Mark Dickinson b896614cd9 Merged revisions 70062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70062 | mark.dickinson | 2009-02-28 15:50:40 +0000 (Sat, 28 Feb 2009) | 2 lines

  Issue #5393: typo in cmath.cos and cmath.cosh docstring
........
2009-02-28 15:56:34 +00:00
Hirokazu Yamamoto 4b27e963e7 Merged revisions 70056 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70056 | hirokazu.yamamoto | 2009-02-28 21:13:07 +0900 | 2 lines

  Issue #1733986: Fixed mmap crash in accessing elements of second map object
  with same tagname but larger size than first map. (Windows)
........
2009-02-28 12:42:16 +00:00
Hirokazu Yamamoto e363fa020b Merged revisions 70052 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70052 | hirokazu.yamamoto | 2009-02-28 19:31:54 +0900 | 2 lines

  Issue #5386: mmap.write_byte didn't check map size, so it could cause buffer
  overrun.
........
2009-02-28 11:39:45 +00:00
Tarek Ziadé bebfd256ee Blocked revisions 70049 via svnmerge
........
  r70049 | tarek.ziade | 2009-02-28 11:08:02 +0100 (Sat, 28 Feb 2009) | 1 line

  Issues #1533164 and #5378: Added quiet and force-optimize options to Distutils bdist_rpm command
........
2009-02-28 10:12:45 +00:00
Tarek Ziadé df058767d5 Blocked revisions 70017 via svnmerge
........
  r70017 | tarek.ziade | 2009-02-27 13:53:34 +0100 (Fri, 27 Feb 2009) | 1 line

  Issue #5052: make Distutils compatible with 2.3 again.
........
2009-02-27 12:54:29 +00:00
Tarek Ziadé ee5d3d8335 Blocked revisions 70007 via svnmerge
........
  r70007 | tarek.ziade | 2009-02-27 03:14:35 +0100 (Fri, 27 Feb 2009) | 1 line

  more info on long_description
........
2009-02-27 02:19:32 +00:00
Tarek Ziadé 3b8fe1bea1 Blocked revisions 70003 via svnmerge
........
  r70003 | tarek.ziade | 2009-02-27 00:44:00 +0100 (Fri, 27 Feb 2009) | 1 line

  removed unused import
........
2009-02-26 23:45:55 +00:00
Raymond Hettinger 815476044a Fix typo. 2009-02-26 00:20:22 +00:00
Tarek Ziadé 9ae3ca65ed Blocked revisions 69976 via svnmerge
........
  r69976 | tarek.ziade | 2009-02-25 23:29:27 +0100 (Wed, 25 Feb 2009) | 1 line

  Fixed #5316 : test failure in test_site
........
2009-02-25 22:35:20 +00:00
Raymond Hettinger 65c8655e33 Remove reference to zero argument form of super() in 2.x docs. 2009-02-25 01:08:27 +00:00
Raymond Hettinger e95f90c420 More markup and spelling fixes. 2009-02-25 00:53:46 +00:00
Raymond Hettinger 2775afcb06 Backport doc updates for super(). 2009-02-25 00:41:32 +00:00
Raymond Hettinger 9293eb965a Backport 69934: Register xrange() as a Sequence. 2009-02-24 12:25:32 +00:00
Matthias Klose 54fba82310 - Link the shared python library with $(MODLIBS). 2009-02-24 11:07:44 +00:00
Raymond Hettinger d187d52085 Sync-up itertools docs with Py3.1 version.
* Merge 69715:  rewrite introduction and add summary table
* Merge 69739:  generalize tee() recipe
* Merge 69141:  Fix tab alignment on recipes to match other recipes
* Merge 68942:  Update powerset() recipe
2009-02-23 21:23:04 +00:00
Raymond Hettinger fc9a6659b4 Update itertools recipes to use next(). 2009-02-23 19:59:57 +00:00
Georg Brandl 4ae203c610 Merged revisions 69905 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69905 | georg.brandl | 2009-02-23 16:51:27 +0100 (Mo, 23 Feb 2009) | 2 lines

  #5352: str.count() counts non-overlapping instances.
........
2009-02-23 15:53:25 +00:00
Tarek Ziadé 1ac3f4ec7d Blocked revisions 69902 via svnmerge
........
  r69902 | tarek.ziade | 2009-02-23 13:41:29 +0100 (Mon, 23 Feb 2009) | 1 line

  more test coverage
........
2009-02-23 12:42:23 +00:00
Georg Brandl 4aada67bb7 Blocked revisions 68395,68462,68571,68592,68597,68603-68604,68648,68665,68737,68764,68766,68773,68785,68789,68792-68793,68803,68805,68831,68840,68843,68845,68850,68853,68881,68884,68892,68925,68927,68941,68985,68998,69001,69010,69012,69018,69039 via svnmerge
........
  r68395 | raymond.hettinger | 2009-01-08 07:39:04 +0100 (Do, 08 Jan 2009) | 1 line

  Forward port r68394 for issue 4816.
........
  r68462 | antoine.pitrou | 2009-01-09 22:40:55 +0100 (Fr, 09 Jan 2009) | 6 lines

  Issue #4074: Change the criteria for doing a full garbage collection (i.e.
  collecting the oldest generation) so that allocating lots of objects without
  destroying them does not show quadratic performance. Based on a proposal by
  Martin von Löwis at http://mail.python.org/pipermail/python-dev/2008-June/080579.html.
........
  r68571 | armin.ronacher | 2009-01-13 12:52:23 +0100 (Di, 13 Jan 2009) | 3 lines

  ast.literal_eval can properly evaluate complex numbers now.  This fixes issue4907.
........
  r68592 | amaury.forgeotdarc | 2009-01-14 00:19:08 +0100 (Mi, 14 Jan 2009) | 5 lines

  #4807: Remove a wrong usage of wsprintf in the winreg module
  ("windows sprintf", different than swprintf)

  Needed for the windows CE port.
........
  r68597 | benjamin.peterson | 2009-01-14 00:43:50 +0100 (Mi, 14 Jan 2009) | 1 line

  fix test_xmlrpc failures #4939
........
  r68603 | raymond.hettinger | 2009-01-14 01:15:21 +0100 (Mi, 14 Jan 2009) | 1 line

  Minor doc tweaks.
........
  r68604 | raymond.hettinger | 2009-01-14 02:15:06 +0100 (Mi, 14 Jan 2009) | 1 line

  Add tests for __init__() and update() with no args.
........
  r68648 | benjamin.peterson | 2009-01-17 05:28:57 +0100 (Sa, 17 Jan 2009) | 1 line

  use enumerate
........
  r68665 | amaury.forgeotdarc | 2009-01-17 18:11:50 +0100 (Sa, 17 Jan 2009) | 3 lines

  #4930: Slightly cleaner (and faster) code in type creation:
  compare slots by address, not by name.
........
  r68737 | jesse.noller | 2009-01-18 22:04:36 +0100 (So, 18 Jan 2009) | 1 line

  issue 4301: patch logging to add processName, remove the old _check_logger_class code
........
  r68764 | benjamin.peterson | 2009-01-19 16:04:35 +0100 (Mo, 19 Jan 2009) | 3 lines

  Removed merge tracking for "svnmerge" for
  svn+ssh://pythondev@svn.python.org/python/branches/trunk-math
........
  r68766 | benjamin.peterson | 2009-01-19 16:06:33 +0100 (Mo, 19 Jan 2009) | 3 lines

  Removed merge tracking for "svnmerge" for
  svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade
........
  r68773 | benjamin.peterson | 2009-01-19 16:51:27 +0100 (Mo, 19 Jan 2009) | 1 line

  simplify code
........
  r68785 | benjamin.peterson | 2009-01-19 22:08:37 +0100 (Mo, 19 Jan 2009) | 1 line

  I'm sick of these deprecations warnings in test_os
........
  r68789 | raymond.hettinger | 2009-01-20 02:19:26 +0100 (Di, 20 Jan 2009) | 6 lines

  Build-outs for Counter() class:
  * Constructor and update() support keyword args (like their dict counterparts).
  * The 'del' statement no longer raises KeyError for missing values.
  * Add multiset operations:  __add__, __sub__, __and__, __or__.
........
  r68792 | raymond.hettinger | 2009-01-20 03:24:38 +0100 (Di, 20 Jan 2009) | 1 line

  Add Counter() to __all__.
........
  r68793 | raymond.hettinger | 2009-01-20 04:36:36 +0100 (Di, 20 Jan 2009) | 1 line

  Make merging easier by formattng comment blocks the same in Py3.1
........
  r68803 | raymond.hettinger | 2009-01-20 13:59:36 +0100 (Di, 20 Jan 2009) | 1 line

  Fix typos.
........
  r68805 | benjamin.peterson | 2009-01-20 15:21:16 +0100 (Di, 20 Jan 2009) | 1 line

  allow unicode keyword arguments for the ** syntax #4978
........
  r68831 | raymond.hettinger | 2009-01-21 00:42:54 +0100 (Mi, 21 Jan 2009) | 1 line

  Beautify and cleanup the references section.
........
  r68840 | andrew.kuchling | 2009-01-21 03:15:43 +0100 (Mi, 21 Jan 2009) | 1 line

  Add some items
........
  r68843 | raymond.hettinger | 2009-01-21 21:31:50 +0100 (Mi, 21 Jan 2009) | 1 line

  Simplify explanation of multiset operations by removing restrictions on negative inputs.
........
  r68845 | raymond.hettinger | 2009-01-22 00:12:51 +0100 (Do, 22 Jan 2009) | 1 line

  Tighten-up the docs for Counter().
........
  r68850 | raymond.hettinger | 2009-01-22 06:20:47 +0100 (Do, 22 Jan 2009) | 1 line

  More doc tweaks.
........
  r68853 | raymond.hettinger | 2009-01-22 10:05:43 +0100 (Do, 22 Jan 2009) | 1 line

  Update comments and add an optimized path for Counter.update().
........
  r68881 | andrew.kuchling | 2009-01-24 04:28:18 +0100 (Sa, 24 Jan 2009) | 1 line

  Add various items
........
  r68884 | kristjan.jonsson | 2009-01-24 11:52:26 +0100 (Sa, 24 Jan 2009) | 1 line

  Add a test for UNC import paths, see issue 3677
........
  r68892 | martin.v.loewis | 2009-01-24 16:45:18 +0100 (Sa, 24 Jan 2009) | 2 lines

  Add heading for 2.7a0.
........
  r68925 | benjamin.peterson | 2009-01-25 18:15:10 +0100 (So, 25 Jan 2009) | 5 lines

  fix building the core with --disable-unicode

  I changed some bytearray methods to use strings instead of unicode like bytes_repr
  Also, bytearray.fromhex() can take strings as well as unicode
........
  r68927 | hirokazu.yamamoto | 2009-01-25 18:46:48 +0100 (So, 25 Jan 2009) | 1 line

  Fixed compile error on windows.
........
  r68941 | raymond.hettinger | 2009-01-25 22:04:14 +0100 (So, 25 Jan 2009) | 1 line

  Promote compress() from a recipe to being a regular itertool.
........
  r68985 | raymond.hettinger | 2009-01-27 00:29:09 +0100 (Di, 27 Jan 2009) | 6 lines

  Remove startup firewall message.  That is handled by an error dialog
  whenever a connection cannot be formed.  Also, the Idle version number
  is already in the About Idle dialog.  Now, the startup is clean looking
  once again.
........
  r68998 | raymond.hettinger | 2009-01-27 03:36:33 +0100 (Di, 27 Jan 2009) | 3 lines

  Tweak column alignment for collections docs.
........
  r69001 | raymond.hettinger | 2009-01-27 03:58:49 +0100 (Di, 27 Jan 2009) | 1 line

  Promote combinations_with_replacement() from a recipe to a regular itertool.
........
  r69010 | raymond.hettinger | 2009-01-27 10:33:06 +0100 (Di, 27 Jan 2009) | 1 line

  Add tests to verify combinatoric relationships.
........
  r69012 | raymond.hettinger | 2009-01-27 10:52:35 +0100 (Di, 27 Jan 2009) | 1 line

  Stronger tests for combinatoric relationships.
........
  r69018 | raymond.hettinger | 2009-01-27 11:36:14 +0100 (Di, 27 Jan 2009) | 1 line

  More exhaustive combinatoric checks.
........
  r69039 | benjamin.peterson | 2009-01-28 00:15:48 +0100 (Mi, 28 Jan 2009) | 1 line

  use True and False
........
2009-02-23 11:09:00 +00:00