Commit Graph

42581 Commits

Author SHA1 Message Date
Benjamin Peterson 4f24767938 proxy the __exit__ call 2009-07-01 13:34:35 +00:00
R. David Murray 321afa80ba Make punctuation prettier and break up run-on sentence. 2009-07-01 02:49:10 +00:00
Benjamin Peterson 7e2801d1b5 Merged revisions 73379,73388,73507,73722 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r73379 | benjamin.peterson | 2009-06-11 18:06:21 -0500 (Thu, 11 Jun 2009) | 1 line

  use a real conditional expresion
........
  r73388 | benjamin.peterson | 2009-06-12 09:44:29 -0500 (Fri, 12 Jun 2009) | 1 line

  fix typo in last fix
........
  r73507 | benjamin.peterson | 2009-06-22 13:32:04 -0500 (Mon, 22 Jun 2009) | 1 line

  remove svn:executable property
........
  r73722 | benjamin.peterson | 2009-06-30 19:44:30 -0500 (Tue, 30 Jun 2009) | 1 line

  replace fail* with assert*
........
2009-07-01 00:49:09 +00:00
Benjamin Peterson 4d3f18f2ed fix a few cases where automated fail -> assert translation messed up
Thanks Joe Amenta
2009-07-01 00:36:41 +00:00
Benjamin Peterson 6b0032f2c3 use assert* methods in test_unittest 2009-06-30 23:30:12 +00:00
Benjamin Peterson 5c8da86f3a convert usage of fail* to assert* 2009-06-30 22:57:08 +00:00
Ezio Melotti be96cf608f Fixed a backslash that was not supposed to be there 2009-06-30 22:56:16 +00:00
Ezio Melotti c2f5a595ba Fixed defaultTestCase -> defaultTestResult 2009-06-30 22:51:06 +00:00
Benjamin Peterson 31f42ab254 provide a dummy __exit__ on windows 2009-06-30 22:14:33 +00:00
Jesse Noller 1b90efbdc5 Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes 2009-06-30 17:11:52 +00:00
Georg Brandl 0c9eb43149 #6371: fix link targets. 2009-06-30 16:35:11 +00:00
Georg Brandl 3cd0bedc13 #6384: Add a heading for the exception hierarchy. 2009-06-30 16:18:55 +00:00
Georg Brandl 0d8649a1c9 #6374: add a bit of explanation about shell=True on Windows. 2009-06-30 16:17:28 +00:00
Georg Brandl 3d5c87a23c #6376: fix copy-n-paste oversight. 2009-06-30 16:15:43 +00:00
Mark Dickinson 2f865b962c Issue #6347: Add inttypes.h to the pyport.h #includes; fixes a build
failure on HP-UX 11.00.
2009-06-30 15:32:30 +00:00
Raymond Hettinger 5dfc7f9fc8 Issue 6370: Performance issue with collections.Counter(). 2009-06-29 19:10:29 +00:00
Jesse Noller 34116922d3 Issue 5740: multiprocessing.connection.* authkey fixes 2009-06-29 18:24:26 +00:00
Jesse Noller d4792cd84e Bug 5906: add a documentation note for unix daemons vs. multiprocessing daemons 2009-06-29 18:20:34 +00:00
Tarek Ziadé 3fbcc60eb8 Fixed 6365: wrong inplace location for build_ext if the extension had dots 2009-06-29 16:13:39 +00:00
Hirokazu Yamamoto 5c3dd9a1ee Issue #6368: Fixed unused variable warning on Unix. 2009-06-29 15:52:21 +00:00
Georg Brandl e323e0e91a Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython sprint. 2009-06-29 14:44:49 +00:00
Hirokazu Yamamoto 99ebc63f49 Fixed NEWS. 2009-06-29 14:29:31 +00:00
Antoine Pitrou 79c3bd80ed Backport fix for buglet from py3k 2009-06-29 14:14:56 +00:00
Hirokazu Yamamoto 8839fd7372 Issue #6344: Fixed a crash of mmap.read() when passed a negative argument.
Reviewed by Amaury Forgeot d'Arc.
2009-06-29 13:25:16 +00:00
Hirokazu Yamamoto bcff47a6ec Issue #4856: Py_GetFileAttributesEx[AW] are not needed because GetFileAttributesEx[AW]
won't fail with ERROR_CALL_NOT_IMPLEMENTED on win NT.
Reviewed by Amaury Forgeot d'Arc.
2009-06-29 11:27:03 +00:00
Benjamin Peterson 8e7b476945 update to sphinx 0.6.2 2009-06-29 03:30:55 +00:00
Alexandre Vassalotti 7274cffa9e Update docstrings for sys.getdlopenflags() and sys.setdlopenflags(). 2009-06-29 01:01:51 +00:00
Mark Dickinson 1dcc38456f Remove unused stdint.h includes 2009-06-28 22:37:13 +00:00
Mark Dickinson 11c4941b54 More Decimal quote fixing; backport of r73642 2009-06-28 21:48:15 +00:00
Kristján Valur Jónsson e007860b8b http://bugs.python.org/issue6267
Cumulative patch to http and xmlrpc
2009-06-28 21:04:17 +00:00
Benjamin Peterson 552e7a7e2f return locals and cells in get_locals() not bound globals, though 2009-06-28 19:27:55 +00:00
Benjamin Peterson 8f7b94eae9 use stack macros 2009-06-28 16:14:07 +00:00
Benjamin Peterson b8338ab92c add two generic macros for peeking and setting in the stack 2009-06-28 16:08:02 +00:00
Martin v. Löwis 741e6998f8 Fix types in logic to compute help file name. 2009-06-28 12:24:23 +00:00
Georg Brandl a4c622972a Remove stray pychecker directive. 2009-06-28 12:10:18 +00:00
Hirokazu Yamamoto a3c5609079 Issue #4856: Remove checks for win NT. 2009-06-28 10:23:00 +00:00
Martin v. Löwis ecb4f953dd Issue 5390: Add uninstall icon independent of whether file
extensions are installed.
2009-06-28 09:32:39 +00:00
Ezio Melotti b4ad395d07 Fixed a wrong apostrophe 2009-06-28 00:07:45 +00:00
Ezio Melotti 1dfd5d9f78 stmt and setup can contain multiple statements, see #5896 2009-06-27 23:45:39 +00:00
Benjamin Peterson 00a58c3574 link to extensive generator docs in the reference manual 2009-06-27 14:16:23 +00:00
Benjamin Peterson f36bebd06f document is_declared_global() 2009-06-26 23:37:06 +00:00
Benjamin Peterson f511fcc743 mark 3.1 as stable docs 2009-06-26 16:49:06 +00:00
Gregory P. Smith 2662733bce Fixes the last problem mentioned in issue1202. 2009-06-26 07:50:21 +00:00
Amaury Forgeot d'Arc 595f7a5bf9 #2016 Fix a crash in function call when the **kwargs dictionary is mutated
during the function call setup.

This even gives a slight speedup, probably because tuple allocation
is faster than PyMem_NEW.
2009-06-25 22:29:29 +00:00
Amaury Forgeot d'Arc ca69bb90cb Fix a compilation warning on Windows 2009-06-25 21:29:32 +00:00
R. David Murray 1666f19317 Issue 6340: update by Gregor Lingl of his tdemo_chaos demo program.
Functionally equivalent, clearer code, English comments.
2009-06-25 17:29:39 +00:00
R. David Murray 5c3d40e0f3 Add a couple of missing function alias declarations to the turtle docs. 2009-06-25 14:21:06 +00:00
Kristján Valur Jónsson f1d11efb72 http://bugs.python.org/issue6192
Move the newly introduced disable_nagle_algorithm flag into the StreamRequestHandler, where it is more appropriate.
2009-06-24 09:17:04 +00:00
Georg Brandl 5a85d5c4f2 #6332: fix word dupes throughout the source. 2009-06-24 06:41:19 +00:00
Raymond Hettinger 6c860f97d7 Add procedural note. 2009-06-23 22:20:04 +00:00