Michael Foord
cca5be2e4c
Improvement to fix for issue 9926 to allow TestResult to be reused.
2010-12-19 04:07:28 +00:00
Michael Foord
f100dbd600
Fix minor issue in implementation of issue 10470.
2010-12-19 03:59:10 +00:00
Michael Foord
b3468f79ef
Issue 10611. Issue 9857. Improve the way exception handling, including test skipping, is done inside TestCase.run
2010-12-19 03:19:47 +00:00
Ezio Melotti
addc6f5a21
#10573 : use actual/expected consistently in unittest methods. The order of the args of assertCountEqual is also changed.
2010-12-18 20:00:04 +00:00
R. David Murray
63563cdf9d
#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.
2010-12-18 18:25:38 +00:00
Antoine Pitrou
2b37ce7f30
NEWS entry for r87373
2010-12-18 17:59:18 +00:00
Georg Brandl
0bdfbfa276
#10723 : add missing builtin exceptions.
2010-12-18 17:51:28 +00:00
Ezio Melotti
3044fa77a5
Use lowercase true/false in assertTrue/assertFalse messages.
2010-12-18 17:31:58 +00:00
R. David Murray
b68a7bc70c
#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.
2010-12-18 17:19:10 +00:00
Senthil Kumaran
5466bf1c94
Fix Issue6791 - Limit the HTTP header readline with _MAXLENGTH. Patch by Antoine Pitrou
2010-12-18 16:55:23 +00:00
R. David Murray
32e1771daf
#10728 : the default for printing help is sys.stdout, not stderr.
2010-12-18 16:39:06 +00:00
Georg Brandl
77570e2d0e
Fix typo.
2010-12-18 16:21:58 +00:00
Ezio Melotti
ac53ab64a6
#5587 : add a repr to dict_proxy objects. Patch by David Stanek and Daniel Urban.
2010-12-18 14:59:43 +00:00
Antoine Pitrou
197c9c945e
Make this a note again.
2010-12-18 12:33:06 +00:00
Georg Brandl
eebb252e6b
Use kbd role.
2010-12-18 12:01:15 +00:00
Georg Brandl
5d53fdd1ac
Typo fix.
2010-12-18 11:58:12 +00:00
Georg Brandl
101234bc83
Add attribution.
2010-12-18 11:53:25 +00:00
Raymond Hettinger
2b8861fa70
Nits.
2010-12-18 11:20:52 +00:00
Steven Bethard
fd311a712d
Add subparser aliases for argparse. Resolves issue 9324. Approved by Georg for beta2 on the tracker.
2010-12-18 11:19:23 +00:00
Raymond Hettinger
04129748ae
Minor markup and wording fixups.
2010-12-18 10:57:50 +00:00
Raymond Hettinger
d73be67c3f
Minor wordsmithing and markup fix-ups.
2010-12-18 10:48:26 +00:00
Raymond Hettinger
3094ed8c69
Enhance argparse example to show aliases.
2010-12-18 09:41:32 +00:00
R. David Murray
52d1b4e62f
#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.
2010-12-18 03:48:32 +00:00
Raymond Hettinger
c539a2a88e
Add link to a sample solution to a common problem.
2010-12-17 23:31:30 +00:00
Daniel Stutzbach
c5895dcc15
Fix typo
2010-12-17 22:28:07 +00:00
Victor Stinner
7bbc855edb
update .gitignore using .hgignore
2010-12-17 22:24:30 +00:00
Łukasz Langa
79a06ed567
fix for an embarrassing autoformatting SNAFU. Thanks for your alertness, Antoine.
2010-12-17 22:05:46 +00:00
Łukasz Langa
2b38b6cee8
configparser hype coming up!
2010-12-17 21:57:32 +00:00
Łukasz Langa
71b37a5d6d
100% test coverage, better mapping protocol compatibility, some minor bugfixes
2010-12-17 21:56:32 +00:00
Martin v. Löwis
0e74cacdff
Upgrade to sqlite3 3.7.4.
2010-12-17 21:04:09 +00:00
Daniel Stutzbach
2a1e3e67b3
Issue2690: Update docs to reflect the change made by issue2690.
2010-12-17 20:53:03 +00:00
Martin v. Löwis
910a4edbcd
Upgrade Tcl/Tk to 8.5.9.
2010-12-17 20:43:27 +00:00
Raymond Hettinger
09f44140aa
Expand the LBYL glossary entry.
2010-12-17 20:19:50 +00:00
Antoine Pitrou
401edd69cf
Issue #4188 : Avoid creating dummy thread objects when logging operations
...
from the threading module (with the internal verbose flag activated).
2010-12-17 17:42:16 +00:00
Antoine Pitrou
988dbd7bc2
Issue #10711 : Remove HTTP 0.9 support from http.client. The `strict`
...
parameter to HTTPConnection and friends is deprecated.
2010-12-17 17:35:56 +00:00
Daniel Stutzbach
7cb3051dc3
Issue 8753: Added documentation for Py_ReprEntr and Py_ReprLeave.
2010-12-17 16:31:32 +00:00
R. David Murray
94f58c3a65
#10454 : clarify the compileall docs and help messages.
2010-12-17 16:29:07 +00:00
R. David Murray
a396463db3
#10559 : provide instructions for accessing sys.argv when first mentioned.
2010-12-17 16:11:40 +00:00
Senthil Kumaran
dca5b86233
Fix Issue9721 - urljoin behavior when the relative url starts with ';'
2010-12-17 04:48:45 +00:00
Ł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