Commit Graph

40750 Commits

Author SHA1 Message Date
Benjamin Peterson c078f929cb don't segfault when \N escapes are used and unicodedata fails to load
Fixes #4367
2008-11-21 22:27:24 +00:00
Amaury Forgeot d'Arc d42941751c #4363: Let uuid.uuid1() and uuid.uuid4() run even if the ctypes module is not present.
Will backport to 2.6
2008-11-21 22:05:48 +00:00
Amaury Forgeot d'Arc 322656596a 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
2008-11-20 23:34:31 +00:00
Benjamin Peterson ad100c3acb backport r67300 2008-11-20 22:06:22 +00:00
Benjamin Peterson d3b5a7985d oops! didn't mean to disable that test 2008-11-20 21:44:23 +00:00
Benjamin Peterson 050f4adcb4 fix indentation and a sphinx warning 2008-11-20 21:25:31 +00:00
Benjamin Peterson 5ab9c3badb move useful sys.settrace information to the function's documentation from the debugger 2008-11-20 04:05:12 +00:00
Benjamin Peterson 46cc6d1102 make sure that bytearray methods return a new bytearray even if there is no change
Fixes #4348
Reviewed by Brett
2008-11-19 21:49:09 +00:00
Brett Cannon 3b30e2c86d Ignore .pyc and .pyo files. 2008-11-19 20:29:39 +00:00
Josiah Carlson a98d72d598 Fix for issue 4332 in trunk. 2008-11-19 18:26:12 +00:00
Martin v. Löwis 6347098a26 Issue #4289: Remove Cancel button from AdvancedDlg. 2008-11-19 13:51:44 +00:00
Martin v. Löwis bb9b1f1d4a Issue #4116: Resolve member name conflict in ScrolledCanvas.__init__ 2008-11-19 09:09:41 +00:00
Georg Brandl 65e8fc7fc1 Try to fix problems with verbatim. 2008-11-19 07:59:09 +00:00
Skip Montanaro 7fb29797e3 patch from issue 1108 2008-11-19 03:35:41 +00:00
Amaury Forgeot d'Arc 7cfe7ea745 #4317: Fix an Array Bounds Read in imageop.rgb2rgb8.
Will backport to 2.4.
2008-11-18 22:19:37 +00:00
Benjamin Peterson 273c233c78 when __getattr__ is a descriptor, call it correctly; fixes #4230
patch from Ziga Seilnacht
2008-11-17 22:39:09 +00:00
Benjamin Peterson 233bb00c1c improve __hash__ docs 2008-11-17 22:05:19 +00:00
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