]>
granicus.if.org Git - python/log
Michael Foord [Sun, 19 Dec 2010 03:59:10 +0000 (03:59 +0000)]
Fix minor issue in implementation of issue 10470.
Michael Foord [Sun, 19 Dec 2010 03:19:47 +0000 (03:19 +0000)]
Issue 10611. Issue 9857. Improve the way exception handling, including test skipping, is done inside TestCase.run
Ezio Melotti [Sat, 18 Dec 2010 20:00:04 +0000 (20:00 +0000)]
#10573: use actual/expected consistently in unittest methods. The order of the args of assertCountEqual is also changed.
R. David Murray [Sat, 18 Dec 2010 18:25:38 +0000 (18:25 +0000)]
#9286: Fix the rfc822 parser to preserve whitespace in address local part.
Such addresses are not RFC compliant except under the 'obsolete syntax'
rules, but before this fix the whitespace was dropped from the input,
concatenating the pieces. That breaks one of the principles of the
email package, that of preserving the input as much as possible.
It also denies the application program the opportunity to apply its
own heuristics to interpretation of such non-compliant addresses.
It is possible users of the email package were depending on the local
part always being a single token, so this fix will not be backported.
Antoine Pitrou [Sat, 18 Dec 2010 17:59:18 +0000 (17:59 +0000)]
NEWS entry for r87373
Georg Brandl [Sat, 18 Dec 2010 17:51:28 +0000 (17:51 +0000)]
#10723: add missing builtin exceptions.
Ezio Melotti [Sat, 18 Dec 2010 17:31:58 +0000 (17:31 +0000)]
Use lowercase true/false in assertTrue/assertFalse messages.
R. David Murray [Sat, 18 Dec 2010 17:19:10 +0000 (17:19 +0000)]
#10404: Use ctl-button-1 for context menus on OSX Idle.
This provides access to the context menus where they previously could
not be accessed due to the way OSX Tk binds buttons. It also
improves platform consistency.
Patch by Ned Deily.
Senthil Kumaran [Sat, 18 Dec 2010 16:55:23 +0000 (16:55 +0000)]
Fix Issue6791 - Limit the HTTP header readline with _MAXLENGTH. Patch by Antoine Pitrou
R. David Murray [Sat, 18 Dec 2010 16:39:06 +0000 (16:39 +0000)]
#10728: the default for printing help is sys.stdout, not stderr.
Georg Brandl [Sat, 18 Dec 2010 16:21:58 +0000 (16:21 +0000)]
Fix typo.
Ezio Melotti [Sat, 18 Dec 2010 14:59:43 +0000 (14:59 +0000)]
#5587: add a repr to dict_proxy objects. Patch by David Stanek and Daniel Urban.
Antoine Pitrou [Sat, 18 Dec 2010 12:33:06 +0000 (12:33 +0000)]
Make this a note again.
Georg Brandl [Sat, 18 Dec 2010 12:01:15 +0000 (12:01 +0000)]
Use kbd role.
Georg Brandl [Sat, 18 Dec 2010 11:58:12 +0000 (11:58 +0000)]
Typo fix.
Georg Brandl [Sat, 18 Dec 2010 11:53:25 +0000 (11:53 +0000)]
Add attribution.
Raymond Hettinger [Sat, 18 Dec 2010 11:20:52 +0000 (11:20 +0000)]
Nits.
Steven Bethard [Sat, 18 Dec 2010 11:19:23 +0000 (11:19 +0000)]
Add subparser aliases for argparse. Resolves issue 9324. Approved by Georg for beta2 on the tracker.
Raymond Hettinger [Sat, 18 Dec 2010 10:57:50 +0000 (10:57 +0000)]
Minor markup and wording fixups.
Raymond Hettinger [Sat, 18 Dec 2010 10:48:26 +0000 (10:48 +0000)]
Minor wordsmithing and markup fix-ups.
Raymond Hettinger [Sat, 18 Dec 2010 09:41:32 +0000 (09:41 +0000)]
Enhance argparse example to show aliases.
R. David Murray [Sat, 18 Dec 2010 03:48:32 +0000 (03:48 +0000)]
#9907: call rl_initialize early when using editline on OSX
editline rl_initialize apparently discards any mappings done before it
is called, which makes tab revert to file completion instead of inserting
a tab. So now on OSX we call rl_initialize first if we are using
readline, and then re-read the users .editrc (if any) afterward so they
can still override our defaults.
Patch by Ned Deily, modified by Ronald Oussoren.
Raymond Hettinger [Fri, 17 Dec 2010 23:31:30 +0000 (23:31 +0000)]
Add link to a sample solution to a common problem.
Daniel Stutzbach [Fri, 17 Dec 2010 22:28:07 +0000 (22:28 +0000)]
Fix typo
Victor Stinner [Fri, 17 Dec 2010 22:24:30 +0000 (22:24 +0000)]
update .gitignore using .hgignore
Łukasz Langa [Fri, 17 Dec 2010 22:05:46 +0000 (22:05 +0000)]
fix for an embarrassing autoformatting SNAFU. Thanks for your alertness, Antoine.
Łukasz Langa [Fri, 17 Dec 2010 21:57:32 +0000 (21:57 +0000)]
configparser hype coming up!
Łukasz Langa [Fri, 17 Dec 2010 21:56:32 +0000 (21:56 +0000)]
100% test coverage, better mapping protocol compatibility, some minor bugfixes
Martin v. Löwis [Fri, 17 Dec 2010 21:04:09 +0000 (21:04 +0000)]
Upgrade to sqlite3 3.7.4.
Daniel Stutzbach [Fri, 17 Dec 2010 20:53:03 +0000 (20:53 +0000)]
Issue2690: Update docs to reflect the change made by issue2690.
Martin v. Löwis [Fri, 17 Dec 2010 20:43:27 +0000 (20:43 +0000)]
Upgrade Tcl/Tk to 8.5.9.
Raymond Hettinger [Fri, 17 Dec 2010 20:19:50 +0000 (20:19 +0000)]
Expand the LBYL glossary entry.
Antoine Pitrou [Fri, 17 Dec 2010 17:42:16 +0000 (17:42 +0000)]
Issue #4188: Avoid creating dummy thread objects when logging operations
from the threading module (with the internal verbose flag activated).
Antoine Pitrou [Fri, 17 Dec 2010 17:35:56 +0000 (17:35 +0000)]
Issue #10711: Remove HTTP 0.9 support from http.client. The `strict`
parameter to HTTPConnection and friends is deprecated.
Daniel Stutzbach [Fri, 17 Dec 2010 16:31:32 +0000 (16:31 +0000)]
Issue 8753: Added documentation for Py_ReprEntr and Py_ReprLeave.
R. David Murray [Fri, 17 Dec 2010 16:29:07 +0000 (16:29 +0000)]
#10454: clarify the compileall docs and help messages.
R. David Murray [Fri, 17 Dec 2010 16:11:40 +0000 (16:11 +0000)]
#10559: provide instructions for accessing sys.argv when first mentioned.
Senthil Kumaran [Fri, 17 Dec 2010 04:48:45 +0000 (04:48 +0000)]
Fix Issue9721 - urljoin behavior when the relative url starts with ';'
Łukasz Langa [Fri, 17 Dec 2010 01:32:29 +0000 (01:32 +0000)]
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.
Gregory P. Smith [Thu, 16 Dec 2010 19:23:05 +0000 (19:23 +0000)]
assert that the regex given to assertRegex is non-empty.
R. David Murray [Thu, 16 Dec 2010 19:08:51 +0000 (19:08 +0000)]
#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.
Antoine Pitrou [Thu, 16 Dec 2010 18:25:24 +0000 (18:25 +0000)]
Issue #10710: `Misc/setuid-prog.c` is removed from the source tree.
Antoine Pitrou [Thu, 16 Dec 2010 16:48:36 +0000 (16:48 +0000)]
Issue #10714: Limit length of incoming request in http.server to 65536 bytes
for security reasons. Initial patch by Ross Lagerwall.
Antoine Pitrou [Thu, 16 Dec 2010 13:33:56 +0000 (13:33 +0000)]
Credit Florent for porting
Raymond Hettinger [Thu, 16 Dec 2010 10:06:11 +0000 (10:06 +0000)]
Add todo for WSGI
Éric Araujo [Thu, 16 Dec 2010 06:28:48 +0000 (06:28 +0000)]
Add missing docs and directives related to PEP 3147 and byte-compilation
Brian Curtin [Thu, 16 Dec 2010 03:24:49 +0000 (03:24 +0000)]
EasyDialogs was removed in 3.x. fallback_getpass will always be the answer here.
Éric Araujo [Thu, 16 Dec 2010 03:13:05 +0000 (03:13 +0000)]
Fix one versionchanged
Raymond Hettinger [Thu, 16 Dec 2010 02:24:12 +0000 (02:24 +0000)]
Improve the ContextDecorator example.
Éric Araujo [Thu, 16 Dec 2010 02:10:11 +0000 (02:10 +0000)]
Add versionadded directive missing from r78983.
Łukasz Langa [Thu, 16 Dec 2010 01:42:36 +0000 (01:42 +0000)]
Acknowledged renaming of SafeConfigParser to ConfigParser.
Éric Araujo [Thu, 16 Dec 2010 01:40:26 +0000 (01:40 +0000)]
Advertise “python -m test” over test.regrtest (r87296 followup)
Łukasz Langa [Thu, 16 Dec 2010 01:16:22 +0000 (01:16 +0000)]
Broken ConfigParser removed, SafeConfigParser renamed to ConfigParser.
Life is beatiful once again.
Raymond Hettinger [Thu, 16 Dec 2010 00:53:05 +0000 (00:53 +0000)]
Thank you ispell.
Raymond Hettinger [Thu, 16 Dec 2010 00:30:53 +0000 (00:30 +0000)]
Nits
Éric Araujo [Thu, 16 Dec 2010 00:23:30 +0000 (00:23 +0000)]
Advertise “python -m” instead of direct filename.
Raymond Hettinger [Thu, 16 Dec 2010 00:21:08 +0000 (00:21 +0000)]
Entries for ElementTree, collectionsm, functools and ZipFile.
Éric Araujo [Thu, 16 Dec 2010 00:07:01 +0000 (00:07 +0000)]
No need to generate a link for something that’s just above.
Antoine Pitrou [Wed, 15 Dec 2010 23:38:50 +0000 (23:38 +0000)]
Make test_threadsignals more lax, and add notes
Antoine Pitrou [Wed, 15 Dec 2010 22:59:16 +0000 (22:59 +0000)]
Issue #8844: Regular and recursive lock acquisitions can now be interrupted
by signals on platforms using pthreads. Patch by Reid Kleckner.
Éric Araujo [Wed, 15 Dec 2010 22:37:27 +0000 (22:37 +0000)]
Mark up one missed None in pkgutil.rst (#8851)
Raymond Hettinger [Wed, 15 Dec 2010 22:35:03 +0000 (22:35 +0000)]
Entry for decimal and fractions.
Raymond Hettinger [Wed, 15 Dec 2010 22:07:15 +0000 (22:07 +0000)]
Add entries for structseq, ContextDecorator, and various C-API changes.
Éric Araujo [Wed, 15 Dec 2010 22:06:35 +0000 (22:06 +0000)]
Add disclaimer about MinGW compat in distutils docs (#6007). Patch by Chris Lambacher.
Éric Araujo [Wed, 15 Dec 2010 21:07:22 +0000 (21:07 +0000)]
Fix build_ext with VS 8.0. Patch by Hirokazu Yamamoto (#9558).
Éric Araujo [Wed, 15 Dec 2010 20:26:30 +0000 (20:26 +0000)]
Fix wrong name in docstring and doc (#10693). Original patch by Eli Bendersky.
Terry Reedy [Wed, 15 Dec 2010 20:18:10 +0000 (20:18 +0000)]
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.
Alexander Belopolsky [Wed, 15 Dec 2010 19:47:37 +0000 (19:47 +0000)]
Use sentence case in section titles consistently
Raymond Hettinger [Wed, 15 Dec 2010 19:33:49 +0000 (19:33 +0000)]
Elaborate on the calculation used in the random module.
Éric Araujo [Wed, 15 Dec 2010 19:30:15 +0000 (19:30 +0000)]
Use nested method directives, rewrap long lines, fix whitespace.
Raymond Hettinger [Wed, 15 Dec 2010 19:20:01 +0000 (19:20 +0000)]
Add intro to the changed modules section.
Éric Araujo [Wed, 15 Dec 2010 19:09:58 +0000 (19:09 +0000)]
Improve trace documentation (#9264). Patch by Eli Bendersky.
Antoine Pitrou [Wed, 15 Dec 2010 19:07:26 +0000 (19:07 +0000)]
Move the urllib-inherited API to a distinguished section
Raymond Hettinger [Wed, 15 Dec 2010 19:00:38 +0000 (19:00 +0000)]
Move email section in with other modules. Fix markup.
Raymond Hettinger [Wed, 15 Dec 2010 18:31:57 +0000 (18:31 +0000)]
Minor regroupings.
Raymond Hettinger [Wed, 15 Dec 2010 18:20:19 +0000 (18:20 +0000)]
Adopt Antoine's suggestion to improve readability with module subsections.
Raymond Hettinger [Wed, 15 Dec 2010 17:54:13 +0000 (17:54 +0000)]
Add entries for the random module and the collections module.
Raymond Hettinger [Wed, 15 Dec 2010 16:30:37 +0000 (16:30 +0000)]
Issue 10667: Fast path for collections.Counter
Antoine Pitrou [Wed, 15 Dec 2010 15:48:20 +0000 (15:48 +0000)]
I don't think we need to ship the comp.lang.python RFD these days.
Antoine Pitrou [Wed, 15 Dec 2010 15:47:34 +0000 (15:47 +0000)]
Encourage --with-pydebug rather than individual setting of debug options.
Antoine Pitrou [Wed, 15 Dec 2010 15:42:59 +0000 (15:42 +0000)]
Remove outdated compatibility file.
Antoine Pitrou [Wed, 15 Dec 2010 15:33:18 +0000 (15:33 +0000)]
Issue #10706: Remove outdated script runtests.sh. Either `make test`
or `python -m test` should be used instead.
Senthil Kumaran [Wed, 15 Dec 2010 04:02:45 +0000 (04:02 +0000)]
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.
Andrew M. Kuchling [Wed, 15 Dec 2010 02:37:01 +0000 (02:37 +0000)]
Typo fix
R. David Murray [Wed, 15 Dec 2010 02:19:14 +0000 (02:19 +0000)]
#10705: document what the values of debuglevel are and mean.
R. David Murray [Tue, 14 Dec 2010 23:06:25 +0000 (23:06 +0000)]
#4236: avoid possible Fatal Error when import is called from __del__
Patch by Simon Cross, crasher test code by Martin von Löwis.
R. David Murray [Tue, 14 Dec 2010 22:32:50 +0000 (22:32 +0000)]
More comprehensive compileall cli tests, and fixes.
Antoine Pitrou [Tue, 14 Dec 2010 22:06:10 +0000 (22:06 +0000)]
Freshen README contents
Raymond Hettinger [Tue, 14 Dec 2010 21:12:03 +0000 (21:12 +0000)]
Nits
Vinay Sajip [Tue, 14 Dec 2010 19:40:21 +0000 (19:40 +0000)]
Logging documentation update.
Gregory P. Smith [Tue, 14 Dec 2010 18:18:49 +0000 (18:18 +0000)]
SIGCHLD is a more portable name than SIGCLD. (OSX has no SIGCLD)
R. David Murray [Tue, 14 Dec 2010 16:20:53 +0000 (16:20 +0000)]
#775964: skip YP/NIS entries instead of failing the test
Also includes doc updates mentioning that these entries may not
be retrievable via getgrnam and getgrgid.
Patch by Bobby Impollonia.
Gregory P. Smith [Tue, 14 Dec 2010 15:23:02 +0000 (15:23 +0000)]
Fix "BytesWarning: str() on a bytes instance"
Gregory P. Smith [Tue, 14 Dec 2010 14:38:00 +0000 (14:38 +0000)]
Issue #
1731717 : Fixed the problem where subprocess.wait() could cause an
OSError exception when The OS had been told to ignore SIGCLD in our process
or otherwise not wait for exiting child processes.
R. David Murray [Tue, 14 Dec 2010 14:16:20 +0000 (14:16 +0000)]
#10695: use %s not %d so that a string 'port' does not cause a debug traceback
Passing the port as a string value works fine in regular mode, but
if you turned debug on it would throw an error trying to print the
port number, which is surprising and confusing.
Gregory P. Smith [Tue, 14 Dec 2010 13:43:30 +0000 (13:43 +0000)]
Issue #6559: fix the subprocess.Popen pass_fds implementation. Add a unittest.
Issue #7213: Change the close_fds default on Windows to better match the new
default on POSIX. True when possible (False if stdin/stdout/stderr are
supplied).
Update the documentation to reflect all of the above.
R. David Murray [Tue, 14 Dec 2010 02:25:43 +0000 (02:25 +0000)]
Turn on regrtest -W (rerun immediately) option for Windows, too.
R. David Murray [Tue, 14 Dec 2010 01:38:16 +0000 (01:38 +0000)]
9162: fix license in multiprocessing files
R. David Murray [Tue, 14 Dec 2010 01:22:50 +0000 (01:22 +0000)]
Use skipIf instead of a return when attribute doesn't exist.
R. David Murray [Tue, 14 Dec 2010 00:55:46 +0000 (00:55 +0000)]
#10699: fix docstring for tzset: it does not take a parameter
Thanks to Garrett Cooper for the fix.