]>
granicus.if.org Git - python/log
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
Benjamin Peterson [Tue, 14 Oct 2008 22:37:18 +0000 (22:37 +0000)]
remove set compat cruft
Amaury Forgeot d'Arc [Tue, 14 Oct 2008 21:47:22 +0000 (21:47 +0000)]
#4122: On Windows, Py_UNICODE_ISSPACE cannot be used in an extension module:
compilation fails with "undefined reference to _Py_ascii_whitespace"
Will backport to 2.6.
Benjamin Peterson [Mon, 13 Oct 2008 21:51:40 +0000 (21:51 +0000)]
document how to disable fixers
Martin v. Löwis [Mon, 13 Oct 2008 11:23:35 +0000 (11:23 +0000)]
Issue #4018: Disable "for me" installations on Vista.
Benjamin Peterson [Sat, 11 Oct 2008 17:25:36 +0000 (17:25 +0000)]
give poplib a real test suite
#4088 from Giampaolo Rodola'x
Benjamin Peterson [Fri, 10 Oct 2008 22:23:41 +0000 (22:23 +0000)]
PyGILState_Acquire -> PyGILState_Ensure
Benjamin Peterson [Fri, 10 Oct 2008 20:51:37 +0000 (20:51 +0000)]
talk about how you can unzip with zip
Benjamin Peterson [Fri, 10 Oct 2008 20:38:49 +0000 (20:38 +0000)]
fix a small typo
Armin Rigo [Fri, 10 Oct 2008 08:40:44 +0000 (08:40 +0000)]
Typo: "ThreadError" is the name in the C source.
Matthias Klose [Fri, 10 Oct 2008 07:24:20 +0000 (07:24 +0000)]
- Makefile.pre.in(PROFILE_TASK): search files in srcdir
Benjamin Peterson [Thu, 9 Oct 2008 20:54:43 +0000 (20:54 +0000)]
update paragraph about __future__ for 2.6
Hirokazu Yamamoto [Thu, 9 Oct 2008 10:11:21 +0000 (10:11 +0000)]
r66862 contained memory leak.
Hirokazu Yamamoto [Thu, 9 Oct 2008 10:00:30 +0000 (10:00 +0000)]
On windows, os.chdir given unicode was not working if GetCurrentDirectoryW
returned a path longer than MAX_PATH. (But It's doubtful this code path is
really executed because I cannot move to such directory on win2k)
Benjamin Peterson [Wed, 8 Oct 2008 21:11:33 +0000 (21:11 +0000)]
quiet sphinx warnings
Georg Brandl [Wed, 8 Oct 2008 18:57:13 +0000 (18:57 +0000)]
Make all whatsnew docs accessible.
Georg Brandl [Wed, 8 Oct 2008 18:47:17 +0000 (18:47 +0000)]
#3935: properly support list subclasses in the C impl. of bisect.
Patch reviewed by Raymond.
Georg Brandl [Wed, 8 Oct 2008 17:30:55 +0000 (17:30 +0000)]
#4058: fix some whatsnew markup.
Georg Brandl [Wed, 8 Oct 2008 17:20:20 +0000 (17:20 +0000)]
#4059: patch up some sqlite docs.
Andrew M. Kuchling [Wed, 8 Oct 2008 13:21:27 +0000 (13:21 +0000)]
Note how bytes alias is expected to be used
Amaury Forgeot d'Arc [Tue, 7 Oct 2008 20:32:10 +0000 (20:32 +0000)]
#4069: aSet.remove(otherSet) would always report the empty frozenset([]) as the missing key.
Now it correctly refers to the initial otherset.
Reviewed by Raymond. Will backport to 2.6.
Hirokazu Yamamoto [Tue, 7 Oct 2008 18:10:47 +0000 (18:10 +0000)]
more intensive test on dbm.
Skip Montanaro [Tue, 7 Oct 2008 15:03:40 +0000 (15:03 +0000)]
save/restore stdout/stderr instead of relying on __*__ versions
Skip Montanaro [Tue, 7 Oct 2008 02:02:00 +0000 (02:02 +0000)]
Pay attention to -R entries in LDFLAGS.
Skip Montanaro [Tue, 7 Oct 2008 01:55:20 +0000 (01:55 +0000)]
Simplify individual tests by defining setUp and tearDown methods.
Brett Cannon [Mon, 6 Oct 2008 22:44:37 +0000 (22:44 +0000)]
Add the 'patchcheck' build target to .PHONY.
Re-closes issue 3758. Thanks to Ralph Corderoy for the catch.
Martin v. Löwis [Mon, 6 Oct 2008 15:15:40 +0000 (15:15 +0000)]
Issue #4014: Don't claim that Python has an Alpha release status, in addition
to claiming it is Mature.
Andrew M. Kuchling [Mon, 6 Oct 2008 12:07:04 +0000 (12:07 +0000)]
Per Greg Ward, optparse is no longer being externally maintained.
I'll look at the bugs in the Optik bug tracker and copy them to the Python bug
tracker if they're still relevant.