Commit Graph

44517 Commits

Author SHA1 Message Date
Benjamin Peterson a1864f3717 pep 7 actually wants the brace on a new line 2010-11-20 23:05:39 +00:00
Benjamin Peterson d57bb55c7d fix two broken tests 2010-11-20 23:03:34 +00:00
Benjamin Peterson 8d16ab3c56 merge all range tests into test_range 2010-11-20 23:01:55 +00:00
Benjamin Peterson 94ab7a0864 enable test that was commented out for whatever reason 2010-11-20 22:50:04 +00:00
Benjamin Peterson 155614b104 code style and simplification 2010-11-20 22:44:32 +00:00
Georg Brandl 7e5343b882 Add error handling in range_count. 2010-11-20 22:40:10 +00:00
Benjamin Peterson 0b458d52f9 count() should return integers #10474 2010-11-20 22:35:41 +00:00
Éric Araujo 2e579f0a87 Fix typos and style in compileall. 2010-11-20 21:53:02 +00:00
R. David Murray 8b9f0c5a10 Fix email doc update I overlooked (thanks, Éric) 2010-11-20 21:28:24 +00:00
R. David Murray 650f147298 #10453: compileall now uses argparse instead of getopt, so -h works.
Patch by Michele Orrù.
2010-11-20 21:18:51 +00:00
Antoine Pitrou a78f74ce02 Issue #8078: Add constants for higher baud rates in the termios module.
Patch by Rodolpho Eckhardt.
2010-11-20 20:03:08 +00:00
Georg Brandl 74abf6f873 #9724: add nonlocal to pydoc topics. 2010-11-20 19:54:36 +00:00
Antoine Pitrou 5a96b5241f Issue #10255: Fix reference leak in Py_InitializeEx(). Patch by Neil
Schemenauer.
2010-11-20 19:50:57 +00:00
Éric Araujo e7606649b3 Add entry for r86601 2010-11-20 19:37:28 +00:00
Antoine Pitrou b85b3afad0 In 3.x, bytearray is akin to bytes, not str. 2010-11-20 19:36:05 +00:00
Éric Araujo ff1144eb34 Fix two NameErrors in distutils (#10407) 2010-11-20 19:35:27 +00:00
Benjamin Peterson b1cb105bde revert changes in inappropiate branch 2010-11-20 19:09:08 +00:00
Ezio Melotti b3aedd4862 #9424: Replace deprecated assert* methods in the Python test suite. 2010-11-20 19:04:17 +00:00
Benjamin Peterson b8bc439b20 don't shadow globals 2010-11-20 18:24:54 +00:00
Alexander Belopolsky 44454afbe3 Issue #10371: Deprecated undocumented functions in the trace module. 2010-11-20 18:21:07 +00:00
Benjamin Peterson 5f78040057 add filename to ENOENT message #4925 2010-11-20 18:07:52 +00:00
Michael Foord c610e3e55e Addition of issue 9926 to NEWS 2010-11-20 17:50:34 +00:00
Benjamin Peterson fa73555cfc correct logic when pos is after the string #10467 2010-11-20 17:24:04 +00:00
Michael Foord 6bcfadec07 Improve unittest.TestLoader.discover docstring 2010-11-20 17:22:21 +00:00
Benjamin Peterson 5c41787f13 add space 2010-11-20 17:22:13 +00:00
Benjamin Peterson 72288d4f3c code style 2010-11-20 17:21:08 +00:00
Senthil Kumaran 5e703cf32b Fix issue10377 - Output from pstats - it is just secs (i.e, wallclock time) and not CPU time. 2010-11-20 17:02:50 +00:00
Michael Foord 35184edd3d Issue 9732: __class__ no longer checked on objects by getattr_static 2010-11-20 16:58:30 +00:00
Michael Foord e516265bbc Issue 9732: fetch the method resolution order from the type metaclass directly in getattr_static 2010-11-20 16:40:44 +00:00
R. David Murray 6bb9989ae3 #1574217: only swallow AttributeErrors in isinstance, not everything.
Patch and tests by Brian Harring, with improvements by Ralf Schmitt.
2010-11-20 16:33:30 +00:00
Łukasz Langa f149e45a4e removed a NEWS entry that cloned itself in mysterious circumstances 2010-11-20 16:24:30 +00:00
Michael Foord cc7ebb8f69 Issue 9732: remove use of __class__ in inspect.getattr_static and note the mro exception to code execution 2010-11-20 16:20:16 +00:00
Łukasz Langa 45ec426157 acknowledge configparser evolution 2010-11-20 16:16:24 +00:00
Łukasz Langa c264c098d0 configparser: the name of the DEFAULT section is now customizable 2010-11-20 16:15:37 +00:00
Michael Foord b357fb7bed Issue 10326: further extend test for unpickling to ensure type lookup mechanism works after unpickling 2010-11-20 15:47:56 +00:00
Michael Foord 8a00eec2a8 Issue 10326: extend test for pickling of TestCase instances to ensure they can be unpickled too 2010-11-20 15:43:02 +00:00
Michael Foord 8ca6d9884b Issue 10326: TestCase instances can now be pickled (they store names of instance methods instead of references to the instance methods themselves). 2010-11-20 15:34:26 +00:00
R. David Murray e5db2636f3 Improve TestBytesGeneratorIdempotent using by using linesep.
Also corrects a typo from a previous commit.  Unfortunately
this does *not* fix issue #10134.
2010-11-20 15:10:13 +00:00
Michael Foord 95fc51dfda Issue 9732: addition of getattr_static to the inspect module 2010-11-20 15:07:30 +00:00
Georg Brandl 89197fe93c socket.gethostbyname(socket.gethostname()) can fail when host name resolution is not set up correctly; do not fail test_socket if this is the case. 2010-11-20 14:16:17 +00:00
Georg Brandl cd6bb26fa7 #10460: an even better indent.pro. 2010-11-20 14:08:53 +00:00
Georg Brandl bab3378f36 #10439: document PyCodec C APIs. 2010-11-20 13:44:41 +00:00
Georg Brandl b6b74a7123 #10460: Update indent.pro to match PEP 7 better. 2010-11-20 11:47:10 +00:00
Georg Brandl 9f1c1dcde3 #10465: fix broken delegation in __getattr__ of _PaddedFile. 2010-11-20 11:25:01 +00:00
Mark Dickinson 4ccc137aff Issue #9920: Skip tests for cmath.atan and cmath.atanh applied to
complex zeros on systems where the log1p function fails to respect
the sign of zero.  This fixes a test failure on AIX.
2010-11-20 11:08:27 +00:00
Mark Dickinson 6646cd45be Issue #10325: Fix two issues in the fallback definitions of PY_LLONG_MAX and
PY_ULLONG_MAX in pyport.h.  Thanks Hallvard B Furuseth for the patch.
2010-11-20 10:43:10 +00:00
Mark Dickinson ec0d355836 Regenerated configure and pyconfig.h.in. 2010-11-20 10:29:12 +00:00
Georg Brandl 54445adfd3 Fix rst markup errors. 2010-11-20 10:24:34 +00:00
Ezio Melotti 75b2a5ee11 Use correct markup for True/False/None 2010-11-20 10:13:45 +00:00
Mark Dickinson 7edecdd222 Add configure-time test for log1p disrespecting zero sign. 2010-11-20 10:09:56 +00:00