]>
granicus.if.org Git - python/log
Raymond Hettinger [Thu, 23 Dec 2010 21:54:02 +0000 (21:54 +0000)]
Fix buglet. If the input was an iterator, the fallback would occur after
part of the iterator had been consumed. Also, fix argument names which
did not match the docs and were a bit misleading.
R. David Murray [Thu, 23 Dec 2010 20:35:46 +0000 (20:35 +0000)]
#
1155362 : allow hh:mm:ss-uuuu like we allow hh:mm:ss+uuuu in parsedate_tz
Original patch by Thomas Herve.
R. David Murray [Thu, 23 Dec 2010 19:44:49 +0000 (19:44 +0000)]
#4496: remove misleading comment and note that self.handlers is obsolete.
self.handlers is still used in one urllib2 test, but not by the code iteslf.
Éric Araujo [Thu, 23 Dec 2010 19:13:05 +0000 (19:13 +0000)]
Fix typo in superclass method name
Éric Araujo [Thu, 23 Dec 2010 18:44:31 +0000 (18:44 +0000)]
Nits: use a real boolean, make one docstring more similar to the other ones
Éric Araujo [Thu, 23 Dec 2010 18:41:33 +0000 (18:41 +0000)]
Fix small inaccuracy: there is no index function
Alexander Belopolsky [Thu, 23 Dec 2010 02:58:25 +0000 (02:58 +0000)]
Issue #10587: Document the meaning of str methods.
Alexander Belopolsky [Thu, 23 Dec 2010 02:27:37 +0000 (02:27 +0000)]
Issue #10254: Fixed a crash and a regression introduced by the implementation of PRI 29.
Antoine Pitrou [Wed, 22 Dec 2010 22:19:15 +0000 (22:19 +0000)]
Fix ResourceWarning in test_normalization
Michael Foord [Wed, 22 Dec 2010 18:28:51 +0000 (18:28 +0000)]
Another trivial typo correction in whatsnew
Vinay Sajip [Wed, 22 Dec 2010 15:04:15 +0000 (15:04 +0000)]
Logging documentation updates.
Michael Foord [Wed, 22 Dec 2010 10:39:04 +0000 (10:39 +0000)]
Minor typo corrections in whatsnew
Raymond Hettinger [Wed, 22 Dec 2010 09:11:54 +0000 (09:11 +0000)]
Add todo
Gregory P. Smith [Wed, 22 Dec 2010 05:22:17 +0000 (05:22 +0000)]
fix a compiler warning about err_msg potentially being used uninitialized.
Alexander Belopolsky [Wed, 22 Dec 2010 02:35:20 +0000 (02:35 +0000)]
Removed unneeded #include
Alexander Belopolsky [Wed, 22 Dec 2010 01:37:36 +0000 (01:37 +0000)]
Both PEP 3131 and the current implementation use NFKC normalization
for identifiers. Fixed the documentation to agree.
R. David Murray [Tue, 21 Dec 2010 21:53:37 +0000 (21:53 +0000)]
#4871: check that zipfile password is bytes, and give useful error message.
Previously passing a string in as the password would fail either with
an assertion error or a TypeError with a confusing error message.
Note that a string can't be accepted since zipfile has no way to
guess what encoding should be used to turn it into bytes.
Patch by Victor Stinner.
Antoine Pitrou [Tue, 21 Dec 2010 21:20:59 +0000 (21:20 +0000)]
Issue #10750: The `raw` attribute of buffered IO objects is now read-only.
Raymond Hettinger [Tue, 21 Dec 2010 20:52:12 +0000 (20:52 +0000)]
Document the alternate format for :ref:.
Raymond Hettinger [Tue, 21 Dec 2010 20:09:55 +0000 (20:09 +0000)]
Reference the release schedule
Raymond Hettinger [Tue, 21 Dec 2010 19:24:26 +0000 (19:24 +0000)]
Deprecate assertDictContainsSubset()
Antoine Pitrou [Tue, 21 Dec 2010 18:49:01 +0000 (18:49 +0000)]
Suggest sys.maxsize as a reliable way to know whether the interpreter is 64-bit.
(part of #10735)
R. David Murray [Tue, 21 Dec 2010 18:24:33 +0000 (18:24 +0000)]
Make test_compileall more robust by using -S to keep sys.path minimized.
Try this again, hopefully the right way this time.
Arfrever Taifersar Arahesis reported that test_compileall failed during Gentoo
install because it was tyring to write .pyc files to a read-only system
directory during test_no_args_compiles_path. Having the tests call python
with -S should eliminate the system directories from the path.
R. David Murray [Tue, 21 Dec 2010 18:07:59 +0000 (18:07 +0000)]
Fix the change made for issue
1243654 .
Surprisingly, it turns out there was no test that exercised this code path.
R. David Murray [Mon, 20 Dec 2010 19:04:51 +0000 (19:04 +0000)]
Revert incorrect patch made at the wrong time.
R. David Murray [Mon, 20 Dec 2010 18:08:59 +0000 (18:08 +0000)]
Make test_compileall more robust by using -S to keep sys.path minimized.
Arfrever Taifersar Arahesis reported that test_compileall failed during Gentoo
install because it was tyring to write .pyc files to a read-only system
directory during test_no_args_compiles_path. Having subprocess call python
with -S should eliminate the system directories from the path.
Vinay Sajip [Sun, 19 Dec 2010 13:41:26 +0000 (13:41 +0000)]
Logging documentation updates.
Vinay Sajip [Sun, 19 Dec 2010 12:56:57 +0000 (12:56 +0000)]
Logging documentation reorganised.
Georg Brandl [Sun, 19 Dec 2010 12:37:34 +0000 (12:37 +0000)]
Tag 3.2 beta 2.
Georg Brandl [Sun, 19 Dec 2010 12:33:52 +0000 (12:33 +0000)]
#3243 follow-up: remove debugging print and fix docs; data is a bytes object.
Senthil Kumaran [Sun, 19 Dec 2010 10:49:52 +0000 (10:49 +0000)]
Issue3243 - Support iterable bodies in httplib. Patch contributions by Xuanji Li and Chris AtLee.
Georg Brandl [Sun, 19 Dec 2010 10:30:28 +0000 (10:30 +0000)]
Bump to 3.2b2.
Georg Brandl [Sun, 19 Dec 2010 10:28:46 +0000 (10:28 +0000)]
Fix markup error and update suspicious file.
Georg Brandl [Sun, 19 Dec 2010 10:25:28 +0000 (10:25 +0000)]
Update pydoc topics.
Georg Brandl [Sun, 19 Dec 2010 10:17:46 +0000 (10:17 +0000)]
Temporarily skip test failing with newer ttk.
Georg Brandl [Sun, 19 Dec 2010 10:10:32 +0000 (10:10 +0000)]
#6075: make idle work with both Carbon AquaTk and Cocoa AquaTk. Patch by Kevin Walzer and Ned Deily.
Vinay Sajip [Sun, 19 Dec 2010 06:02:31 +0000 (06:02 +0000)]
Logging documentation update.
Michael Foord [Sun, 19 Dec 2010 04:07:28 +0000 (04:07 +0000)]
Improvement to fix for issue 9926 to allow TestResult to be reused.
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.