]> granicus.if.org Git - python/log
python
16 years agoMove news item to correct section, remove spurious 'see below'
R. David Murray [Wed, 13 May 2009 13:07:14 +0000 (13:07 +0000)]
Move news item to correct section, remove spurious 'see below'
from docstring.

16 years agoIssue 5994: add docstrings to marshal.
R. David Murray [Wed, 13 May 2009 00:30:29 +0000 (00:30 +0000)]
Issue 5994: add docstrings to marshal.

16 years agothe compiler attribute is used in setup.py; can't rename
Benjamin Peterson [Tue, 12 May 2009 21:06:05 +0000 (21:06 +0000)]
the compiler attribute is used in setup.py; can't rename

16 years agofixed #5977: distutils build_ext.get_outputs was not using the inplace option
Tarek Ziadé [Tue, 12 May 2009 17:07:14 +0000 (17:07 +0000)]
fixed #5977: distutils build_ext.get_outputs was not using the inplace option

16 years agoBetter fix for modules using unittest.main(). Fixes regression caused by commit for...
Michael Foord [Tue, 12 May 2009 10:49:13 +0000 (10:49 +0000)]
Better fix for modules using unittest.main(). Fixes regression caused by commit for issue 5995. Michael Foord

16 years agoFix to restore command line behaviour for test modules using unittest.main(). Regress...
Michael Foord [Tue, 12 May 2009 10:46:23 +0000 (10:46 +0000)]
Fix to restore command line behaviour for test modules using unittest.main(). Regression caused by issue 5995. Michael

16 years agoremoving the assert statement so the code works when Python is run with -O
Tarek Ziadé [Tue, 12 May 2009 07:01:29 +0000 (07:01 +0000)]
removing the assert statement so the code works when Python is run with -O

16 years agoMake it clear up front that shelve only records changes
R. David Murray [Tue, 12 May 2009 01:36:57 +0000 (01:36 +0000)]
Make it clear up front that shelve only records changes
when objects are assigned back to it when writeback is False.

16 years agoAdd missing # to NEWS
Michael Foord [Mon, 11 May 2009 18:01:45 +0000 (18:01 +0000)]
Add missing # to NEWS

16 years agoAdds a verbosity keyword argument to unittest.main plus a minor fix allowing you...
Michael Foord [Mon, 11 May 2009 17:59:43 +0000 (17:59 +0000)]
Adds a verbosity keyword argument to unittest.main plus a minor fix allowing you to specify test modules / classes
from the command line.

Closes issue 5995.

Michael Foord

16 years agoIssue #5981: Fix some float.fromhex bugs related to inf and nan handling.
Mark Dickinson [Mon, 11 May 2009 15:33:08 +0000 (15:33 +0000)]
Issue #5981: Fix some float.fromhex bugs related to inf and nan handling.

16 years agodistutils.test_build_clib added a new line at the end of the file, to avoid a warning...
Tarek Ziadé [Mon, 11 May 2009 08:45:17 +0000 (08:45 +0000)]
distutils.test_build_clib added a new line at the end of the file, to avoid a warning with some compilers

16 years agosys.setdefaultencoding() strikes me as a bad example
Benjamin Peterson [Sun, 10 May 2009 23:52:09 +0000 (23:52 +0000)]
sys.setdefaultencoding() strikes me as a bad example

16 years agofixed test_build_ext for win32
Tarek Ziadé [Sun, 10 May 2009 21:27:55 +0000 (21:27 +0000)]
fixed test_build_ext for win32

16 years agouse isinstance
Benjamin Peterson [Sun, 10 May 2009 14:16:47 +0000 (14:16 +0000)]
use isinstance

16 years agofixed test for all platforms
Tarek Ziadé [Sun, 10 May 2009 12:36:48 +0000 (12:36 +0000)]
fixed test for all platforms

16 years agonow using EnvironGuard everywhere
Tarek Ziadé [Sun, 10 May 2009 12:17:30 +0000 (12:17 +0000)]
now using EnvironGuard everywhere

16 years agorefactored test_sysconfig so it uses test.test_support.EnvironmentVarGuard
Tarek Ziadé [Sun, 10 May 2009 11:59:30 +0000 (11:59 +0000)]
refactored test_sysconfig so it uses test.test_support.EnvironmentVarGuard

16 years agoAdded tests form install_lib and pep8-fied the module
Tarek Ziadé [Sun, 10 May 2009 11:42:46 +0000 (11:42 +0000)]
Added tests form install_lib and pep8-fied the module

16 years agofixed #5984 and improved test coverage
Tarek Ziadé [Sun, 10 May 2009 10:12:08 +0000 (10:12 +0000)]
fixed #5984 and improved test coverage

16 years agomake sure files are closed using the with statement
Benjamin Peterson [Sun, 10 May 2009 02:29:00 +0000 (02:29 +0000)]
make sure files are closed using the with statement

16 years agoclose file explicitly
Benjamin Peterson [Sun, 10 May 2009 01:38:02 +0000 (01:38 +0000)]
close file explicitly

16 years agoclear error state properly
Benjamin Peterson [Sat, 9 May 2009 19:18:36 +0000 (19:18 +0000)]
clear error state properly

16 years agodon't ignore exceptions from _PyObject_LengthHint
Benjamin Peterson [Sat, 9 May 2009 19:17:59 +0000 (19:17 +0000)]
don't ignore exceptions from _PyObject_LengthHint

16 years agoignore AttributeErrors for classic classes
Benjamin Peterson [Sat, 9 May 2009 19:03:05 +0000 (19:03 +0000)]
ignore AttributeErrors for classic classes

16 years ago*sigh* deal with instances correctly
Benjamin Peterson [Sat, 9 May 2009 17:23:03 +0000 (17:23 +0000)]
*sigh* deal with instances correctly

16 years agocan't handle classic classes here
Benjamin Peterson [Sat, 9 May 2009 17:13:10 +0000 (17:13 +0000)]
can't handle classic classes here

16 years agoignore classic classes
Benjamin Peterson [Sat, 9 May 2009 16:51:51 +0000 (16:51 +0000)]
ignore classic classes

16 years agoconvert some more special methods to use _PyObject_LookupSpecial
Benjamin Peterson [Sat, 9 May 2009 16:36:39 +0000 (16:36 +0000)]
convert some more special methods to use _PyObject_LookupSpecial

16 years agoIssue #5971: StreamHandler.handleError now swallows IOErrors which occur when trying...
Vinay Sajip [Sat, 9 May 2009 12:07:17 +0000 (12:07 +0000)]
Issue #5971: StreamHandler.handleError now swallows IOErrors which occur when trying to print a traceback.

16 years ago#5976: fixed distutils test_check_environ
Tarek Ziadé [Sat, 9 May 2009 10:06:00 +0000 (10:06 +0000)]
#5976: fixed distutils test_check_environ

16 years agoFixed Issue 5900: distutils.command.build_ext - Ensure RUNPATH is added to extension...
Tarek Ziadé [Sat, 9 May 2009 08:28:53 +0000 (08:28 +0000)]
Fixed Issue 5900: distutils.command.build_ext - Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used

16 years agolookup __reversed__ correctly as a special method
Benjamin Peterson [Sat, 9 May 2009 02:07:04 +0000 (02:07 +0000)]
lookup __reversed__ correctly as a special method

16 years agoMerged revisions 72491-72493 via svnmerge from
Benjamin Peterson [Sat, 9 May 2009 01:01:14 +0000 (01:01 +0000)]
Merged revisions 72491-72493 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r72491 | benjamin.peterson | 2009-05-08 19:33:27 -0500 (Fri, 08 May 2009) | 7 lines

  make 2to3 use unicode internally on 2.x

  This started out as a fix for #2660, but became this large refactoring
  when I realized the dire state this was in. 2to3 now uses
  tokenize.detect_encoding to decode the files correctly into unicode.
........
  r72492 | benjamin.peterson | 2009-05-08 19:35:38 -0500 (Fri, 08 May 2009) | 1 line

  remove compat code
........
  r72493 | benjamin.peterson | 2009-05-08 19:54:15 -0500 (Fri, 08 May 2009) | 1 line

  add a test for \r\n newlines
........

16 years agoFix an off by one error on negative indexs to __getitem__
Gregory P. Smith [Fri, 8 May 2009 23:16:47 +0000 (23:16 +0000)]
Fix an off by one error on negative indexs to __getitem__
http://code.google.com/p/ipaddr-py/issues/detail?id=15

16 years agoIssue 5954, PyFrame_GetLineNumber:
Jeffrey Yasskin [Fri, 8 May 2009 22:23:21 +0000 (22:23 +0000)]
Issue 5954, PyFrame_GetLineNumber:
Most uses of PyCode_Addr2Line
(http://www.google.com/codesearch?q=PyCode_Addr2Line) are just trying to get
the line number of a specified frame, but there's no way to do that directly.
Forcing people to go through the code object makes them know more about the
guts of the interpreter than they should need.

The remaining uses of PyCode_Addr2Line seem to be getting the line from a
traceback (for example,
http://www.google.com/codesearch/p?hl=en#u_9_nDrchrw/pygame-1.7.1release/src/base.c&q=PyCode_Addr2Line),
which is replaced by the tb_lineno field.  So we may be able to deprecate
PyCode_Addr2Line entirely for external use.

16 years agoPyCode_NewEmpty:
Jeffrey Yasskin [Fri, 8 May 2009 21:51:06 +0000 (21:51 +0000)]
PyCode_NewEmpty:
Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New
are trying to build an empty code object, usually to put it in a dummy frame
object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify
just the filename, function name, and first line number, instead of also
requiring lots of code internals.

16 years agoIssue #5933: Fix gcc -Wextra compiler warnings (and remove some
Mark Dickinson [Fri, 8 May 2009 20:58:08 +0000 (20:58 +0000)]
Issue #5933: Fix gcc -Wextra compiler warnings (and remove some
trailing whitespace).

16 years agoAdd a file that contains diffs between offical libffi files and the
Thomas Heller [Fri, 8 May 2009 20:09:40 +0000 (20:09 +0000)]
Add a file that contains diffs between offical libffi files and the
files in this repository.  Should make it easier to merge new libffi
versions.

16 years agofix this test
Benjamin Peterson [Fri, 8 May 2009 17:59:29 +0000 (17:59 +0000)]
fix this test

16 years agoUpdate the Windows locale mapping with the ones introduced with Vista.
Jeroen Ruigrok van der Werven [Fri, 8 May 2009 14:11:23 +0000 (14:11 +0000)]
Update the Windows locale mapping with the ones introduced with Vista.

16 years agoAdd ISO-8859-16.
Jeroen Ruigrok van der Werven [Fri, 8 May 2009 13:07:39 +0000 (13:07 +0000)]
Add ISO-8859-16.

16 years agoFix name.
Georg Brandl [Fri, 8 May 2009 12:17:34 +0000 (12:17 +0000)]
Fix name.

16 years agothis is now a bound method
Benjamin Peterson [Fri, 8 May 2009 03:29:26 +0000 (03:29 +0000)]
this is now a bound method

16 years agoadd _PyObject_LookupSpecial to handle fetching special method lookup
Benjamin Peterson [Fri, 8 May 2009 03:06:00 +0000 (03:06 +0000)]
add _PyObject_LookupSpecial to handle fetching special method lookup

16 years ago#4351: more appropriate DeprecationWarning stacklevels
Philip Jenvey [Fri, 8 May 2009 02:28:39 +0000 (02:28 +0000)]
#4351: more appropriate DeprecationWarning stacklevels

16 years agofixed AR/ARFLAGS values in test_sysconfig
Tarek Ziadé [Thu, 7 May 2009 23:01:56 +0000 (23:01 +0000)]
fixed AR/ARFLAGS values in test_sysconfig

16 years agorun autoconf (step forgotten in r72445)
Tarek Ziadé [Thu, 7 May 2009 22:19:27 +0000 (22:19 +0000)]
run autoconf (step forgotten in r72445)

16 years agoFixed #5941: added ARFLAGS for the archiver command.
Tarek Ziadé [Thu, 7 May 2009 21:20:34 +0000 (21:20 +0000)]
Fixed #5941: added ARFLAGS for the archiver command.

16 years agoremoved remaining spaces
Tarek Ziadé [Thu, 7 May 2009 21:13:02 +0000 (21:13 +0000)]
removed remaining spaces

16 years agoFixed wording for formatting integers: precision is not allowed.
Eric Smith [Thu, 7 May 2009 19:36:09 +0000 (19:36 +0000)]
Fixed wording for formatting integers: precision is not allowed.

16 years agoPre-opened test file needs to be opened in binary mode.
R. David Murray [Thu, 7 May 2009 18:09:58 +0000 (18:09 +0000)]
Pre-opened test file needs to be opened in binary mode.

16 years agoNews item for Issue5955.
R. David Murray [Thu, 7 May 2009 16:29:19 +0000 (16:29 +0000)]
News item for Issue5955.

16 years agoIssue5955: aifc's close method did not close the file it wrapped,
R. David Murray [Thu, 7 May 2009 16:27:02 +0000 (16:27 +0000)]
Issue5955: aifc's close method did not close the file it wrapped,
now it does.  This also means getfp method now returns the real fp.

16 years agoactually close files instead of leaving it to the gc #5955
Benjamin Peterson [Thu, 7 May 2009 11:45:38 +0000 (11:45 +0000)]
actually close files instead of leaving it to the gc #5955

16 years agoRevert inappropriate doc change.
R. David Murray [Thu, 7 May 2009 01:43:57 +0000 (01:43 +0000)]
Revert inappropriate doc change.

16 years agoDocument how to pass a 'decode' argument to get_payload when
R. David Murray [Thu, 7 May 2009 01:39:25 +0000 (01:39 +0000)]
Document how to pass a 'decode' argument to get_payload when
is_multipart is False.

16 years agoRemove two dead links
Andrew M. Kuchling [Wed, 6 May 2009 22:54:19 +0000 (22:54 +0000)]
Remove two dead links

16 years agoAdd NEWS entry about issue #3739.
Walter Dörwald [Wed, 6 May 2009 14:32:35 +0000 (14:32 +0000)]
Add NEWS entry about issue #3739.

16 years agoIssue 3739: The unicode-internal encoder now reports the number of *characters*
Walter Dörwald [Wed, 6 May 2009 14:28:24 +0000 (14:28 +0000)]
Issue 3739: The unicode-internal encoder now reports the number of *characters*
consumed like any other encoder (instead of the number of bytes).

16 years agoBe more explicit about the error we are catching.
Jeroen Ruigrok van der Werven [Wed, 6 May 2009 13:16:36 +0000 (13:16 +0000)]
Be more explicit about the error we are catching.

Requested by: Antoine Pitrou

16 years agoremoved string.split usage
Tarek Ziadé [Wed, 6 May 2009 08:11:00 +0000 (08:11 +0000)]
removed string.split usage

16 years agomore build_clib cleanup + test coverage
Tarek Ziadé [Wed, 6 May 2009 08:05:47 +0000 (08:05 +0000)]
more build_clib cleanup + test coverage

16 years agopep8-fied build_clib module : it is now similar to the one in 3.x
Tarek Ziadé [Wed, 6 May 2009 07:41:53 +0000 (07:41 +0000)]
pep8-fied build_clib module : it is now similar to the one in 3.x

16 years agoAdded a test and cleaned check_library_list to be ready to fix #5940
Tarek Ziadé [Wed, 6 May 2009 07:17:52 +0000 (07:17 +0000)]
Added a test and cleaned check_library_list to be ready to fix #5940

16 years agoWrap getpreferredencoding()'s use of setlocale in a try/except to prevent
Jeroen Ruigrok van der Werven [Wed, 6 May 2009 05:25:42 +0000 (05:25 +0000)]
Wrap getpreferredencoding()'s use of setlocale in a try/except to prevent
us from raising an exception when the locale is invalid.

Issue #1443504

16 years agoMerged revisions 68503,68507,68694,69054,69673,69679-69681,70991,70999,71003,71695...
Benjamin Peterson [Tue, 5 May 2009 23:13:58 +0000 (23:13 +0000)]
Merged revisions 68503,68507,68694,69054,69673,69679-69681,70991,70999,71003,71695 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r68503 | benjamin.peterson | 2009-01-10 14:14:49 -0600 (Sat, 10 Jan 2009) | 1 line

  use variable
........
  r68507 | benjamin.peterson | 2009-01-10 15:13:16 -0600 (Sat, 10 Jan 2009) | 1 line

  rewrap
........
  r68694 | benjamin.peterson | 2009-01-17 17:55:59 -0600 (Sat, 17 Jan 2009) | 1 line

  test for specific node type
........
  r69054 | guilherme.polo | 2009-01-28 10:01:54 -0600 (Wed, 28 Jan 2009) | 2 lines

  Added mapping for the ttk module.
........
  r69673 | benjamin.peterson | 2009-02-16 09:38:22 -0600 (Mon, 16 Feb 2009) | 1 line

  fix handling of as imports #5279
........
  r69679 | benjamin.peterson | 2009-02-16 11:36:06 -0600 (Mon, 16 Feb 2009) | 1 line

  make Base.get_next_sibling() and Base.get_prev_sibling() properties
........
  r69680 | benjamin.peterson | 2009-02-16 11:41:48 -0600 (Mon, 16 Feb 2009) | 1 line

  normalize docstrings in pytree according to PEP 11
........
  r69681 | benjamin.peterson | 2009-02-16 11:43:09 -0600 (Mon, 16 Feb 2009) | 1 line

  use a set
........
  r70991 | benjamin.peterson | 2009-04-01 15:54:50 -0500 (Wed, 01 Apr 2009) | 1 line

  map urllib.urlopen to urllib.request.open #5637
........
  r70999 | benjamin.peterson | 2009-04-01 17:36:47 -0500 (Wed, 01 Apr 2009) | 1 line

  add very alpha support to 2to3 for running concurrently with multiprocessing
........
  r71003 | benjamin.peterson | 2009-04-01 18:10:43 -0500 (Wed, 01 Apr 2009) | 1 line

  fix when multiprocessing is not available or used
........
  r71695 | benjamin.peterson | 2009-04-17 22:21:29 -0500 (Fri, 17 Apr 2009) | 1 line

  refactor multiprocessing support, so it's less hacky to employ and only loads mp when needed
........

16 years agotabify :(
Benjamin Peterson [Tue, 5 May 2009 23:00:48 +0000 (23:00 +0000)]
tabify :(

16 years agoIssue #5721: don't package Lib/test/README anymore.
Martin v. Löwis [Tue, 5 May 2009 22:13:01 +0000 (22:13 +0000)]
Issue #5721: don't package Lib/test/README anymore.

16 years agofix running test_capi with -R ::
Benjamin Peterson [Tue, 5 May 2009 21:09:21 +0000 (21:09 +0000)]
fix running test_capi with -R ::

Also, fix a refleak in the test that was preventing running. :)

16 years agoFix Issue #4875: find_library can return directories instead of files
Thomas Heller [Tue, 5 May 2009 18:55:47 +0000 (18:55 +0000)]
Fix Issue #4875: find_library can return directories instead of files
(on win32)

16 years agoIssue #5920: Changed format.__float__ and complex.__float__ to use a precision of...
Eric Smith [Tue, 5 May 2009 18:26:08 +0000 (18:26 +0000)]
Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson.

16 years agoIssue #5933: Fix some gcc -Wextra warnings. Thanks Victor Stinner for
Mark Dickinson [Tue, 5 May 2009 17:41:47 +0000 (17:41 +0000)]
Issue #5933: Fix some gcc -Wextra warnings.  Thanks Victor Stinner for
the patch.

16 years agoFixing issue5861 - test_urllib fails on windows. Agree to comment to have ':' in...
Senthil Kumaran [Tue, 5 May 2009 17:34:42 +0000 (17:34 +0000)]
Fixing issue5861 - test_urllib fails on windows. Agree to comment to have ':' in pathname2url as windows recognizes it. test_urllib passes now.

16 years agoIssue #5847: Remove -n switch on "Edit with IDLE" menu item.
Martin v. Löwis [Tue, 5 May 2009 16:10:16 +0000 (16:10 +0000)]
Issue #5847: Remove -n switch on "Edit with IDLE" menu item.

16 years agoRemove unused variable.
Georg Brandl [Tue, 5 May 2009 09:20:52 +0000 (09:20 +0000)]
Remove unused variable.

16 years ago#5929: fix signedness warning.
Georg Brandl [Tue, 5 May 2009 09:19:43 +0000 (09:19 +0000)]
#5929: fix signedness warning.

16 years agoFix overlong lines.
Georg Brandl [Tue, 5 May 2009 09:06:02 +0000 (09:06 +0000)]
Fix overlong lines.

16 years ago#5142: add module skipping feature to pdb.
Georg Brandl [Tue, 5 May 2009 08:54:11 +0000 (08:54 +0000)]
#5142: add module skipping feature to pdb.

16 years agoAdd a news entry for r72319.
Georg Brandl [Tue, 5 May 2009 08:30:28 +0000 (08:30 +0000)]
Add a news entry for r72319.

16 years ago#1309567: fix linecache behavior of stripping subdirectories from paths when looking...
Georg Brandl [Tue, 5 May 2009 08:28:49 +0000 (08:28 +0000)]
#1309567: fix linecache behavior of stripping subdirectories from paths when looking for relative filename matches. Also add a linecache test suite.

16 years ago#5932: fix error return in _convertPyInt_AsSsize_t() conversion function.
Georg Brandl [Tue, 5 May 2009 07:48:12 +0000 (07:48 +0000)]
#5932: fix error return in _convertPyInt_AsSsize_t() conversion function.

16 years agoUpdate bdist_msi so that the generated MSIs for pure Python modules can install to...
Steven Bethard [Tue, 5 May 2009 01:31:22 +0000 (01:31 +0000)]
Update bdist_msi so that the generated MSIs for pure Python modules can install to any version of Python, like the generated EXEs from bdist_wininst. (Previously, you had to create a new MSI for each version of Python.)

16 years agousing sys._getframe(x), where x > 0 doesnt' work on IronPython
Benjamin Peterson [Tue, 5 May 2009 00:55:24 +0000 (00:55 +0000)]
using sys._getframe(x), where x > 0 doesnt' work on IronPython

16 years agoFix issue 5890: (property subclass shadows __doc__ string) by inserting
R. David Murray [Mon, 4 May 2009 22:16:24 +0000 (22:16 +0000)]
Fix issue 5890: (property subclass shadows __doc__ string) by inserting
the __doc__ into the subclass instance __dict__.  The fix refactors
property_copy to call property_init in such a way that the __doc__
logic is re-executed correctly when getter_doc is 1, thus simplifying
property_copy.

16 years agoIssue #5692: In :class:`zipfile.Zipfile`, fix wrong path calculation when extracting...
Antoine Pitrou [Mon, 4 May 2009 21:17:17 +0000 (21:17 +0000)]
Issue #5692: In :class:`zipfile.Zipfile`, fix wrong path calculation when extracting a file to the root directory.

16 years ago#5916, 5917: small socket doc improvements.
Georg Brandl [Mon, 4 May 2009 20:49:17 +0000 (20:49 +0000)]
#5916, 5917: small socket doc improvements.

16 years ago#5927, 5928: typos.
Georg Brandl [Mon, 4 May 2009 20:45:13 +0000 (20:45 +0000)]
#5927, 5928: typos.

16 years ago#5925: fix highlighting of keyword table.
Georg Brandl [Mon, 4 May 2009 20:42:08 +0000 (20:42 +0000)]
#5925: fix highlighting of keyword table.

16 years agoAdd Nick Barnes to ACKS.
Antoine Pitrou [Mon, 4 May 2009 18:32:50 +0000 (18:32 +0000)]
Add Nick Barnes to ACKS.

16 years agoIssue #4426: The UTF-7 decoder was too strict and didn't accept some legal sequences.
Antoine Pitrou [Mon, 4 May 2009 18:32:32 +0000 (18:32 +0000)]
Issue #4426: The UTF-7 decoder was too strict and didn't accept some legal sequences.
Patch by Nick Barnes and Victor Stinner.

16 years agoFix typos.
Walter Dörwald [Mon, 4 May 2009 16:03:03 +0000 (16:03 +0000)]
Fix typos.

16 years agoIssue #5913: os.listdir() should fail for empty path on windows.
Hirokazu Yamamoto [Mon, 4 May 2009 05:28:39 +0000 (05:28 +0000)]
Issue #5913: os.listdir() should fail for empty path on windows.

16 years agocleanup applied patch to match style that is already in py3k branch.
Gregory P. Smith [Mon, 4 May 2009 00:48:41 +0000 (00:48 +0000)]
cleanup applied patch to match style that is already in py3k branch.

16 years agoIssue #4751: For hashlib algorithms provided by OpenSSL, the Python
Gregory P. Smith [Mon, 4 May 2009 00:16:49 +0000 (00:16 +0000)]
Issue #4751: For hashlib algorithms provided by OpenSSL, the Python
GIL is now released during computation on data lengths >= 2048 bytes.

16 years agoThere's no %A in Python 2.x!
Walter Dörwald [Sun, 3 May 2009 22:46:07 +0000 (22:46 +0000)]
There's no %A in Python 2.x!

16 years agoIssue #5108: Handle %s like %S and %R in PyUnicode_FromFormatV(): Call
Walter Dörwald [Sun, 3 May 2009 22:36:33 +0000 (22:36 +0000)]
Issue #5108: Handle %s like %S and %R in PyUnicode_FromFormatV(): Call
PyUnicode_DecodeUTF8() once, remember the result and output it in a second
step. This avoids problems with counting UTF-8 bytes that ignores the effect
of using the replace error handler in PyUnicode_DecodeUTF8().

16 years agoDon't use PyOS_strnicmp for NaN and Inf detection: it's locale-aware.
Mark Dickinson [Sun, 3 May 2009 22:33:34 +0000 (22:33 +0000)]
Don't use PyOS_strnicmp for NaN and Inf detection: it's locale-aware.

16 years agoEliminate some locale-dependent calls to isspace and tolower.
Mark Dickinson [Sun, 3 May 2009 20:59:48 +0000 (20:59 +0000)]
Eliminate some locale-dependent calls to isspace and tolower.

16 years agoRemove unnecessary uses of context in PyGetSetDef. See issue #5880.
Mark Dickinson [Sun, 3 May 2009 20:39:06 +0000 (20:39 +0000)]
Remove unnecessary uses of context in PyGetSetDef.  See issue #5880.