Ned Deily
29020b155a
Issue #22320 : Fix broken link in the General Python FAQ.
...
Original patch by Josh Lynn.
2014-09-01 00:06:18 -07:00
Guido van Rossum
cfd4661e78
Closes #21527 : Add default number of workers to ThreadPoolExecutor. (Claudiu Popa.)
2014-09-02 10:39:18 -07:00
Benjamin Peterson
7809569a2e
sigma actually works in latex...
2014-09-01 18:26:22 -04:00
Benjamin Peterson
7df46aaf32
try to pick a unicode char that latex understands
2014-09-01 18:04:02 -04:00
Benjamin Peterson
5fb161f170
a more universal unicode char example
2014-09-01 17:59:18 -04:00
Ned Deily
a847eddea9
Issue #22320 : merge from 3.4
2014-09-01 00:08:00 -07:00
Victor Stinner
41c13ce50a
(Merge 3.4) Closes #22275 : asyncio: enhance documentation of OS support
2014-08-31 14:47:56 +02:00
Victor Stinner
41f3c3f226
Closes #22275 : asyncio: enhance documentation of OS support
2014-08-31 14:47:37 +02:00
Benjamin Peterson
c187f15bb7
merge 3.4 ( closes #22307 )
2014-08-30 21:06:00 -04:00
Benjamin Peterson
e218bcbf39
getuid() returns real process id not effective ( closes #22307 )
2014-08-30 21:04:15 -04:00
Victor Stinner
e863739e61
(Merge 3.4) Issue #22063 : Fix asyncio documentation of socket and pipe
...
operations regarding to non-blocking mode. The non-blocking mode does not
matter when using a ProactorEventLoop, only for SelectorEventLoop.
2014-08-26 01:02:28 +02:00
Victor Stinner
d84fd73de2
Issue #22063 : Fix asyncio documentation of socket and pipe operations regarding
...
to non-blocking mode. The non-blocking mode does not matter when using a
ProactorEventLoop, only for SelectorEventLoop.
2014-08-26 01:01:59 +02:00
Victor Stinner
54c69c2fe3
(Merge 3.4) asyncio, tulip issue 203: Add _FlowControlMixin.get_write_buffer_limits()
...
method
2014-08-26 00:23:23 +02:00
Victor Stinner
52bb949fd3
asyncio, tulip issue 203: Add _FlowControlMixin.get_write_buffer_limits() method
2014-08-26 00:22:28 +02:00
Victor Stinner
3597befd68
(Merge 3.4) asyncio: update the doc
...
* dev: mention that the logging must be configured at DEBUG level
* streams: drain() has no more a strange return value, it's just
a standard coroutine
2014-08-25 17:04:37 +02:00
Victor Stinner
d71dcbb043
asyncio: update the doc
...
* dev: mention that the logging must be configured at DEBUG level
* streams: drain() has no more a strange return value, it's just
a standard coroutine
2014-08-25 17:04:12 +02:00
Antoine Pitrou
cdcafb78b2
Issue #16808 : inspect.stack() now returns a named tuple instead of a tuple.
...
Patch by Daniel Shahaf.
2014-08-24 10:50:28 -04:00
Terry Jan Reedy
fa6e73bac9
Merge with 3.4
2014-08-23 22:22:07 -04:00
Terry Jan Reedy
ee55826072
Issue #13540 : add missing markup.
2014-08-23 22:21:47 -04:00
Terry Jan Reedy
523136937f
Merge with 3.4
2014-08-23 19:29:58 -04:00
Terry Jan Reedy
65e3ecb3e2
Issue #22243 : fix except grammar in reference.
2014-08-23 19:29:47 -04:00
Terry Jan Reedy
8d2d8894da
Merge with 3.4
2014-08-23 18:29:02 -04:00
Terry Jan Reedy
004e87048a
Issue #22232 (partial fix): update Universal newlines Glossary entry.
2014-08-23 18:28:44 -04:00
Nick Coghlan
b51b1345bd
Merge PEP 466 What's New in 2.7 changes from 3.4
2014-08-23 14:48:22 +10:00
Nick Coghlan
a5bbc2ea3d
Forward port PEP 466 What's New in 2.7 updates
2014-08-23 14:47:47 +10:00
Antoine Pitrou
ef3b9ed0ac
Issue #2527 : Add a *globals* argument to timeit functions, in order to override the globals namespace in which the timed code is executed.
...
Patch by Ben Roberts.
2014-08-22 23:13:50 -04:00
Berker Peksag
adc5634193
Issue #22150 : Fix deprecated-removed directive in Sphinx 1.2.
2014-08-22 18:25:16 +03:00
Berker Peksag
eb265ab873
Issue #22150 : Fix deprecated-removed directive in Sphinx 1.2.
2014-08-22 18:24:29 +03:00
Antoine Pitrou
55ac5b3f7b
Issue #22118 : Switch urllib.parse to use RFC 3986 semantics for the resolution of relative URLs, rather than RFCs 1808 and 2396.
...
Patch by Demian Brecht.
2014-08-21 19:16:17 -04:00
Serhiy Storchaka
a7eb746278
Issue #21549 : Added the "members" parameter to TarFile.list().
2014-08-21 10:01:16 +03:00
Benjamin Peterson
344ff4ab2b
allow recursion depth to be specified ( closes #19628 )
...
Patch from Claudiu Popa.
2014-08-19 16:13:26 -05:00
Nick Coghlan
eed671910f
Clarify ord() and chr() documentation
2014-08-17 14:07:53 +10:00
Zachary Ware
05b90a54d9
Closes #22178 : Merge with 3.4
2014-08-11 15:01:28 -05:00
Zachary Ware
f9dd274692
Issue #22178 : Fix the date of the Windows epoch (Jan 1, 1601).
2014-08-11 15:00:48 -05:00
Victor Stinner
337e03ff78
Issue #22112 , asyncio doc: replace loop.create_task(coro) with
...
asyncio.async(coro), mention that asyncio.async() can be used to scheduler a
coroutine, and make it clear that create_task() is only available in Python
3.4.2 and later.
2014-08-11 01:11:13 +02:00
Raymond Hettinger
ac191ce1d3
Issue #22174 : Clean-up grammar and ambiguities in property() docs.
2014-08-10 10:41:25 -07:00
Raymond Hettinger
31b3683d9b
Issue #22180 : Remove weak example
2014-08-10 10:33:03 -07:00
R David Murray
2539e6744b
#21725 : Add RFC 6531 (SMTPUTF8) support to smtpd.
...
Patch by Milan Oberkirch, developed as part of his 2014 GSOC project.
Note that this also fixes a bug in mock_socket ('getpeername' was returning a
simple string instead of the tuple required for IPvX protocols), a bug in
DebugServer with respect to handling binary data (should have been fixed when
decode_data was introduced, but wasn't found until this patch was written),
and a long-standing bug in DebugServer (it was printing an extra blank line at
the end of the displayed message text).
2014-08-09 16:40:49 -04:00
Berker Peksag
ae04ba1952
Fix usage of the versionchanged directive.
...
Patch by Akira Li.
2014-08-11 18:10:25 +03:00
Victor Stinner
03f536ec2e
(Merge 3.4) Issue #22112 , asyncio doc: replace loop.create_task(coro) with
...
asyncio.async(coro), mention that asyncio.async() can be used to scheduler a
coroutine, and make it clear that create_task() is only available in Python
3.4.2 and later.
2014-08-11 01:11:27 +02:00
Raymond Hettinger
ed16b2e5ab
merge
2014-08-10 10:41:52 -07:00
Raymond Hettinger
939c8133d4
merge
2014-08-10 10:33:28 -07:00
Nick Coghlan
a887d23a86
Merge #21777 from 3.4
2014-08-09 16:19:41 +10:00
Nick Coghlan
e4936b830c
Issue #21777 : separate docs for binary sequence methods
2014-08-09 16:14:04 +10:00
Ezio Melotti
7d02a98f78
#22170 : merge with 3.4.
2014-08-08 17:24:06 +03:00
Ezio Melotti
79a1ffde9b
#22170 : avoid printing newlines twice in tutorial example.
2014-08-08 17:23:32 +03:00
Benjamin Peterson
bd592417f4
add matrix multiplication operator to correct lists ( closes #22142 )
2014-08-06 22:50:30 -07:00
Serhiy Storchaka
f3440c6881
Issue #5411 : Fixed version number.
2014-08-06 18:55:54 +03:00
Serhiy Storchaka
1121377cdb
Issue #5411 : Added support for the "xztar" format in the shutil module.
2014-08-06 18:50:19 +03: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
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
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
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
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
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
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
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
Victor Stinner
25e014bd91
Issue #18395 , #22108 : Update embedded Python examples to decode correctly
...
command line parameters: use Py_DecodeLocale() and PyUnicode_DecodeFSDefault().
2014-08-01 12:28:49 +02:00
Victor Stinner
f6a271ae98
Issue #18395 : Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename
...
``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these
functions.
2014-08-01 12:28:48 +02:00
Victor Stinner
115171086a
Issue #22018 : On Windows, signal.set_wakeup_fd() now also supports sockets.
...
A side effect is that Python depends to the WinSock library.
2014-07-29 23:31:34 +02:00
Victor Stinner
c6aceeed29
(Merge 3.4) Issue #22063 : Mention in asyncio documentation that socket
...
operations require the socket to be non-blocking
2014-07-29 23:12:34 +02:00
Victor Stinner
ec2ce092a2
Issue #22063 : Mention in asyncio documentation that socket operations require
...
the socket to be non-blocking
2014-07-29 23:12:22 +02:00
Victor Stinner
1db9e7bb19
Issue #22054 : Add os.get_blocking() and os.set_blocking() functions to get and
...
set the blocking mode of a file descriptor (False if the O_NONBLOCK flag is
set, True otherwise). These functions are not available on Windows.
2014-07-29 22:32:47 +02:00
Andrew Svetlov
83e6675c0d
Document lock parameter for asyncio.Condition()
2014-07-26 19:53:38 +03:00
Andrew Svetlov
f200ce6333
Document lock parameter for asyncio.Condition()
2014-07-26 19:50:37 +03:00
Zachary Ware
b27d3a2d21
Closes #22072 : Merge typo fixes from 3.4
2014-07-25 13:31:36 -05:00
Zachary Ware
88a1977a08
Issue #22072 : Fix a couple of SSL doc typos. Patch by Alex Gaynor.
2014-07-25 13:30:50 -05:00
Nick Coghlan
efd5df9e52
Issue #21947 : handle generator-iterator objects in dis
...
Patch by Clement Rouault.
2014-07-25 23:02:56 +10:00
Victor Stinner
1d8948e023
Backout 42ced0d023cd: oops, i didn't want to push this changeset :-/
2014-07-24 22:51:05 +02:00
Victor Stinner
d18ccd19f0
tets
2014-07-24 21:58:53 +02:00
Victor Stinner
316b16de13
(Merge 3.4) Issue #16133 : The asynchat.async_chat.handle_read() method now
...
ignores BlockingIOError exceptions. Initial patch written by Xavier de Gaye.
Document also in asyncore documentation that recv() may raise BlockingIOError.
2014-07-24 19:00:28 +02:00
Victor Stinner
45cff66cf6
Issue #16133 : The asynchat.async_chat.handle_read() method now ignores
...
BlockingIOError exceptions. Initial patch written by Xavier de Gaye.
Document also in asyncore documentation that recv() may raise BlockingIOError.
2014-07-24 18:49:36 +02:00
Victor Stinner
e1d24f7ec3
Issue #21813 : Enhance documentation of the os.stat_result class.
2014-07-24 12:44:07 +02:00
Victor Stinner
992019c006
Backport os.rst documentation from Python 3.5.
2014-07-24 12:42:45 +02:00
Victor Stinner
6d4f4feca2
Issue #21813 : Enhance documentation of the os.stat_result class.
2014-07-24 12:42:16 +02:00
Andrew Svetlov
eb14455877
Merge 3.4: Fix incomplete sentence in asyncio docs.
2014-07-24 11:36:54 +03:00
Andrew Svetlov
ca4f34366a
Fix incomplete sentence in asyncio docs.
2014-07-24 11:36:33 +03:00
Terry Jan Reedy
3b1bcedd57
Merge with 3.4
2014-07-24 02:59:17 -04:00
Terry Jan Reedy
9ff41803af
Asyncio doc fixes: spelling, grammar, duplication.
2014-07-24 02:59:02 -04:00
Terry Jan Reedy
2e57dcc87e
Merge with 3.4
2014-07-24 02:33:32 -04:00
Terry Jan Reedy
c935a9530c
Englich grammar nit.
2014-07-24 02:33:14 -04:00
Terry Jan Reedy
ed82613ca0
Merge with 3.4
2014-07-23 20:30:41 -04:00
Terry Jan Reedy
9f5388f24f
Fix doc example bug reported on python-list by Akshay Verma.
2014-07-23 20:30:29 -04:00
Zachary Ware
f886697659
Closes #22002 : Merge with 3.4
2014-07-23 12:06:47 -05:00