]>
granicus.if.org Git - python/log
Christian Heimes [Fri, 28 Nov 2008 19:33:33 +0000 (19:33 +0000)]
Retain copyright of processing examples. This was requested by a Debian maintainer during packaging of the multiprocessing package for 2.4/2.5
Jesse Noller [Fri, 28 Nov 2008 18:59:35 +0000 (18:59 +0000)]
issue4238: bsd support for cpu_count
Jesse Noller [Fri, 28 Nov 2008 18:22:54 +0000 (18:22 +0000)]
mp docs - fix issues 4012,3518,4193
Christian Heimes [Fri, 28 Nov 2008 11:02:32 +0000 (11:02 +0000)]
Fixed issue ##3741: DISTUTILS_USE_SDK set causes msvc9compiler.py to raise an exception
Matthias Klose [Thu, 27 Nov 2008 10:14:22 +0000 (10:14 +0000)]
- Modules/Setup.dist: Update _elementtree, add _bisect, datetime
Matthias Klose [Thu, 27 Nov 2008 07:45:25 +0000 (07:45 +0000)]
- Modules/Setup.dist: Update pyexpat
Benjamin Peterson [Wed, 26 Nov 2008 17:39:17 +0000 (17:39 +0000)]
fix typo in sqlite3 docs
Matthias Klose [Wed, 26 Nov 2008 17:32:49 +0000 (17:32 +0000)]
- Modules/Setup.dist: Mention _elementtree and _pickle.
Benjamin Peterson [Tue, 25 Nov 2008 04:07:45 +0000 (04:07 +0000)]
Merged revisions 67183,67191,67371 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r67183 | benjamin.peterson | 2008-11-10 21:51:33 -0600 (Mon, 10 Nov 2008) | 1 line
handle 'import x as y' in fix_imports; this still needs more work...
........
r67191 | benjamin.peterson | 2008-11-11 17:24:51 -0600 (Tue, 11 Nov 2008) | 1 line
super() is good
........
r67371 | benjamin.peterson | 2008-11-24 16:02:00 -0600 (Mon, 24 Nov 2008) | 1 line
don't blow up in the metaclass fixer when assignments in the class statement aren't simple
........
Benjamin Peterson [Tue, 25 Nov 2008 03:43:14 +0000 (03:43 +0000)]
always check the return value of NEW_IDENTIFIER
Jeremy Hylton [Mon, 24 Nov 2008 22:00:29 +0000 (22:00 +0000)]
Add unittests that verify documented behavior of public methods in Transport
class.
These methods can be overridden. The tests verify that the overridden
methods are called, and that changes to the connection have a visible
effect on the request.
Georg Brandl [Mon, 24 Nov 2008 19:56:47 +0000 (19:56 +0000)]
#4404: make clear what "path" is.
Georg Brandl [Mon, 24 Nov 2008 16:16:07 +0000 (16:16 +0000)]
Fix typo.
Benjamin Peterson [Mon, 24 Nov 2008 04:09:03 +0000 (04:09 +0000)]
#4396 make the parser module correctly validate the with syntax
Benjamin Peterson [Mon, 24 Nov 2008 01:16:29 +0000 (01:16 +0000)]
replace reference to debugger-hooks
Gregory P. Smith [Mon, 24 Nov 2008 00:41:43 +0000 (00:41 +0000)]
Document PY_SSIZE_T_CLEAN for PyArg_ParseTuple.
Georg Brandl [Sun, 23 Nov 2008 21:57:30 +0000 (21:57 +0000)]
#4399: fix typo.
Georg Brandl [Sun, 23 Nov 2008 19:17:25 +0000 (19:17 +0000)]
#4392: fix parameter name.
Matthias Klose [Sun, 23 Nov 2008 13:54:42 +0000 (13:54 +0000)]
- Fix typo in last checkin
Matthias Klose [Sun, 23 Nov 2008 13:37:03 +0000 (13:37 +0000)]
- Modules/Setup.dist: Mention _functools in section "Modules that should
always be present (non UNIX dependent)"
Benjamin Peterson [Sun, 23 Nov 2008 02:09:41 +0000 (02:09 +0000)]
raise a better error
Amaury Forgeot d'Arc [Sat, 22 Nov 2008 20:01:18 +0000 (20:01 +0000)]
#3996: On Windows, PyOS_CheckStack is supposed to protect the interpreter from
stack overflow. But doing this, it always crashes when the stack is nearly full.
Reviewed by Martin von Loewis. Will backport to 2.6.
Amaury Forgeot d'Arc [Sat, 22 Nov 2008 19:39:38 +0000 (19:39 +0000)]
yuvconvert.c is a part of the "sv" module, an old IRIX thing
and certainly not useful for any Windows build.
Georg Brandl [Sat, 22 Nov 2008 10:08:50 +0000 (10:08 +0000)]
Fix error about "-*-" being mandatory in coding cookies.
Georg Brandl [Sat, 22 Nov 2008 08:45:33 +0000 (08:45 +0000)]
Fix typo.
Georg Brandl [Sat, 22 Nov 2008 08:34:14 +0000 (08:34 +0000)]
#4364: fix attribute name on ctypes object.
Benjamin Peterson [Sat, 22 Nov 2008 01:59:15 +0000 (01:59 +0000)]
backport r67325: make FileIO.mode always contain 'b'
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