]>
granicus.if.org Git - python/log
Georg Brandl [Sun, 17 May 2009 08:10:27 +0000 (08:10 +0000)]
part of #4144: fix exception message in console session.
Hirokazu Yamamoto [Sun, 17 May 2009 02:58:36 +0000 (02:58 +0000)]
Added NEWS for r72698.
Hirokazu Yamamoto [Sun, 17 May 2009 02:52:09 +0000 (02:52 +0000)]
Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more.
Benjamin Peterson [Sat, 16 May 2009 23:34:19 +0000 (23:34 +0000)]
typo
Benjamin Peterson [Sat, 16 May 2009 22:46:11 +0000 (22:46 +0000)]
update
Benjamin Peterson [Sat, 16 May 2009 22:40:56 +0000 (22:40 +0000)]
completely ignore old-style stuff for type checking overloading
Benjamin Peterson [Sat, 16 May 2009 22:30:48 +0000 (22:30 +0000)]
deal with old-style classes in issubclass and isinstance
Benjamin Peterson [Sat, 16 May 2009 21:44:25 +0000 (21:44 +0000)]
properly lookup __instancecheck__ and __subclasscheck__
Benjamin Peterson [Sat, 16 May 2009 18:44:34 +0000 (18:44 +0000)]
use skipTest()
Tarek Ziadé [Sat, 16 May 2009 18:29:40 +0000 (18:29 +0000)]
pep8-fied distutils.dist module
Tarek Ziadé [Sat, 16 May 2009 16:37:06 +0000 (16:37 +0000)]
#6041: sdist and register now use the check command. No more duplicate code for metadata checking
Georg Brandl [Sat, 16 May 2009 11:24:41 +0000 (11:24 +0000)]
Fix about and bugs pages to match real workflow.
Georg Brandl [Sat, 16 May 2009 11:21:29 +0000 (11:21 +0000)]
#2856: document 2.x os.listdir() behavior for undecodable filenames.
Georg Brandl [Sat, 16 May 2009 11:18:55 +0000 (11:18 +0000)]
#6009: undocument default argument of Option as deprecated.
Georg Brandl [Sat, 16 May 2009 11:14:46 +0000 (11:14 +0000)]
#6025: fix signature of parse().
Georg Brandl [Sat, 16 May 2009 11:13:21 +0000 (11:13 +0000)]
#6034: clarify __reversed__ doc.
Antoine Pitrou [Fri, 15 May 2009 17:27:30 +0000 (17:27 +0000)]
Fix bootstrapping by removing uses of the copy module in distutils
Antoine Pitrou [Fri, 15 May 2009 16:54:52 +0000 (16:54 +0000)]
Issue #2116: Weak references and weak dictionaries now support copy()ing and deepcopy()ing.
Antoine Pitrou [Fri, 15 May 2009 11:50:29 +0000 (11:50 +0000)]
Issue #1655: Make imaplib IPv6-capable. Patch by Derek Morr.
Georg Brandl [Fri, 15 May 2009 08:03:03 +0000 (08:03 +0000)]
Fix example output for doctest-like demos.
Collin Winter [Thu, 14 May 2009 23:26:30 +0000 (23:26 +0000)]
Issue 6024: make regrtest.py promote refleaks to test failures.
Benjamin Peterson [Thu, 14 May 2009 22:40:34 +0000 (22:40 +0000)]
a useful decorator for cleaning up threads
Benjamin Peterson [Thu, 14 May 2009 22:37:49 +0000 (22:37 +0000)]
prevent refleaks from threads
Antoine Pitrou [Thu, 14 May 2009 21:48:09 +0000 (21:48 +0000)]
Issue #5918: Fix a crash in the parser module.
Patch by Amaury.
Antoine Pitrou [Thu, 14 May 2009 21:22:08 +0000 (21:22 +0000)]
Issue #1664: Make nntplib IPv6-capable. Patch by Derek Morr.
(Unfortunately, nntplib doesn't have a test suite)
Tarek Ziadé [Thu, 14 May 2009 20:14:13 +0000 (20:14 +0000)]
#6022 fixed test_get_outputs so it doesn't leaves a test file in the cwd
R. David Murray [Thu, 14 May 2009 16:12:57 +0000 (16:12 +0000)]
Fix test failure on Windows, and add skip check if even unicodedata
turns out not to be an external module on some other platform.
Tarek Ziadé [Thu, 14 May 2009 14:56:14 +0000 (14:56 +0000)]
pep8-fied distutils.command.sdist + more tests
Tarek Ziadé [Thu, 14 May 2009 12:40:59 +0000 (12:40 +0000)]
more test coverage for distutils sdist command
Benjamin Peterson [Thu, 14 May 2009 00:33:10 +0000 (00:33 +0000)]
importlib.import_module is better these days
Tarek Ziadé [Wed, 13 May 2009 22:16:03 +0000 (22:16 +0000)]
adding void to the c function
Tarek Ziadé [Wed, 13 May 2009 21:30:06 +0000 (21:30 +0000)]
added an inifoo in the C file, to avoid a warning by the MSVC9 linker
R. David Murray [Wed, 13 May 2009 17:14:11 +0000 (17:14 +0000)]
Issue #4050: inspect.findsource/getsource now raise an IOError if the 'source'
file is a binary. Patch by Brodie Rao, test by Daniel Diniz.
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.
R. David Murray [Wed, 13 May 2009 00:30:29 +0000 (00:30 +0000)]
Issue 5994: add docstrings to marshal.
Benjamin Peterson [Tue, 12 May 2009 21:06:05 +0000 (21:06 +0000)]
the compiler attribute is used in setup.py; can't rename
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
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
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
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
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.
Michael Foord [Mon, 11 May 2009 18:01:45 +0000 (18:01 +0000)]
Add missing # to NEWS
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
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.
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
Benjamin Peterson [Sun, 10 May 2009 23:52:09 +0000 (23:52 +0000)]
sys.setdefaultencoding() strikes me as a bad example
Tarek Ziadé [Sun, 10 May 2009 21:27:55 +0000 (21:27 +0000)]
fixed test_build_ext for win32
Benjamin Peterson [Sun, 10 May 2009 14:16:47 +0000 (14:16 +0000)]
use isinstance
Tarek Ziadé [Sun, 10 May 2009 12:36:48 +0000 (12:36 +0000)]
fixed test for all platforms
Tarek Ziadé [Sun, 10 May 2009 12:17:30 +0000 (12:17 +0000)]
now using EnvironGuard everywhere
Tarek Ziadé [Sun, 10 May 2009 11:59:30 +0000 (11:59 +0000)]
refactored test_sysconfig so it uses test.test_support.EnvironmentVarGuard
Tarek Ziadé [Sun, 10 May 2009 11:42:46 +0000 (11:42 +0000)]
Added tests form install_lib and pep8-fied the module
Tarek Ziadé [Sun, 10 May 2009 10:12:08 +0000 (10:12 +0000)]
fixed #5984 and improved test coverage
Benjamin Peterson [Sun, 10 May 2009 02:29:00 +0000 (02:29 +0000)]
make sure files are closed using the with statement
Benjamin Peterson [Sun, 10 May 2009 01:38:02 +0000 (01:38 +0000)]
close file explicitly
Benjamin Peterson [Sat, 9 May 2009 19:18:36 +0000 (19:18 +0000)]
clear error state properly
Benjamin Peterson [Sat, 9 May 2009 19:17:59 +0000 (19:17 +0000)]
don't ignore exceptions from _PyObject_LengthHint
Benjamin Peterson [Sat, 9 May 2009 19:03:05 +0000 (19:03 +0000)]
ignore AttributeErrors for classic classes
Benjamin Peterson [Sat, 9 May 2009 17:23:03 +0000 (17:23 +0000)]
*sigh* deal with instances correctly
Benjamin Peterson [Sat, 9 May 2009 17:13:10 +0000 (17:13 +0000)]
can't handle classic classes here
Benjamin Peterson [Sat, 9 May 2009 16:51:51 +0000 (16:51 +0000)]
ignore classic classes
Benjamin Peterson [Sat, 9 May 2009 16:36:39 +0000 (16:36 +0000)]
convert some more special methods to use _PyObject_LookupSpecial
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.
Tarek Ziadé [Sat, 9 May 2009 10:06:00 +0000 (10:06 +0000)]
#5976: fixed distutils test_check_environ
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
Benjamin Peterson [Sat, 9 May 2009 02:07:04 +0000 (02:07 +0000)]
lookup __reversed__ correctly as a special method
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
........
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
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.
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.
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).
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.
Benjamin Peterson [Fri, 8 May 2009 17:59:29 +0000 (17:59 +0000)]
fix this test
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.
Jeroen Ruigrok van der Werven [Fri, 8 May 2009 13:07:39 +0000 (13:07 +0000)]
Add ISO-8859-16.
Georg Brandl [Fri, 8 May 2009 12:17:34 +0000 (12:17 +0000)]
Fix name.
Benjamin Peterson [Fri, 8 May 2009 03:29:26 +0000 (03:29 +0000)]
this is now a bound method
Benjamin Peterson [Fri, 8 May 2009 03:06:00 +0000 (03:06 +0000)]
add _PyObject_LookupSpecial to handle fetching special method lookup
Philip Jenvey [Fri, 8 May 2009 02:28:39 +0000 (02:28 +0000)]
#4351: more appropriate DeprecationWarning stacklevels
Tarek Ziadé [Thu, 7 May 2009 23:01:56 +0000 (23:01 +0000)]
fixed AR/ARFLAGS values in test_sysconfig
Tarek Ziadé [Thu, 7 May 2009 22:19:27 +0000 (22:19 +0000)]
run autoconf (step forgotten in r72445)
Tarek Ziadé [Thu, 7 May 2009 21:20:34 +0000 (21:20 +0000)]
Fixed #5941: added ARFLAGS for the archiver command.
Tarek Ziadé [Thu, 7 May 2009 21:13:02 +0000 (21:13 +0000)]
removed remaining spaces
Eric Smith [Thu, 7 May 2009 19:36:09 +0000 (19:36 +0000)]
Fixed wording for formatting integers: precision is not allowed.
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.
R. David Murray [Thu, 7 May 2009 16:29:19 +0000 (16:29 +0000)]
News item for Issue5955.
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.
Benjamin Peterson [Thu, 7 May 2009 11:45:38 +0000 (11:45 +0000)]
actually close files instead of leaving it to the gc #5955
R. David Murray [Thu, 7 May 2009 01:43:57 +0000 (01:43 +0000)]
Revert inappropriate doc change.
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.
Andrew M. Kuchling [Wed, 6 May 2009 22:54:19 +0000 (22:54 +0000)]
Remove two dead links
Walter Dörwald [Wed, 6 May 2009 14:32:35 +0000 (14:32 +0000)]
Add NEWS entry about issue #3739.
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).
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
Tarek Ziadé [Wed, 6 May 2009 08:11:00 +0000 (08:11 +0000)]
removed string.split usage
Tarek Ziadé [Wed, 6 May 2009 08:05:47 +0000 (08:05 +0000)]
more build_clib cleanup + test coverage
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
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
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
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
........