Commit Graph

43046 Commits

Author SHA1 Message Date
Benjamin Peterson 447dc15658 use floor division and add a test that exercises the tabsize codepath 2009-10-15 01:49:37 +00:00
Benjamin Peterson e537adfd08 pep8ify if blocks 2009-10-15 01:47:28 +00:00
Neil Schemenauer 973f8b4ca6 Make cPickle.Unpickler.noload() handle dict subclasses. noload() is
an obscure, undocumentated feature so no test was added. Closes
issue #1101399.
2009-10-14 19:33:31 +00:00
Neil Schemenauer e6039f0978 Add support to the ihooks module for relative imports. 2009-10-14 19:23:53 +00:00
Antoine Pitrou 04437ebadd Fix py3k warnings in the uuid module 2009-10-14 19:09:48 +00:00
Antoine Pitrou 92331d5e1b Fix py3k warnings in httplib 2009-10-14 19:04:48 +00:00
Antoine Pitrou b844ef7950 Silence py3k warning claiming to affect the random module 2009-10-14 18:56:11 +00:00
Georg Brandl 9b4e5820cb #7116: str.join() takes an iterable. 2009-10-14 18:48:32 +00:00
Antoine Pitrou bb86314d22 Fix failures in test_profilehooks when run with -3 2009-10-14 18:47:13 +00:00
Antoine Pitrou 79d923b8c4 Silence some py3k warnings claiming to affect _pyio 2009-10-14 18:39:46 +00:00
Antoine Pitrou 8d6c9eeef7 Fix a py3k warning in the sndhdr module (found with test_email) 2009-10-14 18:31:05 +00:00
Antoine Pitrou daa524a293 Fix py3k warnings in the socket module 2009-10-14 18:27:32 +00:00
Antoine Pitrou e08dd117fa Fix a py3k warning in the StringIO module (exhibited in test_codecencodings_cn) 2009-10-14 18:12:54 +00:00
Antoine Pitrou e22997ec7c Silence a py3k warning claiming to affect Lib/calendar.py 2009-10-14 18:09:45 +00:00
Antoine Pitrou 63b0cb2f39 Fix py3k warnings in bsddb 2009-10-14 18:01:33 +00:00
Antoine Pitrou 868817eaf5 Fix a test_atexit failure when run with -3 2009-10-14 17:34:31 +00:00
Antoine Pitrou bca7b4894a Fix py3k warnings in the aifc module 2009-10-14 17:30:52 +00:00
Neil Schemenauer 7fdd1cb583 Issue #1754094: Improve the stack depth calculation in the compiler.
There should be no other effect than a small decrease in memory use.
Patch by Christopher Tur Lesniewski-Laas.
2009-10-14 17:17:14 +00:00
Georg Brandl 647e9d2652 #7126: os.environ changes *do* take effect in subprocesses started with os.system(). 2009-10-14 15:57:46 +00:00
Georg Brandl e1254d748d #7125: fix typo. 2009-10-14 15:51:48 +00:00
R. David Murray 14dcd43d0b Enhanced Issue 7058 patch, which will not be backported. Refactors the
code, adds checks for stdin/out/err, cwd, and sys.path, and adds a new
section in the summary for tests that modify the environment (thanks to
Ezio Melotti for that suggestion).
2009-10-14 13:58:07 +00:00
Amaury Forgeot d'Arc 5c92d4301d #7112: Fix compilation warning in unicodetype_db.h
makeunicodedata now generates double literals
2009-10-13 21:29:34 +00:00
Georg Brandl 5ffa146fde Fix markup. 2009-10-13 18:10:59 +00:00
Andrew M. Kuchling 5c4e6ebbf5 Various link, textual, and markup fixes 2009-10-13 16:11:49 +00:00
Andrew M. Kuchling 7fe65a0a94 Link to PEP 2009-10-13 15:49:33 +00:00
Benjamin Peterson 526bec21d0 platform we don't care about 2009-10-12 01:26:07 +00:00
Georg Brandl 65e50555f8 Update Misc/README. 2009-10-11 21:17:14 +00:00
Georg Brandl 0b74edd9aa Add find_recursionlimit.py to README. 2009-10-11 21:14:37 +00:00
Georg Brandl 2bd92a5961 Move find_recursionlimit.py to Tools/scripts; it is out of place in Misc. 2009-10-11 21:10:07 +00:00
Antoine Pitrou beaf6a02f4 Issue #7084: Fix a (very unlikely) crash when printing a list from one
thread, and mutating it from another one.  Patch by Scott Dial.
2009-10-11 21:03:26 +00:00
Georg Brandl a4314c2b21 Fix broken links found by "make linkcheck". scipy.org seems to be done right now, so I could not verify links going there. 2009-10-11 20:16:16 +00:00
Georg Brandl 6728c5a762 Add the Python FAQ lists to the documentation. Copied from sandbox/faq. Many thanks to AMK for the preparation work. 2009-10-11 18:31:23 +00:00
Georg Brandl 32855b6dcd Overhaul of Demo/xml. 2009-10-11 15:06:44 +00:00
Georg Brandl b3f9d66ca3 Remove ftpstats script, the daemon whose log files it reads is long gone. 2009-10-11 14:49:37 +00:00
Georg Brandl 393c823245 Update lpwatch script. 2009-10-11 14:23:49 +00:00
Georg Brandl 8ec30e835f Fix variable. 2009-10-11 12:03:01 +00:00
Georg Brandl ce662d0467 Use getopt in script.py demo. 2009-10-11 12:00:18 +00:00
Mark Dickinson 9bb796597d Set missing executable property on scripts 2009-10-11 10:01:17 +00:00
Mark Dickinson ab6d373aa0 Fix 'primes 0 1' 2009-10-11 09:35:57 +00:00
Georg Brandl 4271ecaf72 Update primes script. 2009-10-11 08:48:28 +00:00
Georg Brandl 6e62c56416 Remove useless script "mkrcs" and update README. 2009-10-11 08:45:03 +00:00
Georg Brandl 86d38e9ecc Update markov demo. 2009-10-11 08:39:16 +00:00
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