Commit Graph

43204 Commits

Author SHA1 Message Date
Georg Brandl 30fd2bb884 Update morse script, avoid globals, use iterators. 2009-10-11 08:18:44 +00:00
Senthil Kumaran 274686631a Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment 2009-10-11 02:00:07 +00:00
Georg Brandl 723fb3adc8 Modernize all around (dont ask me how useful that script is nowadays...) 2009-10-10 22:26:45 +00:00
Georg Brandl ffc87d5c8c Style fixes. 2009-10-10 22:03:43 +00:00
Georg Brandl a0bcc27e65 Modernize factorisation demo (mostly augassign.) 2009-10-10 21:55:11 +00:00
Georg Brandl 3d072c9587 Show use of range() step argument nicely. 2009-10-10 21:47:31 +00:00
Georg Brandl 0b798a9d4d Remove outdated comment and fix a few style issues. 2009-10-10 21:43:21 +00:00
Benjamin Peterson 75b32c9c76 remove script which uses long gone module 2009-10-10 21:15:58 +00:00
Georg Brandl 69f81a8b68 Remove unneeded "L" suffixes. 2009-10-10 21:10:05 +00:00
Georg Brandl 18cb949807 Bring old demo up-to-date. 2009-10-10 21:07:35 +00:00
Antoine Pitrou 58d2f2689a Issue #7055: test___all__ now greedily detects all modules which have an
__all__ attribute, rather than using a hardcoded and incomplete list.
2009-10-10 20:52:11 +00:00
Vinay Sajip 1c77b7f84c Issue #7086: Added TCP support to SysLogHandler and tidied up some anachronisms in the code. 2009-10-10 20:32:36 +00:00
Benjamin Peterson 6e3dbbdf39 replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
Benjamin Peterson de0559998f replace callable() 2009-10-09 22:05:45 +00:00
R. David Murray 0c8bee6393 Issue #7082: When falling back to the MIME 'name' parameter, the
correct place to look for it is the Content-Type header.

Patch by Darren Worrall.
2009-10-09 21:50:54 +00:00
Benjamin Peterson 9586cf8677 fix some coding style 2009-10-09 21:48:14 +00:00
Kristján Valur Jónsson 49b881410b http://bugs.python.org/issue7029
a non-default timer wasn't actually used by the individual Tests.
2009-10-09 14:32:19 +00:00
Benjamin Peterson 4502dcd48c death to old CVS keyword 2009-10-09 03:11:36 +00:00
Mark Dickinson d5a713ec30 Issue #7051: Clarify behaviour of 'g' and 'G'-style formatting. 2009-10-08 20:02:25 +00:00
Mark Dickinson 539bff4234 Update decimal test data to the most recent set from Mike Cowlishaw. 2009-10-08 16:28:39 +00:00
Mark Dickinson 3d830828de Issue #7078: _struct.__doc__ was being ignored. Import it into struct.
Also add description of '?' struct format character.  Thanks Gabriel
Genellina for the patch.
2009-10-08 15:54:10 +00:00
Ronald Oussoren a5b642c933 Ensure that _scproxy gets build even when --disable-toolbox-glue
is specified on OSX. Fixes a regression in 2.6.3.
2009-10-08 08:04:15 +00:00
Mark Dickinson 15ae41c2db Issue #7048: logb should round its result when that result doesn't fit
into the available precision.  (Tests for this change are included in
the most recent set of testcases from the Decimal Specification site;
those testcases will be updated shortly.)
2009-10-07 19:22:05 +00:00
Amaury Forgeot d'Arc 590ecf34ff Add Anders Chrigstrom to Misc/ACKS for his work on unicodedata. 2009-10-06 20:02:09 +00:00
Amaury Forgeot d'Arc d0052d17b1 #1571184: makeunicodedata.py now generates the functions _PyUnicode_ToNumeric,
_PyUnicode_IsLinebreak and _PyUnicode_IsWhitespace.

It now also parses the Unihan.txt for numeric values.
2009-10-06 19:56:32 +00:00
Andrew M. Kuchling 85ea4bf781 Remove two notes 2009-10-05 22:45:39 +00:00
Andrew M. Kuchling fa6a4271c1 Backport r73983: Document the thousands separator. 2009-10-05 22:42:56 +00:00
Andrew M. Kuchling b6f0128c63 Use standard comma punctuation; reword some sentences in the docs 2009-10-05 22:32:48 +00:00
Andrew M. Kuchling 400054e59e Reword sentence 2009-10-05 22:31:11 +00:00
Andrew M. Kuchling 5a9c40b21c Add various items 2009-10-05 22:30:22 +00:00
Andrew M. Kuchling 915b1206f2 Note side benefit of socket.create_connection() 2009-10-05 21:25:35 +00:00
Andrew M. Kuchling f6e3d7d585 Document 'skip' parameter to constructor 2009-10-05 21:25:03 +00:00
Andrew M. Kuchling f5852f59d9 Fix narkup 2009-10-05 21:24:35 +00:00
Andrew M. Kuchling 3fab04078d Wording fix 2009-10-05 21:24:20 +00:00
Amaury Forgeot d'Arc 3de4647022 Fix compilation warning on Windows, where size_t is 32bit but file offsets are 64bit. 2009-10-05 20:18:05 +00:00
R. David Murray abe3d3ec85 Issue #7058: Added save/restore for argv and os.environ to runtest_inner
in regrtest, with warnings if the called test modifies them.
2009-10-05 17:03:09 +00:00
Mark Dickinson 245d915e3e Issue #7042: Fix test_signal failure on OS X 10.6 64-bit builds
(and also, with luck, on the x86 FreeBSD buildbot), by making sure
that some user time is used in test_itimer_virtual.
2009-10-04 18:38:39 +00:00
Benjamin Peterson 82d31e9b20 test logging 2009-10-04 13:38:38 +00:00
Benjamin Peterson 7adbb5a35d #7050 fix a SystemError when using tuple unpacking and augmented assignment 2009-10-03 20:23:24 +00:00
Tarek Ziadé 3b34dd871a now uses the right exception type 2009-10-03 14:52:33 +00:00
Mark Dickinson 530df33eac Issue #7028: Add note to hex() builtin docs pointing to float.hex(). 2009-10-03 10:14:34 +00:00
Tarek Ziadé f638486cf0 removing the last remaning apply() calls 2009-10-03 00:07:35 +00:00
Tarek Ziadé 1b48671ef1 #6516 added owner/group support for tarfiles in Distutils 2009-10-02 23:49:48 +00:00
Georg Brandl 12fafe6936 Add NEWS entry for r75180. 2009-10-01 21:02:39 +00:00
Georg Brandl f895cf5d33 #7031: Add TestCase.assertIsInstance and negated method. 2009-10-01 20:59:31 +00:00
Georg Brandl 46cc46af07 Fix some weird whitespace and two other overlong lines. 2009-10-01 20:11:14 +00:00
Antoine Pitrou c9062ca308 Sync the 2.x `io` docs with py3k, with a small note as to the distinction
between bytes streams and text streams.
2009-10-01 17:08:03 +00:00
Senthil Kumaran dc61ec35ec That's self.env.unset(k) and not env.unset(k) I was heading back to the problem. 2009-10-01 01:50:13 +00:00
Senthil Kumaran 5a43e86542 using dict.unset(k) instead of del dict[k]. consistent with release26-maint 2009-10-01 01:19:18 +00:00
Senthil Kumaran 91abd6e68d Fix for issue7026 test_urllib: unsetting missing 'env' variable. 2009-10-01 01:07:03 +00:00