Commit Graph

3420 Commits

Author SHA1 Message Date
Brian Curtin f991642efe Fix #6378. Start IDLE using the proper version of Python based on the directory
tree that idle.bat resides in.

Works with any/all versions of Python installed concurrently.
2010-11-21 23:45:10 +00:00
Michael Foord 086f30815c Issue 10470: 'python -m unittest' launches test discovery by default.(If you need to pass options to test discovery the discover subcommand must still be specified explicitly.) 2010-11-21 21:28:01 +00:00
Senthil Kumaran e4dad4f8e2 Fix issue3709 - BaseHTTPRequestHandler will buffer the headers and write only on end_headers call. 2010-11-21 14:36:14 +00:00
Raymond Hettinger d325c4b233 Revert r86517 2010-11-21 04:08:28 +00:00
Nick Coghlan e0f04659cd Issue #10220: Add inspect.getgeneratorstate(). Initial patch by Rodolpho Eckhardt 2010-11-21 03:44:04 +00:00
Benjamin Peterson 0b458d52f9 count() should return integers #10474 2010-11-20 22:35:41 +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
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
Ezio Melotti b3aedd4862 #9424: Replace deprecated assert* methods in the Python test suite. 2010-11-20 19:04:17 +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
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
Łukasz Langa 45ec426157 acknowledge configparser evolution 2010-11-20 16:16:24 +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
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 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
Georg Brandl 54445adfd3 Fix rst markup errors. 2010-11-20 10:24:34 +00:00
Benjamin Peterson 5b066817e2 use %R format code; fixes invalid dereferencing #10391 2010-11-20 01:38:49 +00:00
Stefan Krah d8b661dd90 Issue #10356: hash(Decimal("sNaN")) now raises ValueError instead of TypeError. 2010-11-18 15:20:34 +00:00
Alexander Belopolsky 9a4030ee75 Issue #10446 NEWS entry 2010-11-18 03:50:18 +00:00
Brett Cannon 0ffe6a9760 Fix a minor inconsistency in capitalization for the 'No module named' exception
message in importlib.

Thanks to Éric Araujo for spotting the inconsistency.
2010-11-18 03:03:04 +00:00
Brian Curtin 8fb9b868bd Fix #8886. Use context managers throughout the test. 2010-11-18 02:15:28 +00:00
Benjamin Peterson f609654b0e handle dict subclasses gracefully in PyArg_ValidateKeywordArguments 2010-11-17 22:33:12 +00:00
David Malcolm 82e73cb951 Issue #9518: Extend the PyModuleDef_HEAD_INIT macro to explicitly
zero-initialize all fields, fixing compiler warnings seen when building
extension modules with gcc with "-Wmissing-field-initializers" (implied
by "-W")
2010-11-17 21:20:18 +00:00
Antoine Pitrou 664c2d1fc0 Issue #10443: Add the SSLContext.set_default_verify_paths() method. 2010-11-17 20:29:42 +00:00
Antoine Pitrou b6d4ee5361 Issue #10440: Support RUSAGE_THREAD as a constant in the resource module.
Patch by Robert Collins.
2010-11-17 16:19:35 +00:00
Stefan Krah dc817b229c Issue #10356: Decimal(-1).__hash__() should equal hash(Decimal(-1)). 2010-11-17 11:16:34 +00:00
Antoine Pitrou dbe7519da9 Issue #10429: IMAP.starttls() stored the capabilities as bytes objects,
rather than strings.
2010-11-16 17:55:26 +00:00
Georg Brandl 9b0034d040 Post-release bumps. 2010-11-16 15:15:56 +00:00
Vinay Sajip 8593ae6451 Logging: added stack_info argument. 2010-11-14 21:33:04 +00:00
Georg Brandl 4fbc0d8baa Minor edits. 2010-11-13 13:25:40 +00:00
Senthil Kumaran 74ebd9e6a3 Fix Issue5111 - Wrap the Ipv6 host with [] in the Host header 2010-11-13 12:27:49 +00:00
Mark Dickinson fec6620dfb Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356). 2010-11-13 10:27:38 +00:00
Georg Brandl 24854cac99 Bump to 3.2a4. 2010-11-13 06:39:58 +00:00
Antoine Pitrou f3b001f966 Issue #4471: Add the IMAP.starttls() method to enable encryption on
standard IMAP4 connections.  Original patch by Lorenzo M. Catucci.
2010-11-12 18:49:16 +00:00
R. David Murray 6495136e40 #1466065: add validate option to base64.b64decode
Patch by Neil Tallim.  This provides a mechanism for module
users to achieve RFC 3548 compliance in the cases where ignoring
non-base64-alphabet input characters is *not* mandated by the RFC that
references RFC 3548.
2010-11-11 20:09:20 +00:00
Alexander Belopolsky b9d10d08c4 Issue #10386: Added __all__ to token module; this simplifies importing
in tokenize module and prevents leaking of private names through
import *.
2010-11-11 14:07:41 +00:00
Antoine Pitrou cf9f98034a Issue #10372: Import the warnings module only after the IO library is
initialized, so as to avoid bootstrap issues with the '-W' option.
2010-11-10 13:55:25 +00:00
Antoine Pitrou d79f3c8b3a Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch by
Lorenzo M. Catucci.
2010-11-09 23:10:33 +00:00
Antoine Pitrou b1436f185d Fix IMAP.login() to work properly.
Also, add remote tests for imaplib (part of #4471).
2010-11-09 22:55:55 +00:00
Ask Solem 84c29a2e16 Remove uneeded NEWS entries for minor documentation updates. 2010-11-09 22:04:16 +00:00
Ask Solem ff7ffdd752 Issue #8028: multiprocessing: Documented that ``Process.terminate``
is only intented for use by the parent process.
2010-11-09 21:52:33 +00:00