Commit graph

48717 commits

Author SHA1 Message Date
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
c79cf04250 Blocked revisions 87356 via svnmerge
........
  r87356 | r.david.murray | 2010-12-17 22:48:32 -0500 (Fri, 17 Dec 2010) | 11 lines

  #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:50:46 +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
bc7f20cea4 Merged revisions 87341 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87341 | antoine.pitrou | 2010-12-17 18:42:16 +0100 (ven., 17 déc. 2010) | 4 lines

  Issue #4188: Avoid creating dummy thread objects when logging operations
  from the threading module (with the internal verbose flag activated).
........
2010-12-17 17:44:45 +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
3396e8671d Merged revisions 87329 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87329 | senthil.kumaran | 2010-12-17 12:48:45 +0800 (Fri, 17 Dec 2010) | 3 lines

  Fix Issue9721 - urljoin behavior when the relative url starts with ';'
........
2010-12-17 04:54:43 +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
115a3170c4 Blocked revisions 87324 via svnmerge
........
  r87324 | r.david.murray | 2010-12-16 14:08:51 -0500 (Thu, 16 Dec 2010) | 9 lines

  #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:10:16 +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
db848f1276 svnmerge fooled me. That test class already existed. 2010-12-16 17:17:40 +00:00
Antoine Pitrou
c5e548f6a5 Forgot to enable this test 2010-12-16 17:05:26 +00:00
Antoine Pitrou
3022ce1a14 Merged revisions 87317 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87317 | antoine.pitrou | 2010-12-16 17:48:36 +0100 (jeu., 16 déc. 2010) | 4 lines

  Issue #10714: Limit length of incoming request in http.server to 65536 bytes
  for security reasons.  Initial patch by Ross Lagerwall.
........

(also backport some tests)
2010-12-16 17:03:16 +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
0da0c48e23 Blocked revisions 87312 via svnmerge
........
  r87312 | eric.araujo | 2010-12-16 07:28:48 +0100 (jeu., 16 déc. 2010) | 2 lines

  Add missing docs and directives related to PEP 3147 and byte-compilation
........
2010-12-16 06:30:42 +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
1c76044ea0 Merged revisions 87306 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87306 | brian.curtin | 2010-12-15 21:24:49 -0600 (Wed, 15 Dec 2010) | 2 lines

  EasyDialogs was removed in 3.x. fallback_getpass will always be the answer here.
........
2010-12-16 03:27:11 +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
3efdf0630b Merged revisions 86521,86632,86823-86824,87294,87296,87300,87302 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86521 | eric.araujo | 2010-11-18 17:38:46 +0100 (jeu., 18 nov. 2010) | 17 lines

  Fix usage of :option: in the docs (#9312).

  :option: is used to create a link to an option of python, not to mark
  up any instance of any arbitrary command-line option.  These were
  changed to ````.

  For modules which do have a command-line interface, lists of options
  have been properly marked up with the program/cmdoption directives
  combo.  Options defined in such blocks can be linked to with :option:
  later in the same file, they won’t link to an option of python.

  Finally, the markup of command-line fragments in optparse.rst has
  been cleaned to use ``x`` instead of ``"x"``, keeping that latter
  form for actual Python strings.

  Patch by Eli Bendersky and Éric Araujo.
........
  r86632 | eric.araujo | 2010-11-21 04:09:17 +0100 (dim., 21 nov. 2010) | 2 lines

  Style edits in followup to r86521 (#9312)
........
  r86823 | eric.araujo | 2010-11-27 00:31:07 +0100 (sam., 27 nov. 2010) | 2 lines

  Use link-generating markup (see #9312)
........
  r86824 | eric.araujo | 2010-11-27 00:46:18 +0100 (sam., 27 nov. 2010) | 2 lines

  Rewrap long lines + minor edits
........
  r87294 | eric.araujo | 2010-12-16 01:07:01 +0100 (jeu., 16 déc. 2010) | 2 lines

  No need to generate a link for something that’s just above.
........
  r87296 | eric.araujo | 2010-12-16 01:23:30 +0100 (jeu., 16 déc. 2010) | 2 lines

  Advertise “python -m” instead of direct filename.
........
  r87300 | eric.araujo | 2010-12-16 02:40:26 +0100 (jeu., 16 déc. 2010) | 2 lines

  Advertise “python -m test” over test.regrtest (r87296 followup)
........
  r87302 | eric.araujo | 2010-12-16 03:10:11 +0100 (jeu., 16 déc. 2010) | 2 lines

  Add versionadded directive missing from r78983.
........
2010-12-16 03:16:29 +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