R. David Murray
88c49fe320
#9444 : use first of prefix_chars for help opt instead of raising error
...
An argparse option parser created with a prefix_chars that did not
include a '-' would happily add -h and --help options, and then throw
an error when it tried to format the help because the - was an invalid
prefix character. This patch makes it use the first character of
prefix_chars as the character for the help options if and only if '-'
is not one of the valid prefix_chars.
Fix by Theodore Turocy, unit tests by Catherine Devlin.
2010-08-03 17:56:09 +00:00
Antoine Pitrou
f767f08e29
Issue #8867 : Fix `Tools/scripts/serve.py` to work with files containing
...
non-ASCII content.
2010-08-03 17:09:36 +00:00
Mark Dickinson
6b54e1f782
Issue #8065 : Fix another memory leak in readline module, from failure to free
...
the result of a call to history_get_history_state.
2010-08-03 16:49:49 +00:00
Mark Dickinson
29b238e0dc
Issue #9450 : Fix memory leaks in readline.remove/replace_history_entry.
2010-08-03 16:08:16 +00:00
Georg Brandl
38557f2ac9
A couple of nits how to ignore errors.
2010-08-03 12:36:57 +00:00
Georg Brandl
2f27755f5d
Get rid of UserWarnings when running Sphinx from tools dir.
2010-08-03 12:31:59 +00:00
Georg Brandl
7cb1319688
Terminology fix: exceptions are raised, except in generator.throw().
2010-08-03 12:06:29 +00:00
Georg Brandl
e8e02e3b5b
Fix regrtest -F.
2010-08-03 07:56:50 +00:00
Ronald Oussoren
fcd77016b3
Fix for issue 9455: platform.mac_ver() broken on OSX/ppc
2010-08-03 07:42:42 +00:00
Richard Jones
64b02de010
improvements to test_smtplib per issue2423
...
merged the socket mock introduced in test_smtpd
2010-08-03 06:39:33 +00:00
Georg Brandl
0db85e5d46
Fix-up some tkinter demos.
2010-08-02 23:30:09 +00:00
Georg Brandl
36f72d3396
Remove reference to removed faqwiz tool.
2010-08-02 23:18:35 +00:00
Georg Brandl
68642f5ed0
Remove obsolete pdist demo.
2010-08-02 23:17:21 +00:00
Georg Brandl
2db2b8a17d
Another demo that at least runs again.
2010-08-02 23:15:58 +00:00
Georg Brandl
fb3b12d0c0
Make minigzip work again.
2010-08-02 23:13:24 +00:00
Georg Brandl
5ec5fed487
Update Demo README.
2010-08-02 23:13:12 +00:00
Georg Brandl
64465553db
Fix unicode literal.
2010-08-02 22:59:44 +00:00
Georg Brandl
129435c5d2
Make the framer run (still generates wrong code for module creation though.)
2010-08-02 22:58:25 +00:00
Georg Brandl
6faacd3bba
Update README, remove obsolete script.
2010-08-02 22:55:17 +00:00
Georg Brandl
d3f467ac74
Update README, remove obsolete scripts.
2010-08-02 22:53:22 +00:00
Georg Brandl
f7db42fe8c
Update README for Tools.
2010-08-02 22:31:22 +00:00
Georg Brandl
e27c906c52
Remove faqwiz tool.
2010-08-02 22:28:01 +00:00
Georg Brandl
0063958c2e
Minimum fixes to make freeze.py do something useful.
2010-08-02 22:25:16 +00:00
Georg Brandl
bf76ce168c
Make the Pynche tool work with Python 3.
2010-08-02 22:08:58 +00:00
Georg Brandl
1800934285
#9061 : warn that single quotes are never escaped.
2010-08-02 21:51:18 +00:00
Georg Brandl
75f2f8206c
#9457 : fix documentation links for 3.2.
2010-08-02 21:07:14 +00:00
Georg Brandl
9976a51344
#8119 : fix copy-paste error.
2010-08-02 21:02:36 +00:00
Georg Brandl
98be996250
#9238 : zipfile does handle archive comments.
2010-08-02 20:52:10 +00:00
Georg Brandl
222569dc1d
#6867 : epoll.register() returns None.
2010-08-02 20:47:56 +00:00
Georg Brandl
17dafdc249
Clarify that abs() is not a namespace.
2010-08-02 20:44:34 +00:00
Georg Brandl
62e4231a27
#7797 : be explicit about bytes-oriented interface of base64 functions.
2010-08-02 20:39:35 +00:00
Georg Brandl
a1631b337a
#9019 : remove false (in 3k) claim about Headers updates.
2010-08-02 20:30:57 +00:00
Georg Brandl
b2566cfbf9
#9111 : document that do_help() looks at docstrings.
2010-08-02 20:27:20 +00:00
Georg Brandl
9c491c9b28
#9037 : add example how to raise custom exceptions from C code.
2010-08-02 20:21:21 +00:00
Georg Brandl
1209a8f9bc
#4280 : remove outdated "versionchecker" tool.
2010-08-02 20:17:50 +00:00
Georg Brandl
c8284cfc57
#9087 : update json docstrings -- unicode and long do not exist anymore.
2010-08-02 20:16:18 +00:00
Georg Brandl
8477f82c3e
#8648 : document UTF-7 codec functions.
2010-08-02 20:05:19 +00:00
Georg Brandl
07b90caed4
#8861 : remove unused variable.
2010-08-02 19:44:48 +00:00
Georg Brandl
0abcbd7a24
#7280 : note about nasmw.exe.
2010-08-02 19:43:05 +00:00
Georg Brandl
0c7ade2fe3
Remove redundant information.
2010-08-02 19:39:17 +00:00
Georg Brandl
c589a70e17
#9438 : clarify that constant names also cannot be assigned as attributes.
2010-08-02 19:36:36 +00:00
Georg Brandl
9499bb76a3
Remove XXX comment that was displayed.
2010-08-02 19:35:06 +00:00
Georg Brandl
7d180a0da1
#9451 : strengthen warning about __*__ special name usage.
2010-08-02 19:32:43 +00:00
Georg Brandl
7528b9b8ac
#8172 : how does one use a property?
2010-08-02 19:23:34 +00:00
Georg Brandl
353ebce2a0
#7386 : add example that shows that trailing path separators are stripped.
2010-08-02 19:19:26 +00:00
Georg Brandl
56be37cef2
#7973 : Fix distutils options spelling.
2010-08-02 19:16:34 +00:00
Georg Brandl
dee7b8503d
#8560 : add progress indicator to regrtest.
2010-08-02 18:59:52 +00:00
Georg Brandl
6fcac0d6f6
Move test_SimpleHTTPServer into test_httpservers.
2010-08-02 18:56:54 +00:00
Georg Brandl
65e5f80c48
#6928 : fix class docs w.r.t. new metaclasses.
2010-08-02 18:10:13 +00:00
Georg Brandl
502c3eb52f
#8578 : mention danger of not incref'ing weak referenced object.
2010-08-02 17:49:25 +00:00