summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* #6814: remove traces of xrange().Georg Brandl2009-09-015-11/+8
|
* Recorded merge of revisions 74608 via svnmerge fromGeorg Brandl2009-08-310-0/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74608 | senthil.kumaran | 2009-08-31 18:40:27 +0200 (Mo, 31 Aug 2009) | 3 lines Doc fix for the issue2637. ........
* Doc fix for issue2637.Senthil Kumaran2009-08-311-1/+2
|
* Merged revisions 74604 via svnmerge fromMark Dickinson2009-08-311-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74604 | mark.dickinson | 2009-08-31 15:46:07 +0100 (Mon, 31 Aug 2009) | 1 line Issue #6297: Add autogenerated Misc/python.pc file to make distclean target. Thanks Jerry Chen. ........
* Clarify why test_import is failing under importlib.Brett Cannon2009-08-301-2/+3
|
* Loosen an exception test in test_import to not require an explicit message ↵Brett Cannon2009-08-301-2/+1
| | | | but instead just the proper exception.
* Trying to import a submodule from another module and not a package was raisingBrett Cannon2009-08-304-4/+14
| | | | | | AttributeError in importlib when it should be an ImportError. Found when running importlib against test_runpy.
* test_pep3120 is no longer a problem for importlib as the test was tweaked.Brett Cannon2009-08-301-1/+0
|
* Make the exception message check for malformed UTF-8 source looser so that ↵Brett Cannon2009-08-301-1/+2
| | | | SyntaxError triggered from UnicodeDecodeError is also acceptable.
* When the globals argument to importlib.__import__() contained any value forBrett Cannon2009-08-303-11/+20
| | | | | | | | __package__, it was used. This was incorrect since it could be set to None to represent the fact that a proper value was unknown. Now None will trigger the calculation for __package__. Discovered when running importlib against test_importhooks.
* Turn on verbose2 for importlib.test.regrtest so as to see failures when they ↵Brett Cannon2009-08-301-2/+1
| | | | occur.
* Raise TypeError if the name given to importlib.__import__() lacks an rpartitionBrett Cannon2009-08-304-1/+28
| | | | | | | | attribute. Was throwing AttributeError before. Discovered when running test_builtin against importlib. This exception change is specific to importlib.__import__() and does not apply to import_module() as it is being done for compatibility reasons only.
* Fix the importlib_only test decorator to work again; don't capture the flag ↵Brett Cannon2009-08-301-1/+3
| | | | variable as it might change later.
* Use the public API, not a private one.Brett Cannon2009-08-301-1/+1
|
* Allow importlib.__import__ to accept any iterable for fromlist. Discovered whenBrett Cannon2009-08-303-2/+12
| | | | running importlib against test___all__.
* Provide module docstrings for the two main test drivers in importlib thatBrett Cannon2009-08-302-2/+11
| | | | | explain what they are for and how to use command-line arguments to tweak semantics.
* Tweak importlib.test.regrtest to only specify the implicit tests to excludeBrett Cannon2009-08-301-4/+6
| | | | | when running entire test suite. Allows normal command-line arguments normally given to test.regrtest to work (e.g. specifying a single test).
* Document the import semantics that if None is found in sys.modules for a ↵Brett Cannon2009-08-302-1/+6
| | | | module then ImportError is raised.
* Have importlib raise ImportError if None is found in sys.modules. This matchesBrett Cannon2009-08-303-5/+22
| | | | current import semantics.
* Merged revisions 74581 via svnmerge fromAmaury Forgeot d'Arc2009-08-293-4/+33
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74581 | amaury.forgeotdarc | 2009-08-29 20:14:40 +0200 (sam., 29 août 2009) | 3 lines #6750: TextIOWrapped could duplicate output when several threads write to it. this affect text files opened with io.open(), and the print() function of py3k ........
* Blocked revisions 72880,74098,74100,74463,74522,74537,74543,74569-74570 via ↵Benjamin Peterson2009-08-290-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge ........ r72880 | senthil.kumaran | 2009-05-24 04:14:50 -0500 (Sun, 24 May 2009) | 3 lines Fixed Issue1424152, urllib2 fails with HTTPS over Proxy. ........ r74098 | kristjan.jonsson | 2009-07-19 17:14:00 -0500 (Sun, 19 Jul 2009) | 2 lines http://bugs.python.org/issue6499 zlib/gzip may not be present for all builds. Make xmlrpclib gracefully not supporg gzip encoding in this case ........ r74100 | kristjan.jonsson | 2009-07-19 17:35:44 -0500 (Sun, 19 Jul 2009) | 2 lines http://bugs.python.org/issue6499 gzip.GzipFile may not exist as a parent class ........ r74463 | gregory.p.smith | 2009-08-15 17:39:03 -0500 (Sat, 15 Aug 2009) | 6 lines Force the http connection to close after any request returned when buffering=True as our buffered data is not known to the HTTPConnection and may contain data needed by a future request if the connection were left open. See http://bugs.python.org/issue2576 and http://bugs.python.org/issue4879. ........ r74522 | gregory.p.smith | 2009-08-19 00:33:48 -0500 (Wed, 19 Aug 2009) | 8 lines Revert the changes from r74463, they were causing test_xmlrpc to fail. We do not need to force a close when using socket buffering on a httplib.HTTPRequest as the library does not support streaming requests so there should never been extra data beyond the end of the current request to have left over in the requests socket buffer. see http://bugs.python.org/issue6724 ........ r74537 | tarek.ziade | 2009-08-21 09:28:38 -0500 (Fri, 21 Aug 2009) | 1 line fixed misplaced Issue line ........ r74543 | kristjan.jonsson | 2009-08-24 06:39:31 -0500 (Mon, 24 Aug 2009) | 2 lines issue 6769 fix a mistake in instantiatiating the HTTPSConnection class. ........ r74569 | benjamin.peterson | 2009-08-28 11:48:03 -0500 (Fri, 28 Aug 2009) | 1 line restricted environments are no more ........ r74570 | benjamin.peterson | 2009-08-28 11:49:56 -0500 (Fri, 28 Aug 2009) | 1 line remove more code for restricted execution ........
* Blocked revisions 74575 via svnmergeMark Dickinson2009-08-280-0/+0
| | | | | | | | ........ r74575 | mark.dickinson | 2009-08-28 21:46:24 +0100 (Fri, 28 Aug 2009) | 1 line Silence gcc 'comparison always false' warning ........
* Merged revisions 74571 via svnmerge fromLars Gustäbel2009-08-283-29/+84
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74571 | lars.gustaebel | 2009-08-28 21:23:44 +0200 (Fri, 28 Aug 2009) | 7 lines Issue #6054: Do not normalize stored pathnames. No longer use tarfile.normpath() on pathnames. Store pathnames unchanged, i.e. do not remove "./", "../" and "//" occurrences. However, still convert absolute to relative paths. ........
* Merged revisions 74564 via svnmerge fromMark Dickinson2009-08-283-2/+24
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74564 | mark.dickinson | 2009-08-28 14:25:02 +0100 (Fri, 28 Aug 2009) | 3 lines Issue #6794: Fix handling of NaNs in Decimal.compare_total and Decimal.compare_total_mag. ........
* Add a test file to importlib that runs regrtest using importlib.__import__.Brett Cannon2009-08-271-0/+33
| | | | | | | | | The file must be run using runpy. Certain tests are currently excluded from being run as they have known failures based on golden value checks that fail for various reasons (typically because __loader__ is not expected to be set on modules). Running the tests with this file does discover some incompatibilites in importlib that will be fixed in the near future (as noted currently in the docstring).
* Add support for a --builtin argument to importlib.test to trigger runningBrett Cannon2009-08-271-0/+5
| | | | import-specific tests with __import__ instead of importlib.
* Move over to using assertRaises as a context manager for importlib tests.Brett Cannon2009-08-279-24/+36
| | | | | Obviously one shouldn't do whole sale conversions like this, but I was already going through the test code and I was bored at the airport.
* Make __package__ setting tests specific to importlib. Also move to ↵Brett Cannon2009-08-271-4/+5
| | | | assertRaises context manager.
* Move a test-skipping decorator over to unittest.skipIf.Brett Cannon2009-08-271-10/+3
|
* the old buffer object doesn't exist in Python 3 #6659Benjamin Peterson2009-08-261-5/+15
|
* Merged revisions 74533 via svnmerge fromTarek Ziadé2009-08-212-4/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74533 | tarek.ziade | 2009-08-21 16:11:26 +0200 (Fri, 21 Aug 2009) | 1 line Fixed #6556: Corrected doc on how Distutils looks for its user configuration file under Windows ........
* Added section on exceptions raised during logging.Vinay Sajip2009-08-201-0/+22
|
* Merged revisions 74526 via svnmerge fromTarek Ziadé2009-08-204-36/+154
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74526 | tarek.ziade | 2009-08-20 23:23:13 +0200 (Thu, 20 Aug 2009) | 1 line #6693: New functions in site.py to get user/global site packages paths. ........
* Blocked revisions 74503 via svnmergeTarek Ziadé2009-08-200-0/+0
| | | | | | | | ........ r74503 | tarek.ziade | 2009-08-18 10:21:49 +0200 (Tue, 18 Aug 2009) | 1 line fixed typo ........
* Clean up a minor bit of wording.Brett Cannon2009-08-181-2/+2
|
* Merged revisions 74507-74511,74517 via svnmerge fromGuilherme Polo2009-08-183-21/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r74507 | guilherme.polo | 2009-08-18 10:23:08 -0300 (Tue, 18 Aug 2009) | 1 line Issue #1119673: Do not override Tkinter.Text methods when creating a ScrolledText. ........ r74508 | guilherme.polo | 2009-08-18 10:29:20 -0300 (Tue, 18 Aug 2009) | 1 line Issue #1250469: Fix the return value of Tix.PanedWindow.panes. ........ r74509 | guilherme.polo | 2009-08-18 10:33:30 -0300 (Tue, 18 Aug 2009) | 1 line Mark the "radio" option of Tix.CheckList as static. ........ r74510 | guilherme.polo | 2009-08-18 11:23:00 -0300 (Tue, 18 Aug 2009) | 1 line Issue #1522587: New constants and methods for the Tix.Grid widget. ........ r74511 | guilherme.polo | 2009-08-18 11:34:44 -0300 (Tue, 18 Aug 2009) | 1 line Fixes for Tix.Grid from issue #1522587. ........ r74517 | guilherme.polo | 2009-08-18 11:46:57 -0300 (Tue, 18 Aug 2009) | 1 line Issue #1356969: Add missing info methods in Tix.HList. ........
* missing module ref (issue6723)Skip Montanaro2009-08-181-1/+1
|
* Merged revisions 74501 via svnmerge fromTarek Ziadé2009-08-182-3/+45
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74501 | tarek.ziade | 2009-08-18 10:16:33 +0200 (Tue, 18 Aug 2009) | 1 line added more test coverage for distutils.filelist to prevent regressions when fnmatch or re are changed ........
* Merged revisions 74495 via svnmerge fromTarek Ziadé2009-08-171-16/+20
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74495 | tarek.ziade | 2009-08-17 23:48:22 +0200 (Mon, 17 Aug 2009) | 1 line module cleanup ........
* Merged revisions 74493 via svnmerge fromTarek Ziadé2009-08-172-8/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74493 | tarek.ziade | 2009-08-17 23:28:34 +0200 (Mon, 17 Aug 2009) | 1 line fixed how fnmatch.translate is used (since it has changed in r74475 for #6665). Now the code is not harcoding the usage of $ anymore ........
* Further refined section on logging to one file from multiple processes.Vinay Sajip2009-08-171-0/+3
|
* Merged revisions 74479 via svnmerge fromGregory P. Smith2009-08-161-33/+33
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74479 | gregory.p.smith | 2009-08-16 14:54:45 -0700 (Sun, 16 Aug 2009) | 2 lines Clean up the C library import code (based on suggestions in issue6281). ........
* Merged revisions 74477 via svnmerge fromFrank Wierzbicki2009-08-161-0/+19
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74477 | frank.wierzbicki | 2009-08-16 16:22:51 -0400 (Sun, 16 Aug 2009) | 2 lines Add test of file.write(array) extracted from Jython. ........
* Merged revisions 74475 via svnmerge fromGregory P. Smith2009-08-163-2/+13
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74475 | gregory.p.smith | 2009-08-16 11:52:58 -0700 (Sun, 16 Aug 2009) | 2 lines Issue 6665: Fix fnmatch to properly match filenames with newlines in them. ........
* Moved entry about issue #1135 to the proper place.Guilherme Polo2009-08-161-3/+3
|
* Merged revisions 74471-74472 via svnmerge fromGuilherme Polo2009-08-162-2/+4
| | | | | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r74471 | guilherme.polo | 2009-08-16 11:34:26 -0300 (Sun, 16 Aug 2009) | 1 line Issue #6244: Allow detect_tkinter to look for Tcl/Tk 8.6. ........ r74472 | guilherme.polo | 2009-08-16 11:38:57 -0300 (Sun, 16 Aug 2009) | 1 line Wrong place for issue #6244. ........
* Fixing Issue6711 - macurl2path has typos that raise AttributeErrorSenthil Kumaran2009-08-161-3/+3
|
* Refined section on logging to one file from multiple processes.Vinay Sajip2009-08-151-0/+6
|
* Added section on logging to one file from multiple processes.Vinay Sajip2009-08-151-0/+15
|
* Blocked revisions 74445 via svnmergeBenjamin Peterson2009-08-150-0/+0
| | | | | | | | ........ r74445 | vinay.sajip | 2009-08-14 06:33:54 -0500 (Fri, 14 Aug 2009) | 1 line Added versionchanged notices for optional 'delay' parameter to file handler classes. ........