Commit Graph

40285 Commits

Author SHA1 Message Date
Mark Dickinson 01458c7a62 Remove the uses of WITHOUT_COMPLEX introduced in r75471 2009-10-18 16:41:32 +00:00
Skip Montanaro ba1e0f46ab Issue 7147 - remove ability to attempt to build Python without complex number support (was broken anyway) 2009-10-18 14:25:35 +00:00
Nick Coghlan 6ead552b47 Note that a number of the changes listed below were not applicable to the Py3k branch, and hence the corresponding
files are unchanged in this checkin. This checkin is also the first time the environment checking in regrtest has
been forward ported to the Py3k branch.

This checkin causes test_xmlrpc to fail - see issue 7165 (it's a bug in the 3.x version of xmlrpc.server)
I am also getting a failure in test_telnetlib, but it isn't clear yet if that is due to these changes.

Recorded merge of revisions 75400-75401,75404,75406,75414,75416,75422,75425-75428,75435,75439,75441-75444,75447-75449,75451-75453,75455-75458,75460-75469,75471-75473,75475-75477,75479-75481,75483,75486-75489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75400 | r.david.murray | 2009-10-14 23:58:07 +1000 (Wed, 14 Oct 2009) | 6 lines

  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).
........
  r75453 | nick.coghlan | 2009-10-17 16:33:05 +1000 (Sat, 17 Oct 2009) | 1 line

  Correctly restore sys.stdout in test_descr
........
  r75456 | nick.coghlan | 2009-10-17 17:30:40 +1000 (Sat, 17 Oct 2009) | 1 line

  Enhancement to the new environment checking code to print the changed items under -vv. Also includes a small tweak to allow underscores in the names of resources.
........
  r75457 | nick.coghlan | 2009-10-17 17:34:27 +1000 (Sat, 17 Oct 2009) | 1 line

  Formatting tweak so that before and after values are vertically aligned
........
  r75458 | nick.coghlan | 2009-10-17 18:21:21 +1000 (Sat, 17 Oct 2009) | 1 line

  Check and revert expected sys.path alterations
........
  r75461 | nick.coghlan | 2009-10-18 00:40:54 +1000 (Sun, 18 Oct 2009) | 1 line

  Restore original sys.path when running TTK tests
........
  r75462 | nick.coghlan | 2009-10-18 01:09:41 +1000 (Sun, 18 Oct 2009) | 1 line

  Don't invoke reload(sys) and use StringIO objects instead of real files to capture stdin and stdout when needed (ensures all sys attributes remain unmodified after test_xmlrpc runs)
........
  r75463 | nick.coghlan | 2009-10-18 01:23:08 +1000 (Sun, 18 Oct 2009) | 1 line

  Revert changes made to environment in test_httpservers
........
  r75465 | nick.coghlan | 2009-10-18 01:45:52 +1000 (Sun, 18 Oct 2009) | 1 line

  Move restoration of the os.environ object into the context manager where it belongs
........
  r75466 | nick.coghlan | 2009-10-18 01:48:16 +1000 (Sun, 18 Oct 2009) | 1 line

  Also check and restore identity of sys.path, sys.argv and os.environ rather than just their values (this picked up a few more misbehaving tests)
........
  r75467 | nick.coghlan | 2009-10-18 01:57:42 +1000 (Sun, 18 Oct 2009) | 1 line

  Avoid replacing existing modules and sys.path in import tests
........
  r75468 | nick.coghlan | 2009-10-18 02:19:51 +1000 (Sun, 18 Oct 2009) | 1 line

  Don't replace sys.path in test_site
........
  r75481 | nick.coghlan | 2009-10-18 15:38:48 +1000 (Sun, 18 Oct 2009) | 1 line

  Using CleanImport to revert a reload of the os module doesn't work due to function registrations in copy_reg. The perils of reloading modules even for tests...
........
  r75486 | nick.coghlan | 2009-10-18 20:29:10 +1000 (Sun, 18 Oct 2009) | 1 line

  Silence a deprecation warning by using the appropriate replacement construct
........
  r75489 | nick.coghlan | 2009-10-18 20:56:21 +1000 (Sun, 18 Oct 2009) | 1 line

  Restore sys.path in test_tk
........
2009-10-18 13:19:33 +00:00
Tarek Ziadé 430fb63dd2 Merged revisions 75485 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75485 | tarek.ziade | 2009-10-18 11:28:26 +0200 (Sun, 18 Oct 2009) | 1 line

  Changed distutils tests to avoid environment alteration
........
2009-10-18 11:34:51 +00:00
Nick Coghlan ccb3c0946c Recorded merge of revisions 75474 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75474 | senthil.kumaran | 2009-10-18 11:24:41 +1000 (Sun, 18 Oct 2009) | 2 lines

  Fix for Issue7155 - urllib do not document default use of system proxy configuration
........
2009-10-18 10:46:42 +00:00
Nick Coghlan fee711cc57 Revert broken commit to svnmerge properties 2009-10-18 10:44:15 +00:00
Senthil Kumaran a51a1b3dbf Merged revisions 75474 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75474 | senthil.kumaran | 2009-10-18 06:54:41 +0530 (Sun, 18 Oct 2009) | 2 lines

  Fix for Issue7155 - urllib do not document default use of system proxy configuration
........
2009-10-18 01:42:33 +00:00
Benjamin Peterson 9ab0f5a425 correct porting error with raise #7161 2009-10-18 00:32:49 +00:00
Mark Dickinson 3a22b476a3 Merged revisions 75470 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75470 | mark.dickinson | 2009-10-17 22:46:32 +0100 (Sat, 17 Oct 2009) | 1 line

  Protect against attempts to replace PyNumber_Add with PyNumber_InPlaceAdd in builtin sum
........
2009-10-17 21:48:16 +00:00
Mark Dickinson d412ab5260 Merged revisions 75454 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75454 | mark.dickinson | 2009-10-17 08:06:37 +0100 (Sat, 17 Oct 2009) | 1 line

  test_math ulp computation was wrong on big-endian systems
........
2009-10-17 07:10:00 +00:00
Tarek Ziadé 2b6eb18352 Merged revisions 75450 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75450 | tarek.ziade | 2009-10-17 01:04:16 +0200 (Sat, 17 Oct 2009) | 1 line

  this test requires zlib support
........
2009-10-16 23:07:19 +00:00
Eric Smith 717e529686 Blocked revisions 75446 via svnmerge
........
  r75446 | eric.smith | 2009-10-16 10:26:36 -0400 (Fri, 16 Oct 2009) | 1 line

  Removed usage of unsafe PyFloat_AsString.
........
2009-10-16 14:33:35 +00:00
Vinay Sajip 96d4aa3fca Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE. 2009-10-16 14:06:44 +00:00
Mark Dickinson 42e30556e5 Merged revisions 75440 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75440 | mark.dickinson | 2009-10-15 18:45:39 +0100 (Thu, 15 Oct 2009) | 1 line

  Allow core Python build to succeed under WITHOUT_COMPLEX.  The module build stage still fails.
........
2009-10-15 19:55:18 +00:00
Mark Dickinson ffecdb1c5b Blocked revisions 75438 via svnmerge
........
  r75438 | mark.dickinson | 2009-10-15 16:53:58 +0100 (Thu, 15 Oct 2009) | 1 line

  Issue #7142:  Fix uses of unicode in memoryview objects
........
2009-10-15 15:54:39 +00:00
Mark Dickinson db9d7ae9be Blocked revisions 75434 via svnmerge
........
  r75434 | mark.dickinson | 2009-10-15 16:18:55 +0100 (Thu, 15 Oct 2009) | 1 line

  Fix missing semicolon
........
2009-10-15 15:22:09 +00:00
Neil Schemenauer e441cb71c7 Issue #1754094: Improve the stack depth calculation in the compiler.
There should be no other effect than a small decrease in memory use.
2009-10-14 19:14:38 +00:00
Georg Brandl 46afef330f #7129: add missing function. 2009-10-14 18:46:15 +00:00
Antoine Pitrou 403ce78872 Issue #7065: Fix a crash in bytes.maketrans and bytearray.maketrans when
using byte values greater than 127.  Patch by egreen.
2009-10-14 17:14:16 +00:00
Amaury Forgeot d'Arc 919765a095 Merged revisions 75396 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75396 | amaury.forgeotdarc | 2009-10-13 23:29:34 +0200 (mar., 13 oct. 2009) | 3 lines

  #7112: Fix compilation warning in unicodetype_db.h
  makeunicodedata now generates double literals
........
2009-10-13 23:18:53 +00:00
Georg Brandl d404fa6e1c Update module names in references in the FAQ. 2009-10-13 16:55:12 +00:00
Georg Brandl d741315f37 Merged revisions 75363 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75363 | georg.brandl | 2009-10-11 20:31:23 +0200 (So, 11 Okt 2009) | 1 line

  Add the Python FAQ lists to the documentation.  Copied from sandbox/faq.  Many thanks to AMK for the preparation work.
........
2009-10-11 21:25:26 +00:00
Georg Brandl 93d15cd251 Merged revisions 75370-75372 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75370 | georg.brandl | 2009-10-11 23:10:07 +0200 (So, 11 Okt 2009) | 1 line

  Move find_recursionlimit.py to Tools/scripts; it is out of place in Misc.
........
  r75371 | georg.brandl | 2009-10-11 23:14:37 +0200 (So, 11 Okt 2009) | 1 line

  Add find_recursionlimit.py to README.
........
  r75372 | georg.brandl | 2009-10-11 23:17:14 +0200 (So, 11 Okt 2009) | 1 line

  Update Misc/README.
........
2009-10-11 21:24:34 +00:00
Antoine Pitrou 320b8010e7 Blocked revisions 75367 via svnmerge
........
  r75367 | antoine.pitrou | 2009-10-11 23:03:26 +0200 (dim., 11 oct. 2009) | 4 lines

  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:07:02 +00:00
Benjamin Peterson a8b976bd7f actually test a method that will be lookup in py3 2009-10-11 18:28:48 +00:00
Georg Brandl bc470d5023 Merged revisions 75358 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75358 | georg.brandl | 2009-10-11 17:06:44 +0200 (So, 11 Okt 2009) | 1 line

  Overhaul of Demo/xml.
........
2009-10-11 15:56:06 +00:00
Georg Brandl 97b0837587 Merged revisions 75356 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75356 | georg.brandl | 2009-10-11 16:49:37 +0200 (So, 11 Okt 2009) | 1 line

  Remove ftpstats script, the daemon whose log files it reads is long gone.
........
2009-10-11 14:50:57 +00:00
Georg Brandl ec8aab6e4c Merged revisions 75354 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75354 | georg.brandl | 2009-10-11 16:23:49 +0200 (So, 11 Okt 2009) | 1 line

  Update lpwatch script.
........
2009-10-11 14:27:51 +00:00
Georg Brandl 0e4a63993b Merged revisions 75351 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75351 | georg.brandl | 2009-10-11 14:03:01 +0200 (So, 11 Okt 2009) | 1 line

  Fix variable.
........
2009-10-11 12:04:40 +00:00
Georg Brandl 41706b3293 Merged revisions 75350 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75350 | georg.brandl | 2009-10-11 14:00:18 +0200 (So, 11 Okt 2009) | 1 line

  Use getopt in script.py demo.
........
2009-10-11 12:04:10 +00:00
Mark Dickinson b243ed2663 Merged revisions 75348 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75348 | mark.dickinson | 2009-10-11 11:01:17 +0100 (Sun, 11 Oct 2009) | 1 line

  Set missing executable property on scripts
........
2009-10-11 10:32:51 +00:00
Mark Dickinson 0caa5766a3 Merged revisions 75346 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75346 | mark.dickinson | 2009-10-11 10:35:57 +0100 (Sun, 11 Oct 2009) | 1 line

  Fix 'primes 0 1'
........
2009-10-11 09:40:17 +00:00
Georg Brandl edbc50cd0e Merged revisions 75344 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75344 | georg.brandl | 2009-10-11 10:48:28 +0200 (So, 11 Okt 2009) | 1 line

  Update primes script.
........
2009-10-11 08:49:57 +00:00
Georg Brandl 5f8814dabd Merged revisions 75342 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75342 | georg.brandl | 2009-10-11 10:45:03 +0200 (So, 11 Okt 2009) | 1 line

  Remove useless script "mkrcs" and update README.
........
2009-10-11 08:46:56 +00:00
Georg Brandl be0ee2b2fd Fix README description. 2009-10-11 08:43:08 +00:00
Georg Brandl 2cbd09ca7e Merged revisions 75339 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75339 | georg.brandl | 2009-10-11 10:39:16 +0200 (So, 11 Okt 2009) | 1 line

  Update markov demo.
........
2009-10-11 08:42:09 +00:00
Georg Brandl e63514b0e3 Merged revisions 75337 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75337 | georg.brandl | 2009-10-11 10:18:44 +0200 (So, 11 Okt 2009) | 1 line

  Update morse script, avoid globals, use iterators.
........
2009-10-11 08:31:41 +00:00
Senthil Kumaran 7bb0497336 Merged revisions 75333 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75333 | senthil.kumaran | 2009-10-11 07:30:07 +0530 (Sun, 11 Oct 2009) | 3 lines

  Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment
........
2009-10-11 04:58:55 +00:00
Georg Brandl 7291cf8304 Merged revisions 75329 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75329 | georg.brandl | 2009-10-11 00:26:45 +0200 (So, 11 Okt 2009) | 1 line

  Modernize all around (dont ask me how useful that script is nowadays...)
........
2009-10-10 22:32:28 +00:00
Georg Brandl 583350f104 Merged revisions 75327 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75327 | georg.brandl | 2009-10-11 00:03:43 +0200 (So, 11 Okt 2009) | 1 line

  Style fixes.
........
2009-10-10 22:05:26 +00:00
Georg Brandl 8bef554cf7 Merged revisions 75325 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75325 | georg.brandl | 2009-10-10 23:55:11 +0200 (Sa, 10 Okt 2009) | 1 line

  Modernize factorisation demo (mostly augassign.)
........
2009-10-10 21:57:03 +00:00
Georg Brandl 4630c09351 Merged revisions 75322 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75322 | georg.brandl | 2009-10-10 23:47:31 +0200 (Sa, 10 Okt 2009) | 1 line

  Show use of range() step argument nicely.
........
2009-10-10 21:49:24 +00:00
Georg Brandl 2a354cd8cd Recorded merge of revisions 75321 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75321 | georg.brandl | 2009-10-10 23:43:21 +0200 (Sa, 10 Okt 2009) | 1 line

  Remove outdated comment and fix a few style issues.
........
2009-10-10 21:48:05 +00:00
Antoine Pitrou a328029c9a Redundancy isn't needed here.
Redundancy isn't needed here.
2009-10-10 21:28:29 +00:00
Benjamin Peterson 676161a850 Rolled back revisions 74556 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
2009-10-10 21:27:03 +00:00
Georg Brandl 38c34ef5de Merged revisions 75315 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75315 | georg.brandl | 2009-10-10 23:10:05 +0200 (Sa, 10 Okt 2009) | 1 line

  Remove unneeded "L" suffixes.
........
2009-10-10 21:13:21 +00:00
Georg Brandl 28ae0c34ad Merged revisions 75313 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75313 | georg.brandl | 2009-10-10 23:07:35 +0200 (Sa, 10 Okt 2009) | 1 line

  Bring old demo up-to-date.
........
2009-10-10 21:12:35 +00:00
Antoine Pitrou 4de39cda18 Merged revisions 75312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75312 | antoine.pitrou | 2009-10-10 22:52:11 +0200 (sam., 10 oct. 2009) | 4 lines

  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 21:08:31 +00:00
Benjamin Peterson 5de65b43fa Blocked revisions 75310 via svnmerge
........
  r75310 | vinay.sajip | 2009-10-10 15:32:36 -0500 (Sat, 10 Oct 2009) | 1 line

  Issue #7086: Added TCP support to SysLogHandler and tidied up some anachronisms in the code.
........
2009-10-10 20:39:25 +00:00
Vinay Sajip cbabd7ec3a Issue #7086: Added TCP support to SysLogHandler and tidied up some anachronisms in the code. 2009-10-10 20:32:36 +00:00