summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge #11606: improved body_encode algorithm, no longer produces overlong linesR David Murray2011-03-242-61/+103
|\
| * Merge #11606: improved body_encode algorithm, no longer produces overlong linesR David Murray2011-03-242-61/+103
| |\
| | * #11606: improved body_encode algorithm, no longer produces overlong linesR David Murray2011-03-242-61/+103
| | | | | | | | | | | | Algorithm and initial patch by Michael Henry.
* | | Merge 3.2Victor Stinner2011-03-241-1/+1
|\ \ \ | |/ /
| * | Merge 3.1Victor Stinner2011-03-241-1/+1
| |\ \ | | |/
| | * test_multiprocessing: use assertLess() to see the timeout on errorVictor Stinner2011-03-241-1/+1
| | |
* | | Add tests for the atexit hook in concurrent.futures (part of #11635)Antoine Pitrou2011-03-241-15/+40
|\ \ \ | |/ /
| * | Add tests for the atexit hook in concurrent.futures (part of #11635)Antoine Pitrou2011-03-241-15/+40
| | |
* | | issue11236 getpass.getpass to respond ctrl-c or ctrl-zSenthil Kumaran2011-03-241-1/+1
| | |
* | | issue10883 - Silence some ftp related ResourceWarnings in test_urllib2net. ↵Senthil Kumaran2011-03-241-3/+7
|\ \ \ | |/ / | | | | | | Patch by Nadeem Vawda
| * | issue10883 - Silence some ftp related ResourceWarnings in test_urllib2net. ↵Senthil Kumaran2011-03-241-3/+7
| | | | | | | | | | | | Patch by Nadeem Vawda.
* | | Add tests for _source to importable and exec'able.Raymond Hettinger2011-03-242-4/+37
| | | | | | | | | | | | | | | | | | | | | | | | Move __name__ back out of the template; the responsibility for setting __name__ lies with the caller (which knows something about the new namespace), not with the class definition (which doesn't know about the namespace it is being built in).
* | | Remove a stale comment.Brett Cannon2011-03-241-7/+0
| | |
* | | Make importlib compatible with __import__ by "fixing" code.co_filenameBrett Cannon2011-03-233-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | paths. __import__ does a little trick when importing from bytecode by back-patching the co_filename paths to point to the file location where the code object was loaded from, *not* where the code object was originally created. This allows co_filename to point to a valid path. Problem is that co_filename is immutable from Python, so a private function -- imp._fix_co_filename() -- had to be introduced in order to get things working properly. Originally the plan was to add a file argument to marshal.loads(), but that failed as the algorithm used by __import__ is not fully recursive as one might expect, so to be fully backwards-compatible the code used by __import__ needed to be exposed. This closes issue #6811 by taking a different approach than outlined in the issue.
* | | Have importlib use the repr of a module name in error messages.Brett Cannon2011-03-232-1/+3
| | | | | | | | | | | | | | | | | | | | | This makes it obvious that an import failed because of some extraneous whitespace (e.g., a newline). This is a partial fix for issue #8754.
* | | Issue #11653: fix -W with -j in regrtest.Antoine Pitrou2011-03-232-7/+16
|\ \ \ | |/ /
| * | Add NEWS entry for 9aa6097131efAntoine Pitrou2011-03-231-0/+2
| | |
| * | Issue #11653: fix -W with -j in regrtestAntoine Pitrou2011-03-231-7/+14
| | |
* | | Minor clean-ups.Raymond Hettinger2011-03-231-3/+4
| | |
* | | Add news entry for the _source attribute created by namedtuple.Raymond Hettinger2011-03-231-0/+5
| | |
* | | MergeRaymond Hettinger2011-03-238-24/+222
|\ \ \
| * \ \ Merge #11590: fix quoprimime decode handling of empty strings and line endings.R David Murray2011-03-232-3/+18
| |\ \ \ | | |/ /
| | * | Merge #11590: fix quoprimime decode handling of empty strings and line endings.R David Murray2011-03-232-3/+18
| | |\ \ | | | |/
| | | * #11590: fix quoprimime decode handling of empty strings and line endings.R David Murray2011-03-232-3/+18
| | | |
| * | | Allow "-j0" as an argument to regrtest, to automatically select anAntoine Pitrou2011-03-231-0/+7
| | | | | | | | | | | | | | | | appropriate number of parallel workers.
| * | | Fix transmitting warning options to the children when running tests inAntoine Pitrou2011-03-231-3/+2
| | | | | | | | | | | | | | | | parallel (thanks Michael for pointing this).
| * | | Merge #11589: add additional tests for the email quoprimime module.R David Murray2011-03-231-14/+178
| |\ \ \ | | |/ /
| | * | Merge #11589: add additional tests for the email quoprimime module.R David Murray2011-03-231-14/+178
| | |\ \ | | | |/
| | | * #11589: add additional tests for the email quoprimime module.R David Murray2011-03-231-14/+178
| | | | | | | | | | | | | | | | Patch by Michael Henry.
| * | | Issue #11244: Remove outdated peepholer check that was preventing the ↵Mark Dickinson2011-03-234-4/+17
| | | | | | | | | | | | | | | | peepholer from folding -0 and -0.0. Thanks Eugene Toder for the patch.
* | | | Expose the namedtuple source with a _source attribute.Raymond Hettinger2011-03-233-53/+20
| | | |
* | | | Move namespace setup inside the template.Raymond Hettinger2011-03-231-2/+7
|/ / /
* | | Fix set representation in an example.Raymond Hettinger2011-03-231-1/+1
| | |
* | | Minor named tuple clean-ups.Raymond Hettinger2011-03-232-42/+42
| | |
* | | Factor-out named tuple class definition template strings.Raymond Hettinger2011-03-231-51/+60
| | |
* | | Branch mergeÉric Araujo2011-03-236-5/+36
|\ \ \
| * \ \ Merge from 3.2.Éric Araujo2011-03-231-2/+5
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | The fix was already present in 3.3, but I merged two small changes recommended by Raymond while I was working on the 2.7 patch to ease future merges.
| * | | | Do not touch sys.path when site is imported and python was started with -S.Éric Araujo2011-03-236-5/+36
| | | | | | | | | | | | | | | | | | | | | | | | | Original patch by Carl Meyer, review by Brett Cannon, small doc editions by yours truly. Fixes #11591.
* | | | | Merge from 3.2Éric Araujo2011-03-231-2/+5
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Branch mergeÉric Araujo2011-03-231-2/+5
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | Merge from 3.1.Éric Araujo2011-03-231-2/+5
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | The fix was already committed to 3.2, but I merged two small changes recommended by Raymond while I was working on the 2.7 patch to ease future merges.
| | | * | Fix obscure set crashers (#8420). Backport of d56b3cafb1e6, reviewed by ↵Éric Araujo2011-03-232-10/+57
| | | | | | | | | | | | | | | | | | | | Raymond.
* | | | | Use transient_internet() consistently in test_imaplibAntoine Pitrou2011-03-231-12/+16
|\ \ \ \ \ | |/ / / / | | | | / | |_|_|/ |/| | |
| * | | Use transient_internet() consistently in test_imaplibAntoine Pitrou2011-03-231-12/+16
| |/ /
* | | Issue #10610: Document that int(), float(), and complex() accept numeric ↵Raymond Hettinger2011-03-231-40/+46
|\ \ \ | |/ / | | | | | | literals with the Nd property.
| * | Issue #10610: Document that int(), float(), and complex() accept numeric ↵Raymond Hettinger2011-03-231-40/+46
| |\ \ | | |/ | | | | | | literals with the Nd property.
| | * Issue #10610: Document that int(), float(), and complex() accept numeric ↵Raymond Hettinger2011-03-231-40/+46
| | | | | | | | | | | | literals with the Nd property.
* | | Issue #10771: Clarify that descriptors get used in an *owner* class or one ↵Raymond Hettinger2011-03-221-4/+5
|\ \ \ | |/ / | | | | | | of its parents.
| * | Issue #10771: Clarify that descriptors get used in an *owner* class or one ↵Raymond Hettinger2011-03-221-4/+5
| |\ \ | | |/ | | | | | | of its parents.
| | * Issue #10771: Clarify that descriptors get used in an *owner* class or one ↵Raymond Hettinger2011-03-221-4/+5
| | | | | | | | | | | | of its parents.