Commit Graph

40733 Commits

Author SHA1 Message Date
Benjamin Peterson d0a05bfd68 a few fixes on the download page 2008-11-17 21:39:05 +00:00
Benjamin Peterson eac68f425a run autoconf 2008-11-16 17:54:55 +00:00
Georg Brandl 4b9bcfc98d #4316: fix configure.in markup problem. 2008-11-16 08:00:17 +00:00
Brett Cannon e3d0bf740f 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.
2008-11-15 22:40:44 +00:00
Brett Cannon 031f3fb69a Clarify the docs for the 'strict' argument to httplib.HTTPConnection. 2008-11-15 22:33:25 +00:00
Georg Brandl ee1a7da135 #4324: fix getlocale() argument. 2008-11-15 08:10:04 +00:00
Benjamin Peterson c4d39b2507 use correct name 2008-11-11 21:56:06 +00:00
Benjamin Peterson ba4d480776 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
........
2008-11-10 22:11:12 +00:00
Benjamin Peterson b7c95ce8b8 fix comment 2008-11-09 01:52:32 +00:00
Benjamin Peterson d224fc6cbc update link 2008-11-09 01:44:32 +00:00
Benjamin Peterson 2c98faada6 check for assignment to __debug__ during AST generation
Also, give assignment to None a better error message
2008-11-08 18:38:54 +00:00
Benjamin Peterson 942e4779b0 clarify what was added 2008-11-08 17:07:06 +00:00
Benjamin Peterson 728c6f6d34 move context clue to versionchanged tag 2008-11-08 17:04:18 +00:00
Benjamin Peterson d923f987d1 a few compile() and ast doc improvements 2008-11-08 16:55:33 +00:00
Georg Brandl 0d2fa3aea5 Fix warning. 2008-11-08 12:52:25 +00:00
Georg Brandl bce1f5f742 Update "Documenting" a bit. Concentrate on Python-specifics. 2008-11-08 11:48:20 +00:00
Georg Brandl 012a1ff935 Don't use "HOWTO" as the title for all howto .tex files. 2008-11-08 11:47:44 +00:00
Hirokazu Yamamoto ed29bb49f8 Issue #4071: ntpath.abspath returned an empty string for long unicode path. 2008-11-08 03:46:17 +00:00
Martin v. Löwis 3d6f8ff81f Issue #1656675: Register a drop handler for .py* files on Windows. 2008-11-07 18:51:50 +00:00
Georg Brandl 14da8e800b Fix syntax. 2008-11-07 08:27:39 +00:00
Martin v. Löwis ddd8263678 Stop including fake manifest file in DLLs directory. 2008-11-06 19:46:03 +00:00
Andrew M. Kuchling fcdc80bfd2 Fix grammar error; reword two paragraphs 2008-11-06 19:23:02 +00:00
Georg Brandl a8bb5506a6 #4247: add "pass" examples to tutorial. 2008-11-06 18:49:15 +00:00
Martin v. Löwis 692c2f8fe6 Issue #4120: Exclude manifest from extension modules in VS2008. 2008-11-06 16:43:00 +00:00
Georg Brandl 01ba86af46 #4245: move Thread section to the top. 2008-11-06 10:20:49 +00:00
Georg Brandl b9bfea712f #4267: small fixes in sqlite3 docs. 2008-11-06 10:19:11 +00:00
Georg Brandl 8986706efa #4268: Use correct module for two toplevel functions. 2008-11-06 10:17:58 +00:00
Georg Brandl ad1cb66b28 #4167: fix markup glitches. 2008-11-04 20:49:35 +00:00
Martin v. Löwis bb86d83134 Issue #4204: Fixed module build errors on FreeBSD 4. 2008-11-04 20:40:09 +00:00
Benjamin Peterson 81e92e582e move a FileIO test to test_fileio 2008-11-03 22:34:57 +00:00
Benjamin Peterson accb38c74f clarify by splitting into multiple paragraphs 2008-11-03 20:43:20 +00:00
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