Commit Graph

44947 Commits

Author SHA1 Message Date
Łukasz Langa b25a791802 configparser API cleanup: default values now sensible, slightly incompatible.
Backwards compatible alternative values possible as documented.
Done by Łukasz Langa, approved by Raymond and Fred.
2010-12-17 01:32:29 +00:00
Gregory P. Smith ed16bf4aaa assert that the regex given to assertRegex is non-empty. 2010-12-16 19:23:05 +00:00
R. David Murray 5317e9cd8d #10719: restore messages generated on invalid compileall args
Before the introduction of filename arguments to compileall it gave semi useful
messages about not being able to 'list' names that weren't valid directories.
This fix restores that behavior.  In addition to the test for this case, the
patch also adds a test for the default behavior of compileall when no arguments
are provided, and fixes a bug in one of the previously added tests.
2010-12-16 19:08:51 +00:00
Antoine Pitrou 20f0fb68aa Issue #10710: `Misc/setuid-prog.c` is removed from the source tree. 2010-12-16 18:25:24 +00:00
Antoine Pitrou c492437922 Issue #10714: Limit length of incoming request in http.server to 65536 bytes
for security reasons.  Initial patch by Ross Lagerwall.
2010-12-16 16:48:36 +00:00
Antoine Pitrou 12de8ac215 Credit Florent for porting 2010-12-16 13:33:56 +00:00
Raymond Hettinger 202717db67 Add todo for WSGI 2010-12-16 10:06:11 +00:00
Éric Araujo 930df31987 Add missing docs and directives related to PEP 3147 and byte-compilation 2010-12-16 06:28:48 +00:00
Brian Curtin ff47a133e1 EasyDialogs was removed in 3.x. fallback_getpass will always be the answer here. 2010-12-16 03:24:49 +00:00
Éric Araujo 971dc01e8a Fix one versionchanged 2010-12-16 03:13:05 +00:00
Raymond Hettinger 9743e4f616 Improve the ContextDecorator example. 2010-12-16 02:24:12 +00:00
Éric Araujo f68fa05f7b Add versionadded directive missing from r78983. 2010-12-16 02:10:11 +00:00
Łukasz Langa 1ac0d7a7d3 Acknowledged renaming of SafeConfigParser to ConfigParser. 2010-12-16 01:42:36 +00:00
Éric Araujo 1d55c7ea9b Advertise “python -m test” over test.regrtest (r87296 followup) 2010-12-16 01:40:26 +00:00
Łukasz Langa 7f64c8a512 Broken ConfigParser removed, SafeConfigParser renamed to ConfigParser.
Life is beatiful once again.
2010-12-16 01:16:22 +00:00
Raymond Hettinger bb9686f66f Thank you ispell. 2010-12-16 00:53:05 +00:00
Raymond Hettinger 48f3bd331c Nits 2010-12-16 00:30:53 +00:00
Éric Araujo 055d2e0da4 Advertise “python -m” instead of direct filename. 2010-12-16 00:23:30 +00:00
Raymond Hettinger 6046e22db3 Entries for ElementTree, collectionsm, functools and ZipFile. 2010-12-16 00:21:08 +00:00
Éric Araujo d6c5f749d8 No need to generate a link for something that’s just above. 2010-12-16 00:07:01 +00:00
Antoine Pitrou 4fef555e06 Make test_threadsignals more lax, and add notes 2010-12-15 23:38:50 +00:00
Antoine Pitrou 810023db3e Issue #8844: Regular and recursive lock acquisitions can now be interrupted
by signals on platforms using pthreads.  Patch by Reid Kleckner.
2010-12-15 22:59:16 +00:00
Éric Araujo 119cda0fd2 Mark up one missed None in pkgutil.rst (#8851) 2010-12-15 22:37:27 +00:00
Raymond Hettinger 07a605b1c7 Entry for decimal and fractions. 2010-12-15 22:35:03 +00:00
Raymond Hettinger 480ed78c0e Add entries for structseq, ContextDecorator, and various C-API changes. 2010-12-15 22:07:15 +00:00
Éric Araujo 2d6bb12e1b Add disclaimer about MinGW compat in distutils docs (#6007). Patch by Chris Lambacher. 2010-12-15 22:06:35 +00:00
Éric Araujo 60532bd6b6 Fix build_ext with VS 8.0. Patch by Hirokazu Yamamoto (#9558). 2010-12-15 21:07:22 +00:00
Éric Araujo 4433a5fdc0 Fix wrong name in docstring and doc (#10693). Original patch by Eli Bendersky. 2010-12-15 20:26:30 +00:00
Terry Reedy 17a59252e8 Issue 10534, difflib: tweak doc; test new SequenceMatcher instance attributes; avoid unneeded lists of SM.b2j keys and items in .__chain_b. Do not backport. 2010-12-15 20:18:10 +00:00
Alexander Belopolsky 50ba19ee45 Use sentence case in section titles consistently 2010-12-15 19:47:37 +00:00
Raymond Hettinger 99db3fd03b Elaborate on the calculation used in the random module. 2010-12-15 19:33:49 +00:00
Éric Araujo 67f0b6c5f2 Use nested method directives, rewrap long lines, fix whitespace. 2010-12-15 19:30:15 +00:00
Raymond Hettinger e434b3b681 Add intro to the changed modules section. 2010-12-15 19:20:01 +00:00
Éric Araujo d00862ac27 Improve trace documentation (#9264). Patch by Eli Bendersky. 2010-12-15 19:09:58 +00:00
Antoine Pitrou b8eb9cbd71 Move the urllib-inherited API to a distinguished section 2010-12-15 19:07:26 +00:00
Raymond Hettinger 0358a17838 Move email section in with other modules. Fix markup. 2010-12-15 19:00:38 +00:00
Raymond Hettinger a55ffbc84e Minor regroupings. 2010-12-15 18:31:57 +00:00
Raymond Hettinger bba537bc96 Adopt Antoine's suggestion to improve readability with module subsections. 2010-12-15 18:20:19 +00:00
Raymond Hettinger e0a960012f Add entries for the random module and the collections module. 2010-12-15 17:54:13 +00:00
Raymond Hettinger 96f3410ebe Issue 10667: Fast path for collections.Counter 2010-12-15 16:30:37 +00:00
Antoine Pitrou 779f19e7a7 I don't think we need to ship the comp.lang.python RFD these days. 2010-12-15 15:48:20 +00:00
Antoine Pitrou 3cbb24d34c Encourage --with-pydebug rather than individual setting of debug options. 2010-12-15 15:47:34 +00:00
Antoine Pitrou 0592be8f60 Remove outdated compatibility file. 2010-12-15 15:42:59 +00:00
Antoine Pitrou 00c6b62939 Issue #10706: Remove outdated script runtests.sh. Either `make test`
or `python -m test` should be used instead.
2010-12-15 15:33:18 +00:00
Senthil Kumaran bd8f1458f8 TIMEOUT value change in URLTimeout Test. test.support.transient_internet has a
socket timeout of 30 when it checks for resource.  Explicit overrding (like
setting the 10) wont exhibit consistent behavior when tests are outside context
manager. So, settting it 30.
2010-12-15 04:02:45 +00:00
Andrew M. Kuchling 42877fec3a Typo fix 2010-12-15 02:37:01 +00:00
R. David Murray d89bc3ff59 #10705: document what the values of debuglevel are and mean. 2010-12-15 02:19:14 +00:00
R. David Murray ce4b170c5a #4236: avoid possible Fatal Error when import is called from __del__
Patch by Simon Cross, crasher test code by Martin von Löwis.
2010-12-14 23:06:25 +00:00
R. David Murray 95333e3aa9 More comprehensive compileall cli tests, and fixes. 2010-12-14 22:32:50 +00:00
Antoine Pitrou e7fed67279 Freshen README contents 2010-12-14 22:06:10 +00:00