]>
granicus.if.org Git - python/log
Benjamin Peterson [Fri, 21 Nov 2008 22:27:24 +0000 (22:27 +0000)]
don't segfault when \N escapes are used and unicodedata fails to load
Fixes #4367
Amaury Forgeot d'Arc [Fri, 21 Nov 2008 22:05:48 +0000 (22:05 +0000)]
#4363: Let uuid.uuid1() and uuid.uuid4() run even if the ctypes module is not present.
Will backport to 2.6
Amaury Forgeot d'Arc [Thu, 20 Nov 2008 23:34:31 +0000 (23:34 +0000)]
Fixed issue #4233.
Changed semantic of _fileio.FileIO's close() method on file objects with closefd=False.
The file descriptor is still kept open but the file object behaves like a closed file.
The FileIO object also got a new readonly attribute closefd.
Approved by Barry
Backport of r67106 from the py3k branch
Benjamin Peterson [Thu, 20 Nov 2008 22:06:22 +0000 (22:06 +0000)]
backport r67300
Benjamin Peterson [Thu, 20 Nov 2008 21:44:23 +0000 (21:44 +0000)]
oops! didn't mean to disable that test
Benjamin Peterson [Thu, 20 Nov 2008 21:25:31 +0000 (21:25 +0000)]
fix indentation and a sphinx warning
Benjamin Peterson [Thu, 20 Nov 2008 04:05:12 +0000 (04:05 +0000)]
move useful sys.settrace information to the function's documentation from the debugger
Benjamin Peterson [Wed, 19 Nov 2008 21:49:09 +0000 (21:49 +0000)]
make sure that bytearray methods return a new bytearray even if there is no change
Fixes #4348
Reviewed by Brett
Brett Cannon [Wed, 19 Nov 2008 20:29:39 +0000 (20:29 +0000)]
Ignore .pyc and .pyo files.
Josiah Carlson [Wed, 19 Nov 2008 18:26:12 +0000 (18:26 +0000)]
Fix for issue 4332 in trunk.
Martin v. Löwis [Wed, 19 Nov 2008 13:51:44 +0000 (13:51 +0000)]
Issue #4289: Remove Cancel button from AdvancedDlg.
Martin v. Löwis [Wed, 19 Nov 2008 09:09:41 +0000 (09:09 +0000)]
Issue #4116: Resolve member name conflict in ScrolledCanvas.__init__
Georg Brandl [Wed, 19 Nov 2008 07:59:09 +0000 (07:59 +0000)]
Try to fix problems with verbatim.
Skip Montanaro [Wed, 19 Nov 2008 03:35:41 +0000 (03:35 +0000)]
patch from issue 1108
Amaury Forgeot d'Arc [Tue, 18 Nov 2008 22:19:37 +0000 (22:19 +0000)]
#4317: Fix an Array Bounds Read in imageop.rgb2rgb8.
Will backport to 2.4.
Benjamin Peterson [Mon, 17 Nov 2008 22:39:09 +0000 (22:39 +0000)]
when __getattr__ is a descriptor, call it correctly; fixes #4230
patch from Ziga Seilnacht
Benjamin Peterson [Mon, 17 Nov 2008 22:05:19 +0000 (22:05 +0000)]
improve __hash__ docs
Benjamin Peterson [Mon, 17 Nov 2008 21:39:05 +0000 (21:39 +0000)]
a few fixes on the download page
Benjamin Peterson [Sun, 16 Nov 2008 17:54:55 +0000 (17:54 +0000)]
run autoconf
Georg Brandl [Sun, 16 Nov 2008 08:00:17 +0000 (08:00 +0000)]
#4316: fix configure.in markup problem.
Brett Cannon [Sat, 15 Nov 2008 22:40:44 +0000 (22:40 +0000)]
The docs for httplib.HTTPConnection.putheader() have claimed for quite a while
that their could be an arbitrary number of values passed in. Turns out the code
did not match that. The code now matches the docs.
Brett Cannon [Sat, 15 Nov 2008 22:33:25 +0000 (22:33 +0000)]
Clarify the docs for the 'strict' argument to httplib.HTTPConnection.
Georg Brandl [Sat, 15 Nov 2008 08:10:04 +0000 (08:10 +0000)]
#4324: fix getlocale() argument.
Benjamin Peterson [Tue, 11 Nov 2008 21:56:06 +0000 (21:56 +0000)]
use correct name
Benjamin Peterson [Mon, 10 Nov 2008 22:11:12 +0000 (22:11 +0000)]
Merged revisions 66985,67170,67173,67177-67179 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r66985 | benjamin.peterson | 2008-10-20 16:43:46 -0500 (Mon, 20 Oct 2008) | 1 line
no need to use nested try, except, finally
........
r67170 | benjamin.peterson | 2008-11-08 12:28:31 -0600 (Sat, 08 Nov 2008) | 1 line
fix #4271: fix_imports didn't recognize imports with parenthesis (ie from x import (a, b))
........
r67173 | benjamin.peterson | 2008-11-08 17:42:08 -0600 (Sat, 08 Nov 2008) | 1 line
consolidate test
........
r67177 | benjamin.peterson | 2008-11-09 21:52:52 -0600 (Sun, 09 Nov 2008) | 1 line
let the metclass fixer handle complex assignments in the class body gracefully
........
r67178 | benjamin.peterson | 2008-11-10 15:26:43 -0600 (Mon, 10 Nov 2008) | 1 line
the metaclass fixers shouldn't die when bases are not a simple name
........
r67179 | benjamin.peterson | 2008-11-10 15:29:58 -0600 (Mon, 10 Nov 2008) | 1 line
allow the fix_import pattern to catch from imports with parenthesis
........
Benjamin Peterson [Sun, 9 Nov 2008 01:52:32 +0000 (01:52 +0000)]
fix comment
Benjamin Peterson [Sun, 9 Nov 2008 01:44:32 +0000 (01:44 +0000)]
update link
Benjamin Peterson [Sat, 8 Nov 2008 18:38:54 +0000 (18:38 +0000)]
check for assignment to __debug__ during AST generation
Also, give assignment to None a better error message
Benjamin Peterson [Sat, 8 Nov 2008 17:07:06 +0000 (17:07 +0000)]
clarify what was added
Benjamin Peterson [Sat, 8 Nov 2008 17:04:18 +0000 (17:04 +0000)]
move context clue to versionchanged tag
Benjamin Peterson [Sat, 8 Nov 2008 16:55:33 +0000 (16:55 +0000)]
a few compile() and ast doc improvements
Georg Brandl [Sat, 8 Nov 2008 12:52:25 +0000 (12:52 +0000)]
Fix warning.
Georg Brandl [Sat, 8 Nov 2008 11:48:20 +0000 (11:48 +0000)]
Update "Documenting" a bit. Concentrate on Python-specifics.
Georg Brandl [Sat, 8 Nov 2008 11:47:44 +0000 (11:47 +0000)]
Don't use "HOWTO" as the title for all howto .tex files.
Hirokazu Yamamoto [Sat, 8 Nov 2008 03:46:17 +0000 (03:46 +0000)]
Issue #4071: ntpath.abspath returned an empty string for long unicode path.
Martin v. Löwis [Fri, 7 Nov 2008 18:51:50 +0000 (18:51 +0000)]
Issue #
1656675 : Register a drop handler for .py* files on Windows.
Georg Brandl [Fri, 7 Nov 2008 08:27:39 +0000 (08:27 +0000)]
Fix syntax.
Martin v. Löwis [Thu, 6 Nov 2008 19:46:03 +0000 (19:46 +0000)]
Stop including fake manifest file in DLLs directory.
Andrew M. Kuchling [Thu, 6 Nov 2008 19:23:02 +0000 (19:23 +0000)]
Fix grammar error; reword two paragraphs
Georg Brandl [Thu, 6 Nov 2008 18:49:15 +0000 (18:49 +0000)]
#4247: add "pass" examples to tutorial.
Martin v. Löwis [Thu, 6 Nov 2008 16:43:00 +0000 (16:43 +0000)]
Issue #4120: Exclude manifest from extension modules in VS2008.
Georg Brandl [Thu, 6 Nov 2008 10:20:49 +0000 (10:20 +0000)]
#4245: move Thread section to the top.
Georg Brandl [Thu, 6 Nov 2008 10:19:11 +0000 (10:19 +0000)]
#4267: small fixes in sqlite3 docs.
Georg Brandl [Thu, 6 Nov 2008 10:17:58 +0000 (10:17 +0000)]
#4268: Use correct module for two toplevel functions.
Georg Brandl [Tue, 4 Nov 2008 20:49:35 +0000 (20:49 +0000)]
#4167: fix markup glitches.
Martin v. Löwis [Tue, 4 Nov 2008 20:40:09 +0000 (20:40 +0000)]
Issue #4204: Fixed module build errors on FreeBSD 4.
Benjamin Peterson [Mon, 3 Nov 2008 22:34:57 +0000 (22:34 +0000)]
move a FileIO test to test_fileio
Benjamin Peterson [Mon, 3 Nov 2008 20:43:20 +0000 (20:43 +0000)]
clarify by splitting into multiple paragraphs
Hirokazu Yamamoto [Mon, 3 Nov 2008 18:03:06 +0000 (18:03 +0000)]
Issue #3774: Fixed an error when create a Tkinter menu item without command
and then remove it. Written by Guilherme Polo (gpolo).
Benjamin Peterson [Mon, 3 Nov 2008 15:14:51 +0000 (15:14 +0000)]
#4048 make the parser module accept relative imports as valid
Benjamin Peterson [Fri, 31 Oct 2008 20:41:44 +0000 (20:41 +0000)]
rephrase has_key doc
Benjamin Peterson [Fri, 31 Oct 2008 02:16:05 +0000 (02:16 +0000)]
make sure the parser flags and passed onto the compiler
This fixes "from __future__ import unicode_literals" in an exec statment
See #4225
Benjamin Peterson [Thu, 30 Oct 2008 23:59:18 +0000 (23:59 +0000)]
move unprefixed error into .c file
Benjamin Peterson [Thu, 30 Oct 2008 22:44:18 +0000 (22:44 +0000)]
finish backporting binary literals and new octal literals docs
Benjamin Peterson [Thu, 30 Oct 2008 22:39:25 +0000 (22:39 +0000)]
backport bin() documentation
Christian Heimes [Thu, 30 Oct 2008 21:26:15 +0000 (21:26 +0000)]
Issue #4237: io.FileIO() was raising invalid warnings caused by insufficient initialization of PyFileIOObject struct members.
Amaury Forgeot d'Arc [Thu, 30 Oct 2008 21:18:34 +0000 (21:18 +0000)]
Issue #4176: Pickle would crash the interpreter when a __reduce__ function
does not return an iterator for the 4th and 5th items.
(sequence-like and mapping-like state)
A list is not an iterator...
Will backport to 2.6 and 2.5.
Thomas Heller [Thu, 30 Oct 2008 20:18:13 +0000 (20:18 +0000)]
Fixed a modulefinder crash on certain relative imports.
Amaury Forgeot d'Arc [Wed, 29 Oct 2008 23:15:57 +0000 (23:15 +0000)]
Correct error message in io.open():
closefd=True is the only accepted value with a file name.
Benjamin Peterson [Wed, 29 Oct 2008 20:33:00 +0000 (20:33 +0000)]
mention the version gettempdir() was added
Armin Rigo [Tue, 28 Oct 2008 17:01:21 +0000 (17:01 +0000)]
Fix one of the tests: it relied on being present in an "output test" in
order to actually test what it was supposed to test, i.e. that the code
in the __del__ method did not crash. Use instead the new helper
test_support.captured_output().
Benjamin Peterson [Sun, 26 Oct 2008 20:33:19 +0000 (20:33 +0000)]
add forgotten test for r67030
Benjamin Peterson [Sun, 26 Oct 2008 20:21:13 +0000 (20:21 +0000)]
fix __future__ imports when multiple features are given
Benjamin Peterson [Sat, 25 Oct 2008 23:27:07 +0000 (23:27 +0000)]
don't use a catch-all
Georg Brandl [Sat, 25 Oct 2008 07:00:52 +0000 (07:00 +0000)]
Typo fix.
Benjamin Peterson [Sat, 25 Oct 2008 02:53:28 +0000 (02:53 +0000)]
give a py3k warning when 'nonlocal' is used as a variable name
Benjamin Peterson [Thu, 23 Oct 2008 21:43:48 +0000 (21:43 +0000)]
only nonempty __slots__ don't work
Walter Dörwald [Thu, 23 Oct 2008 13:11:39 +0000 (13:11 +0000)]
Use the correct names of the stateless codec functions (Fixes issue 4178).
Hirokazu Yamamoto [Thu, 23 Oct 2008 00:37:33 +0000 (00:37 +0000)]
Issue #4183: Some tests didn't run with pickle.HIGHEST_PROTOCOL.
Benjamin Peterson [Wed, 22 Oct 2008 21:16:34 +0000 (21:16 +0000)]
fix #4150: pdb's up command didn't work for generators in post-mortem
Benjamin Peterson [Wed, 22 Oct 2008 21:05:30 +0000 (21:05 +0000)]
and another typo...
Benjamin Peterson [Wed, 22 Oct 2008 20:57:43 +0000 (20:57 +0000)]
fix a few typos
Benjamin Peterson [Tue, 21 Oct 2008 22:20:31 +0000 (22:20 +0000)]
add NEWs note for last change
Benjamin Peterson [Tue, 21 Oct 2008 22:18:29 +0000 (22:18 +0000)]
return ArgInfo from inspect.getargvalues #4092
Amaury Forgeot d'Arc [Tue, 21 Oct 2008 22:01:38 +0000 (22:01 +0000)]
#4157 move two test functions out of platform.py.
Turn them into unit tests, and correct an obvious typo:
(("a", "b") ("c", "d") ("e", "f"))
compiles even with the missing commas, but does not execute very well...
Benjamin Peterson [Tue, 21 Oct 2008 20:51:13 +0000 (20:51 +0000)]
make sure to call iteritems()
Matthias Klose [Tue, 21 Oct 2008 09:12:25 +0000 (09:12 +0000)]
- install versioned manpage
Armin Ronacher [Mon, 20 Oct 2008 21:29:08 +0000 (21:29 +0000)]
Fixed #4062, added import for _ast.__version__ to ast to match the documented behavior.
Benjamin Peterson [Sun, 19 Oct 2008 19:39:16 +0000 (19:39 +0000)]
mention -n
Benjamin Peterson [Sun, 19 Oct 2008 13:59:01 +0000 (13:59 +0000)]
fix compiler warning
Armin Ronacher [Sun, 19 Oct 2008 08:27:43 +0000 (08:27 +0000)]
Fixed #4067 by implementing _attributes and _fields for the AST root node.
Georg Brandl [Fri, 17 Oct 2008 21:41:49 +0000 (21:41 +0000)]
Fix duplicate word.
Benjamin Peterson [Fri, 17 Oct 2008 20:01:01 +0000 (20:01 +0000)]
clarify CALL_FUNCTION #4141
Martin v. Löwis [Fri, 17 Oct 2008 13:43:01 +0000 (13:43 +0000)]
Issue #4091: Install pythonxy.dll in system32 again.
Benjamin Peterson [Thu, 16 Oct 2008 21:48:06 +0000 (21:48 +0000)]
fix more possible ref leaks in _json and use Py_CLEAR
Georg Brandl [Thu, 16 Oct 2008 21:38:48 +0000 (21:38 +0000)]
#4083: add "as" to except handler grammar as per PEP 3110.
Georg Brandl [Thu, 16 Oct 2008 21:36:39 +0000 (21:36 +0000)]
part of #4012: kill off old name "processing".
Benjamin Peterson [Thu, 16 Oct 2008 21:27:54 +0000 (21:27 +0000)]
fix possible ref leak
Georg Brandl [Thu, 16 Oct 2008 21:20:15 +0000 (21:20 +0000)]
#4131: FF3 doesn't write cookies.txt files.
Benjamin Peterson [Thu, 16 Oct 2008 21:09:28 +0000 (21:09 +0000)]
check for error conditions in _json #3623
Georg Brandl [Thu, 16 Oct 2008 20:20:56 +0000 (20:20 +0000)]
Add more TOC to the whatsnew index page.
Andrew M. Kuchling [Thu, 16 Oct 2008 20:15:47 +0000 (20:15 +0000)]
Fix wording (2.6.1 backport candidate)
Benjamin Peterson [Thu, 16 Oct 2008 19:40:14 +0000 (19:40 +0000)]
use new showwarnings signature for idle #3391
Benjamin Peterson [Thu, 16 Oct 2008 18:52:14 +0000 (18:52 +0000)]
document that deque indexing is O(n) #4123
Hirokazu Yamamoto [Thu, 16 Oct 2008 06:25:25 +0000 (06:25 +0000)]
removed unused _PyUnicode_FromFileSystemEncodedObject.
made win32_chdir, win32_wchdir static.
Benjamin Peterson [Wed, 15 Oct 2008 23:10:28 +0000 (23:10 +0000)]
Merged revisions 66805,66841,66860,66884-66886,66893,66907,66910 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r66805 | benjamin.peterson | 2008-10-04 20:11:02 -0500 (Sat, 04 Oct 2008) | 1 line
mention what the fixes directory is for
........
r66841 | benjamin.peterson | 2008-10-07 17:48:12 -0500 (Tue, 07 Oct 2008) | 1 line
use assertFalse and assertTrue
........
r66860 | benjamin.peterson | 2008-10-08 16:05:07 -0500 (Wed, 08 Oct 2008) | 1 line
instead of abusing the pattern matcher, use start_tree to find a next binding
........
r66884 | benjamin.peterson | 2008-10-13 15:50:30 -0500 (Mon, 13 Oct 2008) | 1 line
don't print tokens to stdout when -v is given
........
r66885 | benjamin.peterson | 2008-10-13 16:28:57 -0500 (Mon, 13 Oct 2008) | 1 line
add the -x option to disable fixers
........
r66886 | benjamin.peterson | 2008-10-13 16:33:53 -0500 (Mon, 13 Oct 2008) | 1 line
cut down on some crud
........
r66893 | benjamin.peterson | 2008-10-14 17:16:54 -0500 (Tue, 14 Oct 2008) | 1 line
add an optional set literal fixer
........
r66907 | benjamin.peterson | 2008-10-15 16:59:41 -0500 (Wed, 15 Oct 2008) | 1 line
don't write backup files by default
........
r66910 | benjamin.peterson | 2008-10-15 17:43:10 -0500 (Wed, 15 Oct 2008) | 1 line
add the -n option; it stops backupfiles from being written
........
Benjamin Peterson [Wed, 15 Oct 2008 21:58:46 +0000 (21:58 +0000)]
add a much requested newline
Benjamin Peterson [Wed, 15 Oct 2008 21:05:55 +0000 (21:05 +0000)]
support the optional line argument for idle
Benjamin Peterson [Wed, 15 Oct 2008 20:34:09 +0000 (20:34 +0000)]
don't recurse into directories that start with '.'
Skip Montanaro [Wed, 15 Oct 2008 11:49:10 +0000 (11:49 +0000)]
easter egg