]> granicus.if.org Git - python/log
python
15 years agoAdded handling of PyOS_double_to_string out-of-memory errors. Closes issue 5775.
Eric Smith [Tue, 21 Apr 2009 11:57:38 +0000 (11:57 +0000)]
Added handling of PyOS_double_to_string out-of-memory errors. Closes issue 5775.

15 years agoUpdate links and version info.
Raymond Hettinger [Tue, 21 Apr 2009 03:43:15 +0000 (03:43 +0000)]
Update links and version info.

15 years agoForward port r70471: Add object_pairs_hook. Issue 5381.
Raymond Hettinger [Tue, 21 Apr 2009 03:27:12 +0000 (03:27 +0000)]
Forward port r70471: Add object_pairs_hook.  Issue 5381.

15 years agoForward port r70471: Add object_pairs_hook. Issue 5381.
Raymond Hettinger [Tue, 21 Apr 2009 03:09:17 +0000 (03:09 +0000)]
Forward port r70471: Add object_pairs_hook.  Issue 5381.

15 years agoBlocked revisions 71776 via svnmerge
Mark Dickinson [Mon, 20 Apr 2009 21:42:04 +0000 (21:42 +0000)]
Blocked revisions 71776 via svnmerge

........
  r71776 | mark.dickinson | 2009-04-20 22:41:04 +0100 (Mon, 20 Apr 2009) | 2 lines

  Nit: integer division should use //, not /
........

15 years agoMerged revisions 71772 via svnmerge from
Mark Dickinson [Mon, 20 Apr 2009 21:38:00 +0000 (21:38 +0000)]
Merged revisions 71772 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71772 | mark.dickinson | 2009-04-20 22:13:33 +0100 (Mon, 20 Apr 2009) | 5 lines

  Issue #3166: Make long -> float (and int -> float) conversions
  correctly rounded, using round-half-to-even.  This ensures that the
  value of float(n) doesn't depend on whether we're using 15-bit digits
  or 30-bit digits for Python longs.
........

15 years agoMerged revisions 71766 via svnmerge from
Tarek Ziadé [Mon, 20 Apr 2009 14:33:15 +0000 (14:33 +0000)]
Merged revisions 71766 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71766 | tarek.ziade | 2009-04-20 16:29:42 +0200 (Mon, 20 Apr 2009) | 1 line

  adding a NEWS note for #5795 (previously checked via the buildbot)
........

15 years agoMerged revisions 71759 via svnmerge from
Tarek Ziadé [Mon, 20 Apr 2009 12:37:58 +0000 (12:37 +0000)]
Merged revisions 71759 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71759 | tarek.ziade | 2009-04-20 12:33:47 +0200 (Mon, 20 Apr 2009) | 1 line

  making BuildWinInstTestCase silent in case bdist_wininst is not run under win32
........

15 years agoMerged revisions 71758 via svnmerge from
Tarek Ziadé [Mon, 20 Apr 2009 12:18:08 +0000 (12:18 +0000)]
Merged revisions 71758 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71758 | tarek.ziade | 2009-04-20 09:53:55 +0200 (Mon, 20 Apr 2009) | 1 line

  #5795 sysconfig._config_vars was shadowed in tearDown
........

15 years agoMerged revisions 71734,71738-71739 via svnmerge from
Benjamin Peterson [Mon, 20 Apr 2009 02:09:13 +0000 (02:09 +0000)]
Merged revisions 71734,71738-71739 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71734 | benjamin.peterson | 2009-04-18 17:15:26 -0500 (Sat, 18 Apr 2009) | 1 line

  many more types to initialize (I had to expose some of them)
........
  r71738 | benjamin.peterson | 2009-04-18 21:32:42 -0500 (Sat, 18 Apr 2009) | 1 line

  initialize weakref some weakref types
........
  r71739 | benjamin.peterson | 2009-04-18 21:40:43 -0500 (Sat, 18 Apr 2009) | 1 line

  make errors consistent
........

15 years agoIssue #5463: Remove deprecated float coercion from struct module, along
Mark Dickinson [Sun, 19 Apr 2009 20:40:33 +0000 (20:40 +0000)]
Issue #5463: Remove deprecated float coercion from struct module, along
with the _PY_STRUCT_FLOAT_COERCE constant.  Simplify tests accordingly,
and reenable (now-fixed) broken tests.

15 years agoMerged revisions 71750 via svnmerge from
Mark Dickinson [Sun, 19 Apr 2009 17:14:11 +0000 (17:14 +0000)]
Merged revisions 71750 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71750 | mark.dickinson | 2009-04-19 18:10:47 +0100 (Sun, 19 Apr 2009) | 3 lines

  Automatic conversion of floats to integers for struct.pack integer codes
  is deprecated.  Use an explicit int() instead.
........

15 years agoAdd comments to pyport.h explaining how to enable support for short
Mark Dickinson [Sun, 19 Apr 2009 11:35:55 +0000 (11:35 +0000)]
Add comments to pyport.h explaining how to enable support for short
float repr on platforms that don't currently support it, and
reorganize the defines slightly to make adding support easier.

15 years agoMerged revisions 71743 via svnmerge from
Ronald Oussoren [Sun, 19 Apr 2009 10:40:48 +0000 (10:40 +0000)]
Merged revisions 71743 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71743 | ronald.oussoren | 2009-04-19 12:38:20 +0200 (Sun, 19 Apr 2009) | 2 lines

  Fix for issue5657.
........

15 years agouse NULL for the ends of tables
Benjamin Peterson [Sun, 19 Apr 2009 03:15:20 +0000 (03:15 +0000)]
use NULL for the ends of tables

15 years agomake python3 alias in altbininstall
Benjamin Peterson [Sun, 19 Apr 2009 03:14:50 +0000 (03:14 +0000)]
make python3 alias in altbininstall

15 years agoFix use of test skipping API.
Antoine Pitrou [Sun, 19 Apr 2009 00:10:36 +0000 (00:10 +0000)]
Fix use of test skipping API.

15 years agoIssue #5734: BufferedRWPair was poorly tested and had several glaring bugs.
Antoine Pitrou [Sun, 19 Apr 2009 00:09:36 +0000 (00:09 +0000)]
Issue #5734: BufferedRWPair was poorly tested and had several glaring bugs.
Patch by Brian Quinlan.

15 years agoBlocked revisions 71725 via svnmerge
Benjamin Peterson [Sat, 18 Apr 2009 21:24:33 +0000 (21:24 +0000)]
Blocked revisions 71725 via svnmerge

........
  r71725 | benjamin.peterson | 2009-04-18 15:25:25 -0500 (Sat, 18 Apr 2009) | 1 line

  initalize -> initialize
........

15 years agoMove configure check for broken sem_getvalue outside the
Mark Dickinson [Sat, 18 Apr 2009 21:18:19 +0000 (21:18 +0000)]
Move configure check for broken sem_getvalue outside the
LIBS="$LIBS $LIBM" section.

15 years agoMerged revisions 71722 via svnmerge from
Benjamin Peterson [Sat, 18 Apr 2009 20:54:08 +0000 (20:54 +0000)]
Merged revisions 71722 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71722 | benjamin.peterson | 2009-04-18 15:12:47 -0500 (Sat, 18 Apr 2009) | 1 line

  try to initalize all builtin types with PyType_Ready to avoid problems like #5787
........

15 years agoRevert accidental changes to Objects/floatobject.c
Mark Dickinson [Sat, 18 Apr 2009 20:19:17 +0000 (20:19 +0000)]
Revert accidental changes to Objects/floatobject.c

15 years agoThe SSE2 detection and enabling could potentially cause
Mark Dickinson [Sat, 18 Apr 2009 20:17:52 +0000 (20:17 +0000)]
The SSE2 detection and enabling could potentially cause
problems for binary distributions of Python in situations
where the build machine has SSE2 but the target machine
does not.

Therefore, don't enable SSE2 instructions automatically on x86.

15 years agoMerged revisions 71719 via svnmerge from
Benjamin Peterson [Sat, 18 Apr 2009 15:42:12 +0000 (15:42 +0000)]
Merged revisions 71719 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71719 | benjamin.peterson | 2009-04-18 10:31:34 -0500 (Sat, 18 Apr 2009) | 1 line

  rename internal bytes_ functions to bytearray
........

15 years agorename internal methods of the bytes object to bytes_
Benjamin Peterson [Sat, 18 Apr 2009 15:17:02 +0000 (15:17 +0000)]
rename internal methods of the bytes object to bytes_

15 years agoBlocked revisions 71715 via svnmerge
Mark Dickinson [Sat, 18 Apr 2009 15:01:12 +0000 (15:01 +0000)]
Blocked revisions 71715 via svnmerge

........
  r71715 | mark.dickinson | 2009-04-18 15:59:42 +0100 (Sat, 18 Apr 2009) | 2 lines

  Issue #1869: Fix a couple of minor round() issues.
........

15 years agouse the more offical skipping api
Benjamin Peterson [Sat, 18 Apr 2009 14:49:19 +0000 (14:49 +0000)]
use the more offical skipping api

15 years agoadd annotations to open()
Benjamin Peterson [Sat, 18 Apr 2009 14:47:50 +0000 (14:47 +0000)]
add annotations to open()

15 years agoBlocked revisions 71710 via svnmerge
Mark Dickinson [Sat, 18 Apr 2009 14:42:41 +0000 (14:42 +0000)]
Blocked revisions 71710 via svnmerge

........
  r71710 | mark.dickinson | 2009-04-18 15:41:37 +0100 (Sat, 18 Apr 2009) | 2 lines

  Backport r71704 (add configure check for C99 round function) to trunk.
........

15 years agoMerged revisions 71705 via svnmerge from
Mark Dickinson [Sat, 18 Apr 2009 14:14:48 +0000 (14:14 +0000)]
Merged revisions 71705 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71705 | mark.dickinson | 2009-04-18 15:13:43 +0100 (Sat, 18 Apr 2009) | 2 lines

  copysign shouldn't be declared as static in pymath.c
........

15 years agoAdd check for C99 round function to configure, and define
Mark Dickinson [Sat, 18 Apr 2009 13:58:18 +0000 (13:58 +0000)]
Add check for C99 round function to configure, and define
a fallback function if round doesn't exist.

15 years agoAdded Python/dtoa.c to project files.
Hirokazu Yamamoto [Sat, 18 Apr 2009 13:10:51 +0000 (13:10 +0000)]
Added Python/dtoa.c to project files.

15 years agoIssue #1869 (and 4707, 5118, 5473, 1456775): use the new
Mark Dickinson [Sat, 18 Apr 2009 11:48:33 +0000 (11:48 +0000)]
Issue #1869 (and 4707, 5118, 5473, 1456775):  use the new
string <-> float conversion routines to make round(x, n) correctly
rounded for floats x, so that it always agrees with format(x, '.<n>f').

Also fix some other round nuisances, like round(123.456, 1-2**31) giving
an integer rather than a float.

15 years agoIssue #5781: Only use legacy string<->double conversions when
Mark Dickinson [Sat, 18 Apr 2009 10:16:35 +0000 (10:16 +0000)]
Issue #5781: Only use legacy string<->double conversions when
we can't figure out how to get and set the x87 control word.

15 years agoThe comments at the top of intobject.h say that it will be removed in 3.1.
Mark Dickinson [Sat, 18 Apr 2009 10:12:16 +0000 (10:12 +0000)]
The comments at the top of intobject.h say that it will be removed in 3.1.
Make it so.

15 years agoRemoved unused files.
Eric Smith [Sat, 18 Apr 2009 00:10:04 +0000 (00:10 +0000)]
Removed unused files.

15 years agoIssue 5780: Fix test_float failures for legacy style float repr.
Mark Dickinson [Fri, 17 Apr 2009 22:40:53 +0000 (22:40 +0000)]
Issue 5780: Fix test_float failures for legacy style float repr.

15 years agoSort out some confusion in test_float.py: the two
Mark Dickinson [Fri, 17 Apr 2009 20:59:58 +0000 (20:59 +0000)]
Sort out some confusion in test_float.py:  the two
separate FormatTestCase classes have been combined,
and test_short_repr has been moved from FormatTestCase
to the existing ReprTestCase.

15 years agoAdd porting notes.
Raymond Hettinger [Fri, 17 Apr 2009 20:55:52 +0000 (20:55 +0000)]
Add porting notes.

15 years agoSilence compiler warnings on VS8.0
Mark Dickinson [Fri, 17 Apr 2009 19:29:46 +0000 (19:29 +0000)]
Silence compiler warnings on VS8.0

15 years agoAdd more examples.
Raymond Hettinger [Fri, 17 Apr 2009 18:58:06 +0000 (18:58 +0000)]
Add more examples.

15 years agoAdd dtoc.[ch] to the VS8.0 project file.
Raymond Hettinger [Fri, 17 Apr 2009 18:47:01 +0000 (18:47 +0000)]
Add dtoc.[ch] to the VS8.0 project file.

15 years agoAdd reminder to dtoa.c to check for updates regularly.
Mark Dickinson [Fri, 17 Apr 2009 16:06:28 +0000 (16:06 +0000)]
Add reminder to dtoa.c to check for updates regularly.
Fix a bug in the memory management in dtoa.c.

15 years agoMerged revisions 71674 via svnmerge from
Tarek Ziadé [Fri, 17 Apr 2009 14:34:49 +0000 (14:34 +0000)]
Merged revisions 71674 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71674 | tarek.ziade | 2009-04-17 16:29:56 +0200 (Fri, 17 Apr 2009) | 1 line

  DistutilsSetupError was not raised when one single warning occured
........

15 years agoNit.
Eric Smith [Fri, 17 Apr 2009 12:33:24 +0000 (12:33 +0000)]
Nit.

15 years agoUpdate list of supported types.
Raymond Hettinger [Fri, 17 Apr 2009 10:09:27 +0000 (10:09 +0000)]
Update list of supported types.

15 years agoNits.
Raymond Hettinger [Fri, 17 Apr 2009 09:45:19 +0000 (09:45 +0000)]
Nits.

15 years agoMake sure that marshal and pickle continue to output 17
Mark Dickinson [Fri, 17 Apr 2009 08:41:23 +0000 (08:41 +0000)]
Make sure that marshal and pickle continue to output 17
digits of precision for floats.

15 years agoLadies and gentlemen, the new float.__repr__() has arrived.
Raymond Hettinger [Fri, 17 Apr 2009 00:11:54 +0000 (00:11 +0000)]
Ladies and gentlemen, the new float.__repr__() has arrived.

15 years agoSimplify PyOS_double_to_string.
Eric Smith [Thu, 16 Apr 2009 22:08:31 +0000 (22:08 +0000)]
Simplify PyOS_double_to_string.

15 years agoBetter wording for Issue #5515 entry.
Eric Smith [Thu, 16 Apr 2009 20:21:28 +0000 (20:21 +0000)]
Better wording for Issue #5515 entry.

15 years agoThe other half of Issue #1580: use short float repr where possible.
Eric Smith [Thu, 16 Apr 2009 20:16:10 +0000 (20:16 +0000)]
The other half of Issue #1580: use short float repr where possible.

Addresses the float -> string conversion, using David Gay's code which
was added in Mark Dickinson's checkin r71663.

Also addresses these, which are intertwined with the short repr
changes:

- Issue #5772: format(1e100, '<') produces '1e+100', not '1.0e+100'
- Issue #5515: 'n' formatting with commas no longer works poorly
    with leading zeros.
- PEP 378 Format Specifier for Thousands Separator: implemented
    for floats.

15 years agoIssue #1580: use short float repr where possible.
Mark Dickinson [Thu, 16 Apr 2009 19:52:09 +0000 (19:52 +0000)]
Issue #1580: use short float repr where possible.
 - incorporate and adapt David Gay's dtoa and strtod
   into the Python core
 - on platforms where we can use Gay's code (almost
   all!), repr(float) is based on the shortest
   sequence of decimal digits that rounds correctly.
 - add sys.float_repr_style attribute to indicate
   whether we're using Gay's code or not
 - add autoconf magic to detect and enable SSE2
   instructions on x86/gcc
 - slight change to repr and str:  repr switches
   to exponential notation at 1e16 instead of
   1e17, str switches at 1e11 instead of 1e12

15 years agoMerged revisions 71640-71641 via svnmerge from
Thomas Heller [Thu, 16 Apr 2009 18:37:24 +0000 (18:37 +0000)]
Merged revisions 71640-71641 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71640 | thomas.heller | 2009-04-16 08:26:33 +0200 (Do, 16 Apr 2009) | 1 line

  Remove unneeded code.
........
  r71641 | thomas.heller | 2009-04-16 08:42:02 +0200 (Do, 16 Apr 2009) | 2 lines

  Remove duplicated function declaration.
  Make _pagesize static.
........

15 years agoMerged revisions 71651 via svnmerge from
R. David Murray [Thu, 16 Apr 2009 18:15:32 +0000 (18:15 +0000)]
Merged revisions 71651 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71651 | r.david.murray | 2009-04-16 14:12:53 -0400 (Thu, 16 Apr 2009) | 2 lines

  Less red ink (warning->note) and add link to def of side-by-side assembly.
........

15 years agoPort r71408 to py3k: issue 5665, add more pickling tests.
Collin Winter [Thu, 16 Apr 2009 03:18:06 +0000 (03:18 +0000)]
Port r71408 to py3k: issue 5665, add more pickling tests.

15 years agoMerged revisions 71631 via svnmerge from
R. David Murray [Wed, 15 Apr 2009 22:35:15 +0000 (22:35 +0000)]
Merged revisions 71631 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71631 | r.david.murray | 2009-04-15 18:33:07 -0400 (Wed, 15 Apr 2009) | 4 lines

  Fix for issue3440: add warning to subprocess discussion of
  env parameter that on Windows SystemRoot is required in order
  to run side-by-side assemblies.
........

15 years agoMerged revisions 71627 via svnmerge from
Benjamin Peterson [Wed, 15 Apr 2009 21:34:27 +0000 (21:34 +0000)]
Merged revisions 71627 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71627 | benjamin.peterson | 2009-04-15 16:26:36 -0500 (Wed, 15 Apr 2009) | 4 lines

  call __float__ on str subclasses #5759

  tests by R. David Murray
........

15 years agoreference the io momdule in file and directory section
Benjamin Peterson [Wed, 15 Apr 2009 20:34:30 +0000 (20:34 +0000)]
reference the io momdule in file and directory section

15 years agoother places like this just catch IOError
Benjamin Peterson [Tue, 14 Apr 2009 22:02:08 +0000 (22:02 +0000)]
other places like this just catch IOError

15 years agoFix links
Raymond Hettinger [Tue, 14 Apr 2009 20:45:17 +0000 (20:45 +0000)]
Fix links

15 years agoFix-up links.
Raymond Hettinger [Tue, 14 Apr 2009 08:16:50 +0000 (08:16 +0000)]
Fix-up links.

15 years agoNew module names are lowercase
Raymond Hettinger [Tue, 14 Apr 2009 08:05:31 +0000 (08:05 +0000)]
New module names are lowercase

15 years agoMerged revisions 71589 via svnmerge from
Tarek Ziadé [Mon, 13 Apr 2009 20:19:58 +0000 (20:19 +0000)]
Merged revisions 71589 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71589 | tarek.ziade | 2009-04-13 22:14:54 +0200 (Mon, 13 Apr 2009) | 1 line

  pep8-fied
........

15 years agoMerged revisions 71585 via svnmerge from
Tarek Ziadé [Mon, 13 Apr 2009 20:07:23 +0000 (20:07 +0000)]
Merged revisions 71585 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71585 | tarek.ziade | 2009-04-13 22:03:44 +0200 (Mon, 13 Apr 2009) | 1 line

  improved test coverage for distutils.cmd
........

15 years agoMove NEWS item to correct section.
R. David Murray [Mon, 13 Apr 2009 17:06:33 +0000 (17:06 +0000)]
Move NEWS item to correct section.

15 years agoMerged revisions 71579 via svnmerge from
R. David Murray [Mon, 13 Apr 2009 17:00:25 +0000 (17:00 +0000)]
Merged revisions 71579 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71579 | r.david.murray | 2009-04-13 12:56:32 -0400 (Mon, 13 Apr 2009) | 2 lines

  Add missing NEWS item for issue1161031 fix.
........

15 years agoMerged revisions 71569 via svnmerge from
Tarek Ziadé [Mon, 13 Apr 2009 12:59:03 +0000 (12:59 +0000)]
Merged revisions 71569 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71569 | tarek.ziade | 2009-04-13 14:42:26 +0200 (Mon, 13 Apr 2009) | 1 line

  deactivate test_search_cpp under win32
........

15 years agoBlocked revisions 70958 via svnmerge (merged manually)
Georg Brandl [Mon, 13 Apr 2009 12:40:42 +0000 (12:40 +0000)]
Blocked revisions 70958 via svnmerge (merged manually)

........
  r70958 | kristjan.jonsson | 2009-04-01 16:08:34 +0000 (Mi, 01 Apr 2009) | 3 lines

  http://bugs.python.org/issue5623
  Dynamically discoverd the size of the ioinfo struct used by the crt for its file descriptors.  This should work across all flavors of the CRT.  Thanks to Amaury Forgeot d'Arc
  Needs porting to 3.1
........

15 years agoMerged revisions 71560 via svnmerge from
Tarek Ziadé [Mon, 13 Apr 2009 12:37:57 +0000 (12:37 +0000)]
Merged revisions 71560 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71560 | tarek.ziade | 2009-04-13 14:34:01 +0200 (Mon, 13 Apr 2009) | 1 line

  Fixed #5607: Distutils test_get_platform was failing fo Mac OS X fat binaries.
........

15 years agoMerging r70958 from the trunk, regarding http://bugs.python.org/issue5623
Kristján Valur Jónsson [Mon, 13 Apr 2009 10:16:14 +0000 (10:16 +0000)]
Merging r70958 from the trunk, regarding http://bugs.python.org/issue5623

15 years agoMerged revisions 71553 via svnmerge from
R. David Murray [Mon, 13 Apr 2009 01:22:04 +0000 (01:22 +0000)]
Merged revisions 71553 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71553 | r.david.murray | 2009-04-12 21:06:46 -0400 (Sun, 12 Apr 2009) | 3 lines

  Adjust test_asyncore to account for intentional asyncore behavior change
  introduced by r70934 that was causing a test failure when run under -O.
........

15 years agoMerged revisions 71548 via svnmerge from
Eric Smith [Mon, 13 Apr 2009 00:50:23 +0000 (00:50 +0000)]
Merged revisions 71548 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71548 | eric.smith | 2009-04-12 20:29:50 -0400 (Sun, 12 Apr 2009) | 1 line

  Fixed incorrect object passed into format_float_internal(). This was resulting in a conversion being done twice.
........

15 years agoMerged revisions 71539 via svnmerge from
Benjamin Peterson [Sun, 12 Apr 2009 20:32:11 +0000 (20:32 +0000)]
Merged revisions 71539 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71539 | benjamin.peterson | 2009-04-12 15:24:56 -0500 (Sun, 12 Apr 2009) | 1 line

  remove useless import
........

15 years agoMerged revisions 71533 via svnmerge from
Tarek Ziadé [Sun, 12 Apr 2009 17:04:39 +0000 (17:04 +0000)]
Merged revisions 71533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71533 | tarek.ziade | 2009-04-12 19:02:08 +0200 (Sun, 12 Apr 2009) | 1 line

  removed string usage and added a test for _clean
........

15 years agoMerged revisions 71528 via svnmerge from
Tarek Ziadé [Sun, 12 Apr 2009 16:49:20 +0000 (16:49 +0000)]
Merged revisions 71528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71528 | tarek.ziade | 2009-04-12 18:45:32 +0200 (Sun, 12 Apr 2009) | 1 line

  added a test for finalize_options
........

15 years agoMerged revisions 71523 via svnmerge from
Tarek Ziadé [Sun, 12 Apr 2009 16:34:34 +0000 (16:34 +0000)]
Merged revisions 71523 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71523 | tarek.ziade | 2009-04-12 18:31:24 +0200 (Sun, 12 Apr 2009) | 1 line

  added a simple test for search_cpp
........

15 years agoAdd bytes/bytearray.maketrans() to mirror str.maketrans(), and deprecate
Georg Brandl [Sun, 12 Apr 2009 15:51:51 +0000 (15:51 +0000)]
Add bytes/bytearray.maketrans() to mirror str.maketrans(), and deprecate
string.maketrans() which actually works on bytes.  (Also closes #5675.)

15 years agoMerged revisions 70873,70904,70934,71490 via svnmerge from
R. David Murray [Sun, 12 Apr 2009 15:35:44 +0000 (15:35 +0000)]
Merged revisions 70873,70904,70934,71490 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70873 | josiah.carlson | 2009-03-31 15:32:34 -0400 (Tue, 31 Mar 2009) | 2 lines

  This resolves issue 1161031.  Tests pass.
........
  r70904 | josiah.carlson | 2009-03-31 17:49:36 -0400 (Tue, 31 Mar 2009) | 3 lines

  Made handle_expt_event() be called last, so that we don't accidentally read
  after closing the socket.
........
  r70934 | josiah.carlson | 2009-03-31 21:28:11 -0400 (Tue, 31 Mar 2009) | 2 lines

  Fix for failing asyncore tests.
........
  r71490 | r.david.murray | 2009-04-11 13:52:56 -0400 (Sat, 11 Apr 2009) | 4 lines

  Make test_asyncore tests match code changes introduced by the
  fix to Issue1161031, refactoring the test to simplify it in
  the process.
........

15 years agoUnblock most recent asyncore commits in preparation for py3k integration.
R. David Murray [Sun, 12 Apr 2009 15:21:36 +0000 (15:21 +0000)]
Unblock most recent asyncore commits in preparation for py3k integration.

15 years agoMerged revisions 71513 via svnmerge from
Tarek Ziadé [Sun, 12 Apr 2009 15:07:31 +0000 (15:07 +0000)]
Merged revisions 71513 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71513 | tarek.ziade | 2009-04-12 17:03:50 +0200 (Sun, 12 Apr 2009) | 1 line

  pep8-fied the module before adding tests
........

15 years agoMerged revisions 71509 via svnmerge from
Tarek Ziadé [Sun, 12 Apr 2009 14:57:46 +0000 (14:57 +0000)]
Merged revisions 71509 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71509 | tarek.ziade | 2009-04-12 16:53:51 +0200 (Sun, 12 Apr 2009) | 1 line

  removed the print statements and added a test
........

15 years ago#5708: a bit of streamlining in unicode_repeat().
Georg Brandl [Sun, 12 Apr 2009 12:01:50 +0000 (12:01 +0000)]
#5708: a bit of streamlining in unicode_repeat().

15 years ago#2725: Fix missing local, and handle errors without tracebacks.
Georg Brandl [Sun, 12 Apr 2009 11:34:13 +0000 (11:34 +0000)]
#2725: Fix missing local, and handle errors without tracebacks.

15 years agoMerged revisions 71024,71058 via svnmerge from
Georg Brandl [Sat, 11 Apr 2009 21:24:37 +0000 (21:24 +0000)]
Merged revisions 71024,71058 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71024 | georg.brandl | 2009-04-02 04:47:44 +0200 (Do, 02 Apr 2009) | 4 lines

  In PyErr_GivenExceptionMatches, temporarily bump the recursion
  limit, so that in the most common case PyObject_IsSubclass will
  not raise a recursion error we have to ignore anyway.
........
  r71058 | georg.brandl | 2009-04-02 20:09:04 +0200 (Do, 02 Apr 2009) | 3 lines

  PyErr_NormalizeException may not set an error, so convert the PyErr_SetObject
  call on hitting the recursion limit into just assigning it to the arguments provided.
........

15 years agoMerged revisions 71498 via svnmerge from
Benjamin Peterson [Sat, 11 Apr 2009 20:58:12 +0000 (20:58 +0000)]
Merged revisions 71498 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71498 | benjamin.peterson | 2009-04-11 15:27:15 -0500 (Sat, 11 Apr 2009) | 1 line

  fix markup
........

15 years agoMerged revisions 70912,70944,70968,71033,71041,71208,71263,71286,71395-71396,71405...
Benjamin Peterson [Sat, 11 Apr 2009 20:45:40 +0000 (20:45 +0000)]
Merged revisions 70912,70944,70968,71033,71041,71208,71263,71286,71395-71396,71405-71406,71485,71492,71494 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70912 | georg.brandl | 2009-03-31 17:35:46 -0500 (Tue, 31 Mar 2009) | 1 line

  #5617: add a handy function to print a unicode string to gdbinit.
........
  r70944 | georg.brandl | 2009-03-31 23:32:39 -0500 (Tue, 31 Mar 2009) | 1 line

  #5631: add upload to list of possible commands, which is presented in --help-commands.
........
  r70968 | michael.foord | 2009-04-01 13:25:38 -0500 (Wed, 01 Apr 2009) | 1 line

  Adding Wing project file
........
  r71033 | brett.cannon | 2009-04-01 22:34:53 -0500 (Wed, 01 Apr 2009) | 3 lines

  Fix two issues introduced by issue #71031 by changing the signature of
  PyImport_AppendInittab() to take a const char *.
........
  r71041 | jesse.noller | 2009-04-02 00:17:26 -0500 (Thu, 02 Apr 2009) | 1 line

  Add custom initializer argument to multiprocess.Manager*, courtesy of lekma
........
  r71208 | michael.foord | 2009-04-04 20:15:01 -0500 (Sat, 04 Apr 2009) | 4 lines

  Change the way unittest.TestSuite use their tests to always access them through iteration. Non behavior changing, this allows you to create custom subclasses that override __iter__.

  Issue #5693
........
  r71263 | michael.foord | 2009-04-05 14:19:28 -0500 (Sun, 05 Apr 2009) | 4 lines

  Adding assertIs and assertIsNot methods to unittest.TestCase

  Issue #2578
........
  r71286 | tarek.ziade | 2009-04-05 17:04:38 -0500 (Sun, 05 Apr 2009) | 1 line

  added a simplest test to distutils.spawn._nt_quote_args
........
  r71395 | benjamin.peterson | 2009-04-08 08:27:29 -0500 (Wed, 08 Apr 2009) | 1 line

  these must be installed to correctly run tests
........
  r71396 | benjamin.peterson | 2009-04-08 08:29:41 -0500 (Wed, 08 Apr 2009) | 1 line

  fix syntax
........
  r71405 | andrew.kuchling | 2009-04-09 06:22:47 -0500 (Thu, 09 Apr 2009) | 1 line

  Add items
........
  r71406 | andrew.kuchling | 2009-04-09 06:23:36 -0500 (Thu, 09 Apr 2009) | 1 line

  Typo fixes
........
  r71485 | andrew.kuchling | 2009-04-11 11:12:23 -0500 (Sat, 11 Apr 2009) | 1 line

  Add various items
........
  r71492 | georg.brandl | 2009-04-11 13:19:27 -0500 (Sat, 11 Apr 2009) | 1 line

  Take credit for a patch of mine.
........
  r71494 | benjamin.peterson | 2009-04-11 14:31:00 -0500 (Sat, 11 Apr 2009) | 1 line

  ignore py3_test_grammar when compiling the library
........

15 years agoBlocked revisions 70757,70981,71029,71031,71082 via svnmerge
Benjamin Peterson [Sat, 11 Apr 2009 20:14:54 +0000 (20:14 +0000)]
Blocked revisions 70757,70981,71029,71031,71082 via svnmerge

........
  r70757 | senthil.kumaran | 2009-03-30 16:51:50 -0500 (Mon, 30 Mar 2009) | 3 lines

  Fix for bugs: Issue4675 and Issue4962.
........
  r70981 | senthil.kumaran | 2009-04-01 15:26:33 -0500 (Wed, 01 Apr 2009) | 3 lines

  Fix for issue5040. Adding test for Content-Length
........
  r71029 | senthil.kumaran | 2009-04-01 22:00:34 -0500 (Wed, 01 Apr 2009) | 3 lines

  Fixing the issue4860. Escaping embedded '"' character in js_output() method of Morsel.
........
  r71031 | brett.cannon | 2009-04-01 22:17:39 -0500 (Wed, 01 Apr 2009) | 6 lines

  PyImport_AppendInittab() took a char * as a first argument even though that
  string was stored beyond the life of the call. Changed the signature to be
  const char * to help make this point.

  Closes issue #1419652.
........
  r71082 | hirokazu.yamamoto | 2009-04-02 22:54:08 -0500 (Thu, 02 Apr 2009) | 1 line

  Fixed compile error on windows.
........

15 years agoMerged revisions 71303 via svnmerge from
Benjamin Peterson [Sat, 11 Apr 2009 20:12:10 +0000 (20:12 +0000)]
Merged revisions 71303 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71303 | gregory.p.smith | 2009-04-06 01:33:26 -0500 (Mon, 06 Apr 2009) | 3 lines

  - Issue #2254: Fix CGIHTTPServer information disclosure.  Relative paths are
    now collapsed within the url properly before looking in cgi_directories.
........

15 years agoMerged revisions 70980,71059,71225,71234,71241,71243,71249,71251,71255,71266,71299...
Benjamin Peterson [Sat, 11 Apr 2009 19:48:14 +0000 (19:48 +0000)]
Merged revisions 70980,71059,71225,71234,71241,71243,71249,71251,71255,71266,71299,71329,71397-71398,71486 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70980 | jack.diederich | 2009-04-01 15:26:13 -0500 (Wed, 01 Apr 2009) | 3 lines

  bounds check arguments to mmap.move().  All of them.  Really.
  fixes crasher on OS X 10.5
........
  r71059 | mark.dickinson | 2009-04-02 13:39:37 -0500 (Thu, 02 Apr 2009) | 2 lines

  sys.long_info attributes should be ints, not longs
........
  r71225 | georg.brandl | 2009-04-05 06:54:07 -0500 (Sun, 05 Apr 2009) | 1 line

  #5580: no need to use parentheses when converterr() argument is actually a type description.
........
  r71234 | georg.brandl | 2009-04-05 08:16:35 -0500 (Sun, 05 Apr 2009) | 1 line

  Whitespace normalization.
........
  r71241 | georg.brandl | 2009-04-05 09:48:49 -0500 (Sun, 05 Apr 2009) | 1 line

  #5471: fix expanduser() for $HOME set to "/".
........
  r71243 | georg.brandl | 2009-04-05 10:14:29 -0500 (Sun, 05 Apr 2009) | 1 line

  #5432: make plistlib docstring a raw string, since it contains examples with backslash escapes.
........
  r71249 | georg.brandl | 2009-04-05 11:30:43 -0500 (Sun, 05 Apr 2009) | 1 line

  #5444: adapt make.bat to new htmlhelp output file name.
........
  r71251 | georg.brandl | 2009-04-05 12:17:42 -0500 (Sun, 05 Apr 2009) | 1 line

  #5298: clarify docs about GIL by using more consistent wording.
........
  r71255 | georg.brandl | 2009-04-05 13:34:58 -0500 (Sun, 05 Apr 2009) | 1 line

  #602893: add indicator for current line in cgitb that doesnt rely on styling alone.
........
  r71266 | georg.brandl | 2009-04-05 15:23:13 -0500 (Sun, 05 Apr 2009) | 1 line

  Normalize issue referencing style.
........
  r71299 | gregory.p.smith | 2009-04-05 18:43:58 -0500 (Sun, 05 Apr 2009) | 3 lines

  Fixes issue5705: os.setuid() and friends did not accept the same range of
  values that pwd.getpwnam() returns.
........
  r71329 | benjamin.peterson | 2009-04-06 16:53:33 -0500 (Mon, 06 Apr 2009) | 1 line

  add create_connection to __all__ #5711
........
  r71397 | georg.brandl | 2009-04-08 11:36:39 -0500 (Wed, 08 Apr 2009) | 1 line

  Remove redundant backtick.
........
  r71398 | georg.brandl | 2009-04-08 11:39:04 -0500 (Wed, 08 Apr 2009) | 1 line

  Update ignore file for suspicious builder.
........
  r71486 | andrew.kuchling | 2009-04-11 11:18:14 -0500 (Sat, 11 Apr 2009) | 1 line

  Re-word
........

15 years agoBlocked revisions 70807,70986,70993-70994,71127,71300,71302,71361,71365,71367,71370...
Benjamin Peterson [Sat, 11 Apr 2009 19:16:27 +0000 (19:16 +0000)]
Blocked revisions 70807,70986,70993-70994,71127,71300,71302,71361,71365,71367,71370,71377,71380,71385,71389,71392,71419,71430,71435,71448,71462,71490 via svnmerge

........
  r70807 | jeremy.hylton | 2009-03-31 08:31:00 -0500 (Tue, 31 Mar 2009) | 2 lines

  Update quicktest to match Python 3 branch
........
  r70986 | raymond.hettinger | 2009-04-01 15:50:58 -0500 (Wed, 01 Apr 2009) | 1 line

  Add link to an alternative generator with a long-period.
........
  r70993 | georg.brandl | 2009-04-01 16:05:44 -0500 (Wed, 01 Apr 2009) | 1 line

  Add NEWS item.
........
  r70994 | georg.brandl | 2009-04-01 16:06:30 -0500 (Wed, 01 Apr 2009) | 1 line

  Revert accidental checkin.
........
  r71127 | raymond.hettinger | 2009-04-04 03:46:58 -0500 (Sat, 04 Apr 2009) | 1 line

  Replace the localized min/max calls with normal if/else
........
  r71300 | gregory.p.smith | 2009-04-05 18:48:26 -0500 (Sun, 05 Apr 2009) | 2 lines

  news entry for r71299.
........
  r71302 | jack.diederich | 2009-04-05 21:08:44 -0500 (Sun, 05 Apr 2009) | 1 line

  test the telnetlib.Telnet interface more thoroughly
........
  r71361 | benjamin.peterson | 2009-04-07 10:15:04 -0500 (Tue, 07 Apr 2009) | 1 line

  fix syntax tests after formatting change
........
  r71365 | benjamin.peterson | 2009-04-07 10:52:05 -0500 (Tue, 07 Apr 2009) | 1 line

  fix since difference formating of SyntaxErrors
........
  r71367 | benjamin.peterson | 2009-04-07 11:03:04 -0500 (Tue, 07 Apr 2009) | 1 line

  revert unrelated change to test_telnetlib
........
  r71370 | vinay.sajip | 2009-04-07 12:18:24 -0500 (Tue, 07 Apr 2009) | 1 line

  Issue #5695: Minor tweak to improve the code as suggested by Brett Cannon and as implemented in the Py3K branch.
........
  r71377 | jack.diederich | 2009-04-07 15:22:59 -0500 (Tue, 07 Apr 2009) | 1 line

  eliminate more race conditions in telnetlib tests
........
  r71380 | raymond.hettinger | 2009-04-07 16:43:51 -0500 (Tue, 07 Apr 2009) | 1 line

  Fix make.bat to match makefile changes
........
  r71385 | jack.diederich | 2009-04-07 18:56:57 -0500 (Tue, 07 Apr 2009) | 4 lines

  - Make timing assertions very generous (a la test_timeout.py)
  - Break the gc cycle in negotiation tests
  - test the different guarantees of read_lazy and read_very_lazy
........
  r71389 | raymond.hettinger | 2009-04-08 00:39:38 -0500 (Wed, 08 Apr 2009) | 1 line

  Add docstrings.
........
  r71392 | raymond.hettinger | 2009-04-08 03:26:55 -0500 (Wed, 08 Apr 2009) | 1 line

  Minor factoring.
........
  r71419 | raymond.hettinger | 2009-04-09 17:31:51 -0500 (Thu, 09 Apr 2009) | 1 line

  Add note on using keyword arguments with OrderedDict.
........
  r71430 | raymond.hettinger | 2009-04-09 23:25:45 -0500 (Thu, 09 Apr 2009) | 1 line

  Clarify the table entries for combinatorics.
........
  r71435 | raymond.hettinger | 2009-04-10 01:38:39 -0500 (Fri, 10 Apr 2009) | 1 line

  Fix the count of datatypes.
........
  r71448 | raymond.hettinger | 2009-04-10 08:16:50 -0500 (Fri, 10 Apr 2009) | 1 line

  Add examples.
........
  r71462 | chris.withers | 2009-04-11 06:22:19 -0500 (Sat, 11 Apr 2009) | 2 lines

  remove unpleasant exec
........
  r71490 | r.david.murray | 2009-04-11 12:52:56 -0500 (Sat, 11 Apr 2009) | 4 lines

  Make test_asyncore tests match code changes introduced by the
  fix to Issue1161031, refactoring the test to simplify it in
  the process.
........

15 years agoRemove mentions of "long".
Georg Brandl [Sat, 11 Apr 2009 18:18:16 +0000 (18:18 +0000)]
Remove mentions of "long".

15 years ago#5502: accelerate binary buffered IO (especially small operations).
Antoine Pitrou [Sat, 11 Apr 2009 15:39:24 +0000 (15:39 +0000)]
#5502: accelerate binary buffered IO (especially small operations).
On a suggestion by Victor Stinner.

15 years agoMerged revisions 71478 via svnmerge from
Tarek Ziadé [Sat, 11 Apr 2009 15:17:04 +0000 (15:17 +0000)]
Merged revisions 71478 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71478 | tarek.ziade | 2009-04-11 17:14:17 +0200 (Sat, 11 Apr 2009) | 1 line

  testing a full check case
........

15 years agoMerged revisions 71473 via svnmerge from
Tarek Ziadé [Sat, 11 Apr 2009 15:00:43 +0000 (15:00 +0000)]
Merged revisions 71473 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71473 | tarek.ziade | 2009-04-11 16:55:07 +0200 (Sat, 11 Apr 2009) | 1 line

  #5732: added the check command into Distutils
........

15 years agoMerged revisions 71467 via svnmerge from
Tarek Ziadé [Sat, 11 Apr 2009 14:32:37 +0000 (14:32 +0000)]
Merged revisions 71467 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71467 | tarek.ziade | 2009-04-11 15:59:05 +0200 (Sat, 11 Apr 2009) | 1 line

  fixed link
........

15 years agoMerged revisions 71465 via svnmerge from
Nick Coghlan [Sat, 11 Apr 2009 14:30:59 +0000 (14:30 +0000)]
Merged revisions 71465 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71465 | nick.coghlan | 2009-04-11 23:31:31 +1000 (Sat, 11 Apr 2009) | 1 line

  Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks
........

15 years agoMerged revisions 71210 via svnmerge from
Guilherme Polo [Fri, 10 Apr 2009 22:19:09 +0000 (22:19 +0000)]
Merged revisions 71210 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r71210 | guilherme.polo | 2009-04-04 23:11:19 -0300 (Sat, 04 Apr 2009) | 1 line

  Include tkinter.h only after including tk.h (or the equivalent for another platform).
........

15 years agoFix alignment
Raymond Hettinger [Fri, 10 Apr 2009 19:43:50 +0000 (19:43 +0000)]
Fix alignment

15 years agoAdd examples.
Raymond Hettinger [Fri, 10 Apr 2009 19:02:36 +0000 (19:02 +0000)]
Add examples.