Commit graph

48783 commits

Author SHA1 Message Date
Antoine Pitrou
2b37ce7f30 NEWS entry for r87373 2010-12-18 17:59:18 +00:00
Ezio Melotti
a2eb94b1cf Merged revisions 87377 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87377 | ezio.melotti | 2010-12-18 18:31:58 +0100 (Sat, 18 Dec 2010) | 1 line

  Use lowercase true/false in assertTrue/assertFalse messages.
........
2010-12-18 17:55:43 +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
28b77ece82 Merged revisions 87374 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87374 | r.david.murray | 2010-12-18 12:19:10 -0500 (Sat, 18 Dec 2010) | 8 lines

  #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:21:30 +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
9d254f7092 Merged revisions 87368 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87368 | ezio.melotti | 2010-12-18 15:59:43 +0100 (Sat, 18 Dec 2010) | 1 line

  #5587: add a repr to dict_proxy objects.  Patch by David Stanek and Daniel Urban.
........
2010-12-18 15:06:45 +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
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