Zachary Ware
1151c8b7bf
Closes #22146 : Merge with 3.4
2014-08-05 14:02:11 -05:00
Zachary Ware
9b33872812
Issue #22146 : Fix typo in __build_class__ error message
2014-08-05 14:01:10 -05:00
Zachary Ware
037605b50e
Closes #22136 : Fix MSVC compiler warnings introduced by #22085
2014-08-05 11:54:34 -05:00
Martin v. Löwis
ec3af4e6aa
Issue #21972 : Make it clear that the PEP 401 future import works,
...
despite the PEP being rejected.
2014-08-05 17:56:52 +02:00
Barry Warsaw
7c549c4e64
- Issue #21539 : Add a *exists_ok* argument to `Pathlib.mkdir()` to mimic
...
`mkdir -p` and `os.makedirs()` functionality. When true, ignore
FileExistsErrors. Patch by Berker Peksag.
(With minor cleanups, additional tests, doc tweaks, etc. by Barry)
Also:
* Remove some unused imports in test_pathlib.py reported by pyflakes.
2014-08-05 11:28:12 -04:00
Martin v. Löwis
17fd1e1013
Issue #22127 : fix typo.
2014-08-05 16:13:50 +02:00
Martin v. Löwis
18874a9e13
Issue #22127 : Bypass IDNA for pure-ASCII host names (in particular for numeric IPs).
2014-08-05 16:11:06 +02:00
Martin v. Löwis
eb1c28a849
Issue #22127 : Bypass IDNA for pure-ASCII host names (in particular for numeric IPs).
2014-08-05 16:10:38 +02:00
Larry Hastings
a73cb8a6b8
Issue #22120 : For functions using an unsigned integer return converter,
...
Argument Clinic now generates a cast to that type for the comparison
to -1 in the generated code. (This supresses a compilation warning.)
2014-08-05 19:55:21 +10:00
Vinay Sajip
57acacdfcf
Closes #22130 : Merged documentation update from 3.4.
2014-08-05 10:35:05 +01:00
Vinay Sajip
12d9ddf532
Issue #22130 : Corrected fileConfig() documentation.
2014-08-05 10:34:16 +01:00
Larry Hastings
b1dc112dca
More fixes for the unhappy AMD FreeBSD 9 buildbot. Fingers crossed.
2014-08-05 16:06:16 +10:00
Larry Hastings
548095cd4f
Fix for AMD FreeBSD 9 buildbot (hopefully), broken by my last checkin.
2014-08-05 16:00:03 +10:00
Ezio Melotti
cdc7e667d3
#21928 : merge with 3.4.
2014-08-05 08:14:59 +03:00
Ezio Melotti
67f6d5f4d0
#21928 : clarify functools.wraps docs.
2014-08-05 08:14:28 +03:00
Larry Hastings
2f93635d34
Issue #20170 : Convert posixmodule to use Argument Clinic.
2014-08-05 14:04:04 +10:00
Ezio Melotti
0020d8e4fd
#11955 : merge with 3.4.
2014-08-05 02:24:28 +03:00
Ezio Melotti
12b7f48216
#11955 : show the list of args in case of error in test_argparse.
2014-08-05 02:24:03 +03:00
Ezio Melotti
48b8e4afd1
#18034 : merge with 3.4.
2014-08-04 19:34:57 +03:00
Ezio Melotti
e4aad5ab32
#18034 : update FAQ to suggest importlib.import_module instead of __import__. Patch by Wouter van Heyst.
2014-08-04 19:34:29 +03:00
Zachary Ware
17c336284d
Closes #22104 : Merge with 3.4
2014-08-04 11:18:23 -05:00
Zachary Ware
69fb6a41c5
Issue #22104 : Don't hold a reference to the loaded TestSuite in runtest_inner
2014-08-04 11:15:10 -05:00
Ezio Melotti
c734c387de
#20977 : merge with 3.4.
2014-08-04 17:17:21 +03:00
Ezio Melotti
d577480197
#20977 : fix undefined name in the email module. Patch by Rose Ames.
2014-08-04 17:16:49 +03:00
Ezio Melotti
b398d3e441
#18588 : merge with 3.4.
2014-08-04 17:01:48 +03:00
Ezio Melotti
591176e544
#18588 : update the timeit examples to be consistent.
2014-08-04 17:01:16 +03:00
Raymond Hettinger
f5b182160d
merge
2014-08-04 00:21:36 -07:00
Raymond Hettinger
c6f22cc0a6
Remove unused leftover stray line
2014-08-04 00:21:11 -07:00
Raymond Hettinger
2b24884f18
merge
2014-08-03 23:44:59 -07:00
Raymond Hettinger
c0de59bfc3
Fix markup.
2014-08-03 23:44:30 -07:00
Raymond Hettinger
c3361b9ae1
merge
2014-08-03 23:39:20 -07:00
Raymond Hettinger
c566431bf0
Improve regex tokenizer example by using re.finditer().
...
Also, improve variable names and fix column numbers
in the generated output.
2014-08-03 23:38:54 -07:00
Raymond Hettinger
bbeac6ebd8
Use two-argument form of next() and use a return-statement instead of an explicit raise StopIteration
2014-08-03 22:49:07 -07:00
Raymond Hettinger
ae39fbdd84
Make the import private to keep the global namespace clean.
2014-08-03 22:40:59 -07:00
Raymond Hettinger
f25a38e568
Use reversed() instead of creating a new temporary list.
2014-08-03 22:36:32 -07:00
Terry Jan Reedy
5427df266b
Merge with 3.4
2014-08-03 23:03:16 -04:00
Terry Jan Reedy
4036d87f4d
PEP 8 spacing in idlelib.configDialog: mostly a = b in assignments,
...
a, b in arg lists, and hanging indents for long arg lists.
2014-08-03 23:02:58 -04:00
Jason R. Coombs
1ab3dc92f2
Issue #13540 : Merge changes from 3.4
2014-08-03 15:27:18 -04:00
Jason R. Coombs
b3d4c212f7
Issue #13540 : Merge changes from 3.3
2014-08-03 15:26:58 -04:00
Jason R. Coombs
89e186f24e
Issue #13540 : Merge changes from 3.2
2014-08-03 15:26:32 -04:00
Jason R. Coombs
79690ac1d0
Issue #13540 : Update references to Action class to match syntax used for other classes in this file.
2014-08-03 14:54:11 -04:00
Raymond Hettinger
183e6efb3a
merge
2014-08-02 22:32:33 -07:00
Raymond Hettinger
400daedb13
Fix whitespace in example.
2014-08-02 22:32:10 -07:00
Raymond Hettinger
2389cd5f2b
Fix whitespace in example.
2014-08-02 22:30:26 -07:00
Ezio Melotti
045160bc39
#15114 , #21047 : update whatsnew in Python 3.5.
2014-08-02 18:54:30 +03:00
Ezio Melotti
6fc16d81af
#21047 : set the default value for the *convert_charrefs* argument of HTMLParser to True. Patch by Berker Peksag.
2014-08-02 18:36:12 +03:00
Ezio Melotti
11bec7a1b8
Add an __all__ to html.entities.
2014-08-02 15:15:02 +03:00
Ezio Melotti
73a4359eb0
#15114 : the strict mode and argument of HTMLParser, HTMLParser.error, and the HTMLParserError exception have been removed.
2014-08-02 14:10:30 +03:00
Terry Jan Reedy
ffff1440d1
Issue #22077 : Improve index error messages for bytearrays, bytes, lists, and
...
tuples by adding 'or slices'. Added ', not <typename' for bytearrays.
Original patch by Claudiu Popa.
2014-08-02 01:30:37 -04:00
Charles-François Natali
7f9cc9359b
Issue #22110 : Enable extra compilation warnings.
2014-08-01 21:57:49 +01:00