Hirokazu Yamamoto
b9828f67b8
Issue #3774 : Fixed an error when create a Tkinter menu item without command
...
and then remove it. Written by Guilherme Polo (gpolo).
2008-11-03 18:03:06 +00:00
Benjamin Peterson
6624a9fddd
#4048 make the parser module accept relative imports as valid
2008-11-03 15:14:51 +00:00
Benjamin Peterson
8928a7e911
rephrase has_key doc
2008-10-31 20:41:44 +00:00
Benjamin Peterson
dcee09d920
make sure the parser flags and passed onto the compiler
...
This fixes "from __future__ import unicode_literals" in an exec statment
See #4225
2008-10-31 02:16:05 +00:00
Benjamin Peterson
44a90c95ce
move unprefixed error into .c file
2008-10-30 23:59:18 +00:00
Benjamin Peterson
d79af0fc52
finish backporting binary literals and new octal literals docs
2008-10-30 22:44:18 +00:00
Benjamin Peterson
b5f8208b49
backport bin() documentation
2008-10-30 22:39:25 +00:00
Christian Heimes
ab5f879022
Issue #4237 : io.FileIO() was raising invalid warnings caused by insufficient initialization of PyFileIOObject struct members.
2008-10-30 21:26:15 +00:00
Amaury Forgeot d'Arc
69a9c5b539
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.
2008-10-30 21:18:34 +00:00
Thomas Heller
1fac5a4505
Fixed a modulefinder crash on certain relative imports.
2008-10-30 20:18:13 +00:00
Amaury Forgeot d'Arc
9f616f48ca
Correct error message in io.open():
...
closefd=True is the only accepted value with a file name.
2008-10-29 23:15:57 +00:00
Benjamin Peterson
b06b4c342f
mention the version gettempdir() was added
2008-10-29 20:33:00 +00:00
Armin Rigo
581eb1e498
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().
2008-10-28 17:01:21 +00:00
Benjamin Peterson
260f5bae70
add forgotten test for r67030
2008-10-26 20:33:19 +00:00
Benjamin Peterson
bdca942ffc
fix __future__ imports when multiple features are given
2008-10-26 20:21:13 +00:00
Benjamin Peterson
adc93b9499
don't use a catch-all
2008-10-25 23:27:07 +00:00
Georg Brandl
7fb00ad1be
Typo fix.
2008-10-25 07:00:52 +00:00
Benjamin Peterson
399b1fe8df
give a py3k warning when 'nonlocal' is used as a variable name
2008-10-25 02:53:28 +00:00
Benjamin Peterson
c756dcdd60
only nonempty __slots__ don't work
2008-10-23 21:43:48 +00:00
Walter Dörwald
611e48c1bb
Use the correct names of the stateless codec functions (Fixes issue 4178).
2008-10-23 13:11:39 +00:00
Hirokazu Yamamoto
592c275567
Issue #4183 : Some tests didn't run with pickle.HIGHEST_PROTOCOL.
2008-10-23 00:37:33 +00:00
Benjamin Peterson
c18574c98e
fix #4150 : pdb's up command didn't work for generators in post-mortem
2008-10-22 21:16:34 +00:00
Benjamin Peterson
cd29e9d9e1
and another typo...
2008-10-22 21:05:30 +00:00
Benjamin Peterson
92be53911d
fix a few typos
2008-10-22 20:57:43 +00:00
Benjamin Peterson
e4dc175474
add NEWs note for last change
2008-10-21 22:20:31 +00:00
Benjamin Peterson
4d9b0cd409
return ArgInfo from inspect.getargvalues #4092
2008-10-21 22:18:29 +00:00
Amaury Forgeot d'Arc
fbc0b0ca29
#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...
2008-10-21 22:01:38 +00:00
Benjamin Peterson
77c2f93663
make sure to call iteritems()
2008-10-21 20:51:13 +00:00
Matthias Klose
015c84b389
- install versioned manpage
2008-10-21 09:12:25 +00:00
Armin Ronacher
297ddcd823
Fixed #4062 , added import for _ast.__version__ to ast to match the documented behavior.
2008-10-20 21:29:08 +00:00
Benjamin Peterson
f3d0ce1502
mention -n
2008-10-19 19:39:16 +00:00
Benjamin Peterson
aff36f1295
fix compiler warning
2008-10-19 13:59:01 +00:00
Armin Ronacher
35e01fbeaa
Fixed #4067 by implementing _attributes and _fields for the AST root node.
2008-10-19 08:27:43 +00:00
Georg Brandl
92b70bcc6e
Fix duplicate word.
2008-10-17 21:41:49 +00:00
Benjamin Peterson
c2f144079f
clarify CALL_FUNCTION #4141
2008-10-17 20:01:01 +00:00
Martin v. Löwis
0f3e7697dc
Issue #4091 : Install pythonxy.dll in system32 again.
2008-10-17 13:43:01 +00:00
Benjamin Peterson
336680ecea
fix more possible ref leaks in _json and use Py_CLEAR
2008-10-16 21:48:06 +00:00
Georg Brandl
865cd640bb
#4083 : add "as" to except handler grammar as per PEP 3110.
2008-10-16 21:38:48 +00:00
Georg Brandl
19cc944e45
part of #4012 : kill off old name "processing".
2008-10-16 21:36:39 +00:00
Benjamin Peterson
87e6ad290b
fix possible ref leak
2008-10-16 21:27:54 +00:00
Georg Brandl
0a6b28ae6a
#4131 : FF3 doesn't write cookies.txt files.
2008-10-16 21:20:15 +00:00
Benjamin Peterson
595e3cbb3d
check for error conditions in _json #3623
2008-10-16 21:09:28 +00:00
Georg Brandl
eaede315d1
Add more TOC to the whatsnew index page.
2008-10-16 20:20:56 +00:00
Andrew M. Kuchling
e529165ee3
Fix wording (2.6.1 backport candidate)
2008-10-16 20:15:47 +00:00
Benjamin Peterson
b76444b2fa
use new showwarnings signature for idle #3391
2008-10-16 19:40:14 +00:00
Benjamin Peterson
5c4e006367
document that deque indexing is O(n) #4123
2008-10-16 18:52:14 +00:00
Hirokazu Yamamoto
61376409a9
removed unused _PyUnicode_FromFileSystemEncodedObject.
...
made win32_chdir, win32_wchdir static.
2008-10-16 06:25:25 +00:00
Benjamin Peterson
6ae94ee299
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
........
2008-10-15 23:10:28 +00:00
Benjamin Peterson
1fb84519b1
add a much requested newline
2008-10-15 21:58:46 +00:00
Benjamin Peterson
9dc0a639bd
support the optional line argument for idle
2008-10-15 21:05:55 +00:00