Brett Cannon
a7468bc5c6
Have importlib use the repr of a module name in error messages.
...
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 .
2011-03-23 16:06:00 -07:00
Antoine Pitrou
f3c524d535
Issue #11653 : fix -W with -j in regrtest.
2011-03-23 23:05:07 +01:00
Antoine Pitrou
e44b1258ea
Add NEWS entry for 9aa6097131ef
2011-03-23 23:02:31 +01:00
Antoine Pitrou
293954dd76
Issue #11653 : fix -W with -j in regrtest
2011-03-23 23:01:49 +01:00
Raymond Hettinger
15d0c1d073
Minor clean-ups.
2011-03-23 14:38:39 -07:00
Raymond Hettinger
28dff61287
Add news entry for the _source attribute created by namedtuple.
2011-03-23 13:05:02 -07:00
Raymond Hettinger
41da10e62c
Merge
2011-03-23 12:53:32 -07:00
Raymond Hettinger
2ebea41d31
Expose the namedtuple source with a _source attribute.
2011-03-23 12:52:23 -07:00
R David Murray
5839b9635c
Merge #11590 : fix quoprimime decode handling of empty strings and line endings.
2011-03-23 15:37:26 -04:00
R David Murray
523b41c4b3
Merge #11590 : fix quoprimime decode handling of empty strings and line endings.
2011-03-23 15:27:04 -04:00
R David Murray
cafd79d904
#11590 : fix quoprimime decode handling of empty strings and line endings.
2011-03-23 15:25:55 -04:00
Antoine Pitrou
6ab79d9d5b
Allow "-j0" as an argument to regrtest, to automatically select an
...
appropriate number of parallel workers.
2011-03-23 20:17:45 +01:00
Antoine Pitrou
5066b03361
Fix transmitting warning options to the children when running tests in
...
parallel (thanks Michael for pointing this).
2011-03-23 20:10:18 +01:00
Raymond Hettinger
843a751369
Move namespace setup inside the template.
2011-03-23 11:49:56 -07:00
R David Murray
3dcf745a61
Merge #11589 : add additional tests for the email quoprimime module.
2011-03-23 14:29:49 -04:00
R David Murray
3d9e973abd
Merge #11589 : add additional tests for the email quoprimime module.
2011-03-23 14:27:18 -04:00
R David Murray
ec1b5b88ee
#11589 : add additional tests for the email quoprimime module.
...
Patch by Michael Henry.
2011-03-23 14:19:05 -04:00
Mark Dickinson
7c9e803284
Issue #11244 : Remove outdated peepholer check that was preventing the peepholer from folding -0 and -0.0. Thanks Eugene Toder for the patch.
2011-03-23 17:59:37 +00:00
Raymond Hettinger
ba7b560c1d
Fix set representation in an example.
2011-03-22 22:57:49 -07:00
Raymond Hettinger
b2d0945c87
Minor named tuple clean-ups.
2011-03-22 22:36:21 -07:00
Raymond Hettinger
fef854602b
Factor-out named tuple class definition template strings.
2011-03-22 21:14:41 -07:00
Éric Araujo
e84c4df786
Branch merge
2011-03-23 04:53:10 +01:00
Éric Araujo
83e7a2b7db
Merge from 3.2
2011-03-23 04:52:45 +01:00
Éric Araujo
bd626d4e84
Branch merge
2011-03-23 04:52:08 +01:00
Éric Araujo
97054cf0b5
Merge from 3.2.
...
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.
2011-03-23 04:40:51 +01:00
Éric Araujo
bbcfc1f2d9
Merge from 3.1.
...
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.
2011-03-23 03:43:22 +01:00
Antoine Pitrou
c28af1f05f
Use transient_internet() consistently in test_imaplib
2011-03-23 03:11:21 +01:00
Antoine Pitrou
924cbea467
Use transient_internet() consistently in test_imaplib
2011-03-23 03:10:14 +01:00
Éric Araujo
48049911d6
Fix obscure set crashers ( #8420 ). Backport of d56b3cafb1e6, reviewed by Raymond.
2011-03-23 02:08:07 +01:00
Éric Araujo
c09fca67e7
Do not touch sys.path when site is imported and python was started with -S.
...
Original patch by Carl Meyer, review by Brett Cannon, small doc editions by
yours truly. Fixes #11591 .
2011-03-23 02:06:24 +01:00
Raymond Hettinger
f59c7b2bdd
Issue #10610 : Document that int(), float(), and complex() accept numeric literals with the Nd property.
2011-03-22 17:34:28 -07:00
Raymond Hettinger
b1aef23316
Issue #10610 : Document that int(), float(), and complex() accept numeric literals with the Nd property.
2011-03-22 17:33:53 -07:00
Raymond Hettinger
c706dbfa67
Issue #10610 : Document that int(), float(), and complex() accept numeric literals with the Nd property.
2011-03-22 17:33:17 -07:00
Raymond Hettinger
941b2c99f6
Issue #10771 : Clarify that descriptors get used in an *owner* class or one of its parents.
2011-03-22 16:27:57 -07:00
Raymond Hettinger
2052978e9a
Issue #10771 : Clarify that descriptors get used in an *owner* class or one of its parents.
2011-03-22 16:27:31 -07:00
Raymond Hettinger
3b654be1a4
Issue #10771 : Clarify that descriptors get used in an *owner* class or one of its parents.
2011-03-22 16:27:02 -07:00
Raymond Hettinger
09cbadd005
Issue 10787: Document the probability density function for random.gammavariate.
2011-03-22 15:57:03 -07:00
Raymond Hettinger
27f870982f
Issue 10787: Document the probability density function for random.gammavariate.
2011-03-22 15:56:41 -07:00
Raymond Hettinger
a8e4d6eb6e
Issue 10787: Document the probability density function for random.gammavariate.
2011-03-22 15:55:51 -07:00
Raymond Hettinger
1aa8743d1c
Issue 10988: fix description of super's descriptor call.
2011-03-22 15:33:40 -07:00
Raymond Hettinger
f047164f64
Issue 10988: fix description of super's descriptor call.
2011-03-22 15:33:02 -07:00
Raymond Hettinger
b199b2262c
Issue 10988: fix description of super's descriptor call.
2011-03-22 15:28:45 -07:00
Raymond Hettinger
74b015e243
Clean-up whitespace.
2011-03-22 14:22:52 -07:00
Raymond Hettinger
3e82ae0aae
Replace **locals() with explicit field names.
2011-03-22 14:21:38 -07:00
Raymond Hettinger
9a3f4cbfc3
Simplify the named tuple template by using the new string format syntax.
2011-03-22 14:07:23 -07:00
Raymond Hettinger
50105d3840
Improve readability by replacing '\n' in template with real newlines.
2011-03-22 13:34:03 -07:00
Raymond Hettinger
c46759ad0b
Issue #11333 : Add __slots__ to the collections ABCs.
2011-03-22 11:46:25 -07:00
Antoine Pitrou
7969d3334f
Merge
2011-03-22 18:34:21 +01:00
Antoine Pitrou
36920354c7
Merge
2011-03-22 18:33:33 +01:00
Antoine Pitrou
8e5e942c59
Use shorter timings in test_concurrent_futures to make it a bit faster
...
(it's still very slow)
2011-03-22 18:30:30 +01:00