Berker Peksag
fe4c01268c
Fix typo in xml.dom.pulldom.rst
...
Reported by Matthew Cole on docs@p.o.
2016-03-30 16:29:01 +03:00
Berker Peksag
13b3acd13e
Fix typo in xml.dom.pulldom.rst
...
Reported by Matthew Cole on docs@p.o.
2016-03-30 16:28:43 +03:00
Andrew Svetlov
50e648a06d
Merge 3.5
2016-03-29 09:39:22 +03:00
Andrew Svetlov
6f57424ae0
Document None as timeout for asyncio.timeout()
2016-03-29 09:39:02 +03:00
Martin Panter
eba25880f8
Issue #25314 : Merge argparse doc from 3.5
2016-03-28 06:13:52 +00:00
Martin Panter
ef4bb1e994
Issue #23804 : Merge SSL zero read fix from 3.5
2016-03-28 01:09:13 +00:00
Martin Panter
f6b1d66a3c
Issue #23804 : Fix SSL recv/read(0) to not return 1024 bytes
2016-03-28 00:22:09 +00:00
Berker Peksag
f841909f09
Issue #23758 : Improve num_params docs of create_{function,aggregate} functions
...
If you pass -1, the callable can take any number of arguments.
Added tests to verify the behavior.
Initial patch by Cédric Krier.
2016-03-27 22:39:41 +03:00
Berker Peksag
fa0f62d6ab
Issue #23758 : Improve num_params docs of create_{function,aggregate} functions
...
If you pass -1, the callable can take any number of arguments.
Added tests to verify the behavior.
Initial patch by Cédric Krier.
2016-03-27 22:39:14 +03:00
Berker Peksag
b61b0f13b5
Document sqlite3.Cursor.close()
...
The behaviour of the close method is tested by ClosedCurTests
in Lib/sqlite3/test/dbapi.py.
This is basically a backport of https://github.com/ghaering/pysqlite/issues/73 .
2016-03-27 21:51:22 +03:00
Berker Peksag
f70fe6f6cf
Document sqlite3.Cursor.close()
...
The behaviour of the close method is tested by ClosedCurTests
in Lib/sqlite3/test/dbapi.py.
This is basically a backport of https://github.com/ghaering/pysqlite/issues/73 .
2016-03-27 21:51:02 +03:00
Berker Peksag
598b198ca6
sqlite3 documentation: Connection.iterdump() is a method
2016-03-27 18:46:42 +03:00
Berker Peksag
557a06309c
sqlite3 documentation: Connection.iterdump() is a method
2016-03-27 18:46:18 +03:00
Victor Stinner
a6d865c128
Issue #25654 :
...
* multiprocessing: open file with closefd=False to avoid ResourceWarning
* _test_multiprocessing: open file with O_EXCL to detect bugs in tests (if a
previous test forgot to remove TESTFN)
* test_sys_exit(): remove TESTFN after each loop iteration
Initial patch written by Serhiy Storchaka.
2016-03-25 09:29:50 +01:00
Terry Jan Reedy
4c181cf448
Merge with 3.5
2016-03-23 13:37:15 -04:00
Terry Jan Reedy
01a9a958b6
Issue #26525 : Change chr example to match change in ord example.
2016-03-23 13:36:52 -04:00
Victor Stinner
404cdc5a92
faulthandler: add Windows exception handler
...
Issue #23848 : On Windows, faulthandler.enable() now also installs an exception
handler to dump the traceback of all Python threads on any Windows exception,
not only on UNIX signals (SIGSEGV, SIGFPE, SIGABRT).
2016-03-23 10:39:17 +01:00
Victor Stinner
e19558af1b
Add a source parameter to warnings.warn()
...
Issue #26604 :
* Add a new optional source parameter to _warnings.warn() and warnings.warn()
* Modify asyncore, asyncio and _pyio modules to set the source parameter when
logging a ResourceWarning warning
2016-03-23 00:28:08 +01:00
Victor Stinner
e492ae50e2
tracemalloc now supports domains
...
Issue #26588 :
* The _tracemalloc now supports tracing memory allocations of multiple address
spaces (domains).
* Add domain parameter to tracemalloc_add_trace() and
tracemalloc_remove_trace().
* tracemalloc_add_trace() now starts by removing the previous trace, if any.
* _tracemalloc._get_traces() now returns a list of (domain, size,
traceback_frames): the domain is new.
* Add tracemalloc.DomainFilter
* tracemalloc.Filter: add an optional domain parameter to the constructor and a
domain attribute
* Sublte change: use Py_uintptr_t rather than void* in the traces key.
* Add tracemalloc_config.use_domain, currently hardcoded to 1
2016-03-22 12:58:23 +01:00
Terry Jan Reedy
063d48d9c0
Issue #26525 : Change ord example from nu to more easily recognized Euro sign.
2016-03-20 21:18:40 -04:00
Terry Jan Reedy
4902c46bff
Issue #15660 : Further clarify 0 prefix for width specifier in formats.
2016-03-20 21:05:57 -04:00
Terry Jan Reedy
5decb84454
Merge with 3.5
2016-03-20 21:18:54 -04:00
Terry Jan Reedy
370764a824
Merge with 3.5
2016-03-20 21:06:15 -04:00
Berker Peksag
3c3d7f4b99
Issue #18787 : spwd.getspnam() now raises a PermissionError if the user
...
doesn't have privileges.
2016-03-19 11:44:17 +02:00
Victor Stinner
914cde89d4
On ResourceWarning, log traceback where the object was allocated
...
Issue #26567 :
* Add a new function PyErr_ResourceWarning() function to pass the destroyed
object
* Add a source attribute to warnings.WarningMessage
* Add warnings._showwarnmsg() which uses tracemalloc to get the traceback where
source object was allocated.
2016-03-19 01:03:51 +01:00
Brett Cannon
5936313651
Issue #26252 : Add an example on how to register a finder
2016-03-18 11:54:22 -07:00
Ezio Melotti
6840632ef2
#26250 : merge with 3.5.
2016-03-18 20:11:30 +02:00
Ezio Melotti
62564dbb4b
#26250 : document the sqlite3.Cursor.connection attribute. Initial patches by Aviv Palivoda and Varpu Rantala.
2016-03-18 20:10:36 +02:00
Serhiy Storchaka
ee6471ec90
Fixed a typo.
2016-03-18 14:37:53 +02:00
Serhiy Storchaka
774006232a
Fixed a typo.
2016-03-18 14:36:47 +02:00
Berker Peksag
b3fe1c488f
Issue #26580 : Remove outdated reference to ftpmirror
...
Patch by SilentGhost.
2016-03-18 14:26:29 +02:00
Berker Peksag
42f8548c89
Issue #26580 : Remove outdated reference to ftpmirror
...
Patch by SilentGhost.
2016-03-18 14:26:08 +02:00
Martin Panter
ce911c3fed
Issue #26499 : Fixes to HTTPResponse.readline() and read1(), by Silent Ghost
2016-03-17 06:42:48 +00:00
Martin Panter
32f2eb4941
Issue #21042 : Revert Linux find_library() to return just filename
...
This reverts most of revision 3092cf163eb4. The change worked on x86
architectures, but did not work on ARM, probably due to extra ABI flags in
the ldconfig output.
2016-03-17 07:50:22 +00:00
Martin Panter
ec195fba5b
Issue #26499 : Merge HTTPResponse fix from 3.5
2016-03-17 07:05:34 +00:00
Victor Stinner
8a20851010
Issue #25654 :
...
* multiprocessing: open file with closefd=False to avoid ResourceWarning
* _test_multiprocessing: open file with O_EXCL to detect bugs in tests (if a
previous test forgot to remove TESTFN)
* test_sys_exit(): remove TESTFN after each loop iteration
Initial patch written by Serhiy Storchaka.
2016-03-25 09:29:50 +01:00
Raymond Hettinger
5f6209a3c6
merge
2016-03-13 00:12:49 -08:00
Raymond Hettinger
a503f7092f
Minor recipe edit: convert "while 1" to "while True".
2016-03-13 00:12:31 -08:00
Ezio Melotti
0ce835fc7e
#25687 : merge with 3.5.
2016-03-13 09:40:55 +02:00
Ezio Melotti
8dea74f12a
#25687 : clarify that errors in tearDown increase the total number of reported errors. Initial patch by HyeSoo Park.
2016-03-13 09:40:09 +02:00
Raymond Hettinger
7dc830e988
merge
2016-03-12 22:58:44 -08:00
Raymond Hettinger
4d02896609
Issue #26548 : Minor fix to awkward wording in docs
2016-03-12 22:58:24 -08:00
Steve Dower
6d6b986d90
Issue #23606 : Adds note to ctypes documentation regarding cdll.msvcrt.
2016-03-12 08:26:29 -08:00
Steve Dower
d669b6bd0a
Issue #23606 : Adds note to ctypes documentation regarding cdll.msvcrt.
2016-03-12 08:25:22 -08:00
Berker Peksag
eb2e02bed4
Issue #26542 : Fix markup of code example in difflib documentation
...
Patch by Dmitry Shachnev.
2016-03-11 23:19:48 +02:00
Victor Stinner
2c2a4e63d7
Add Mock.assert_called()
...
Issue #26323 : Add assert_called() and assert_called_once() methods to
unittest.mock.Mock.
2016-03-11 22:17:48 +01:00
Berker Peksag
82442b7022
Issue #26542 : Fix markup of code example in difflib documentation
...
Patch by Dmitry Shachnev.
2016-03-11 23:20:09 +02:00
Martin Panter
b9f3114d42
Issue #21042 : Return full path in ctypes.util.find_library() on Linux
...
Patch by Tamás Bence Gedai.
2016-03-10 01:06:23 +00:00
Serhiy Storchaka
674e2d0ea0
Issue #15068 : Got rid of excessive buffering in fileinput.
...
The bufsize parameter is now deprecated and ignored.
2016-03-08 18:35:19 +02:00
Serhiy Storchaka
cc2dbc5844
Issue #15068 : Got rid of excessive buffering in the fileinput module.
...
The bufsize parameter is no longer used.
2016-03-08 18:28:36 +02:00
Berker Peksag
5b96d66ac6
Issue #21034 : Remove outdated paragraph from venv documentation
...
Since Python 3.4, there is no need to install pip and setuptools
into a venv manually.
2016-03-07 18:51:06 +02:00
Berker Peksag
777d639a92
Issue #21034 : Remove outdated paragraph from venv documentation
...
Since Python 3.4, there is no need to install pip and setuptools
into a venv manually.
2016-03-07 18:50:49 +02:00
Raymond Hettinger
20b3e72b8d
Merge
2016-03-06 18:12:08 -08:00
Raymond Hettinger
e525ee3b48
Document another recipe for itertools: all_equal(). Inspired by David Beazley.
2016-03-06 18:11:38 -08:00
Alexander Belopolsky
a2998a63c8
Closes #19475 : Added timespec to the datetime.isoformat() method.
...
Added an optional argument timespec to the datetime isoformat() method
to choose the precision of the time component.
Original patch by Alessandro Cucci.
2016-03-06 14:58:43 -05:00
Berker Peksag
6282e656e9
Issue #26335 : Make mmap.write() return the number of bytes written like
...
other write methods.
Patch by Jakub Stasiak.
2016-03-02 19:30:18 +02:00
Georg Brandl
3902d62c4e
merge with 3.5
2016-02-26 19:37:52 +01:00
Georg Brandl
5d94134040
Closes #25910 : fix dead and permanently redirected links in the docs. Thanks to SilentGhost for the patch.
2016-02-26 19:37:12 +01:00
Georg Brandl
eb73563f48
merge with 3.5
2016-02-26 19:16:43 +01:00
Georg Brandl
32fbd3a623
Closes #26442 : fix copy-paste.
2016-02-26 19:16:40 +01:00
Georg Brandl
def4ff6a64
merge with 3.5
2016-02-26 19:14:56 +01:00
Georg Brandl
adeffcc2f9
Closes #26444 : typo fixes.
2016-02-26 19:13:47 +01:00
Martin Panter
de9b27d908
Issue #26390 : Merge pbkdf2_hmac() doc from 3.5
2016-02-26 00:41:38 +00:00
Georg Brandl
6d6dd73aec
merge with 3.5
2016-02-25 20:18:00 +01:00
Georg Brandl
8c16cb9f65
Closes #26435 : fix syntax in directives. Thanks to Jakub Stasiak.
2016-02-25 20:17:45 +01:00
Martin Panter
150ea1a1df
Issue #22088 : Merge base64 docs from 3.5
2016-02-24 01:08:43 +00:00
Martin Panter
ee3074e1f4
Issue #22088 : Clarify base-64 alphabets and which characters are discarded
...
* There are only two base-64 alphabets defined by the RFCs, not three
* Due to the internal translation, plus (+) and slash (/) are never discarded
* standard_ and urlsafe_b64decode() discard characters as well
Also update the doc strings to clarify data types, based on revision
92760d2edc9e, correct the exception raised by b16decode(), and correct the
parameter name for the base-85 functions.
2016-02-23 22:30:50 +00:00
Martin Panter
fe93283fe1
Issue #26261 : Merge NamedTemporaryFile docs from 3.5
2016-02-22 10:10:55 +00:00
Martin Panter
1f0e1f3cbb
Issue #26261 : Clarify NamedTemporaryFile name attribute vs file.name
2016-02-22 10:10:00 +00:00
Martin Panter
bc85e35fe6
Issue #26390 : Fix and test pbkdf2_hmac() parameter names
...
Based on patch by Daan Bakker.
2016-02-22 09:21:49 +00:00
Martin Panter
0d34530fe0
Merge XML-RPC client documentation from 3.5
2016-02-22 09:05:19 +00:00
Martin Panter
1c5e715d8f
Fix errors in XML-RPC client example code
...
* http.client.HTTP (does not exist in Python 3) → HTTPConnection
* Server (deprecated) → ServerProxy
* Transport.send_request() grew a new “debug” parameter in Python 3 (revision
a528f7f8f97a)
2016-02-22 09:04:22 +00:00
Berker Peksag
42b33a4d14
Issue #26401 : Fix compile() documentation
...
After 25032ec29315, compile() will raise a ValueError
if source contains null bytes.
Patch by SilentGhost.
2016-02-21 22:00:29 +02:00
Berker Peksag
0334c3c735
Issue #26401 : Fix compile() documentation
...
After 25032ec29315, compile() will raise a ValueError
if source contains null bytes.
Patch by SilentGhost.
2016-02-21 22:00:12 +02:00
Martin Panter
d9108d1253
Issue #23430 : Stop socketserver from catching SystemExit etc from handlers
...
Also make handle_error() consistently output to stderr, and fix the
documentation.
2016-02-21 08:49:56 +00:00
Brett Cannon
86a8be00ed
Fix a name in an example
2016-02-20 18:47:09 -08:00
Brett Cannon
4cbab346df
Issue #26397 : Update an importlib example to use util.module_from_spec() instead of create_module()
2016-02-20 18:45:56 -08:00
Brett Cannon
fe1941ebf8
Merge w/ 3.5
2016-02-20 18:40:18 -08:00
Brett Cannon
27c712e149
List what classes from importlib.machinery don't work with importlib.util.LazyLoader
2016-02-20 18:40:02 -08:00
Martin Panter
2d2d08d2cc
Issue #22468 : Merge gettarinfo() doc from 3.5
2016-02-19 23:46:59 +00:00
Martin Panter
f817a48d17
Issues #22468 , #21996 , #22208 : Clarify gettarinfo() and TarInfo usage
...
* The Windows-specific binary notice was probably a Python 2 thing
* Make it more obvious gettarinfo() is based on stat(), and that non-ordinary
files may need special care
* The file name must be text; suggest dummy arcname as a workaround
* Indicate TarInfo may be used directly, not just via gettarinfo()
2016-02-19 23:34:56 +00:00
Georg Brandl
7db1d16209
merge with 3.5
2016-02-19 08:57:50 +01:00
Georg Brandl
92849d1721
Closes #20169 : fix inner links random doc.
2016-02-19 08:57:38 +01:00
Martin Panter
be1aec752d
Issue #15608 : Merge socketserver doc from 3.5
2016-02-19 03:35:00 +00:00
Martin Panter
eac17b8955
Issue #15608 : Improve socketserver module documentation
...
* Add headings for each concrete and mix-in class and list methods and
attributes under them
* Fix class and method cross references
* Changed RequestHandler to BaseRequestHandler and added class heading
* Pull out Stream/DatagramRequestHandler definitions
* Reordered the request handler setup(), handle(), finish() methods
* Document constructor parameters for the server classes
* Remove version 2.6 not relevant for Python 3 documentation
2016-02-19 03:27:46 +00:00
Berker Peksag
31a252b7f3
Issue #16915 : Clarify that mode parameter of socket.makefile() does not accept
...
the same values as open().
2016-02-18 17:34:32 +02:00
Berker Peksag
3fe64d0c5c
Issue #16915 : Clarify that mode parameter of socket.makefile() does not accept
...
the same values as open().
2016-02-18 17:34:00 +02:00
Ned Deily
5ab2699c28
Issue #26368 : fix typo in asynchio stream doc, reported by Ryan Stuart.
2016-02-16 13:27:45 +11:00
Ned Deily
f38c93fb7f
Issue #26368 : fix typo in asynchio stream doc, reported by Ryan Stuart.
2016-02-16 13:27:04 +11:00
Martin Panter
bc1ee460dc
Issue #25179 : Documentation for formatted string literals aka f-strings
...
Some of the inspiration and wording is taken from the text of PEP 498 by Eric
V. Smith, and the existing str.format() documentation.
2016-02-13 00:41:37 +00:00
Serhiy Storchaka
ffe96ae10b
Issue #25994 : Added the close() method and the support of the context manager
...
protocol for the os.scandir() iterator.
2016-02-11 13:21:30 +02:00
Serhiy Storchaka
885bdc4946
Issue #25985 : sys.version_info is now used instead of sys.version
...
to format short Python version.
2016-02-11 13:10:36 +02:00
Guido van Rossum
e93b06a0a3
Hopefully clarify the difference between Optional[t] and an optional argument.
2016-02-10 09:48:58 -08:00
Guido van Rossum
3fb5612e08
Hopefully clarify the difference between Optional[t] and an optional argument.
2016-02-10 09:46:56 -08:00
Martin Panter
3008b1c4bb
Issue #26304 : Merge doc wording from 3.5
2016-02-10 05:44:56 +00:00
Martin Panter
c04fb56e36
Issue #26304 : Change "allows to <verb>" to "allows <verb>ing" or similar
...
The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
2016-02-10 05:44:01 +00:00
Martin Panter
1fe0d13d12
Issue #26243 : zlib.compress() keyword argument support by Aviv Palivoda
2016-02-10 10:06:36 +00:00
Martin Panter
96a4f07107
Issues #26310 , #26311 : Fix typos in the documentation and code comments
2016-02-10 01:17:51 +00:00
Martin Panter
263c448a2e
Issues #26310 , 26311: Merge typo fixes from 3.5
2016-02-10 01:18:36 +00:00
Gregory P. Smith
b8e5eb31ea
Clarify "cardinality of" as "number of elements in" as many readers do
...
not have a math vocabulary.
2016-02-08 09:59:00 -08:00
Gregory P. Smith
e27403b75f
Clarify "cardinality of" as "number of elements in" as many readers do
...
not have a math vocabulary.
2016-02-08 09:58:40 -08:00
Martin Panter
d5db14794b
Issue #25179 : Preparatory cleanup of existing docs on string formatting
...
* Various sections were pointing to the section on the string.Formatter
class, when the section on the common format string syntax is probably more
appropriate
* Fix references to various format() functions and methods
* Nested replacement fields may contain conversions and format specifiers,
and this is tested; see Issue #19729 for instance
2016-02-08 01:34:09 +00:00
Serhiy Storchaka
503f908090
Issue #26039 : Added zipfile.ZipInfo.from_file() and zipinfo.ZipInfo.is_dir().
...
Patch by Thomas Kluyver.
2016-02-08 00:02:25 +02:00
Martin Panter
46988d3659
Merge string formatting doc fixes from 3.5
2016-02-08 01:49:35 +00:00
Zachary Ware
71e8134f20
Merge with 3.5
2016-02-02 17:04:56 -06:00
Zachary Ware
3df11b2bd6
Fix typo.
...
Reported by Jon Tetlak on docs@
2016-02-02 17:04:41 -06:00
Martin Panter
8254f793c0
Issue #26244 : Merge zlib documentation from 3.5
2016-02-03 07:52:06 +00:00
Martin Panter
567d513b9b
Issue #26244 : Clarify default zlib compression level in documentation
...
Based on patch by Aviv Palivoda.
2016-02-03 07:06:33 +00:00
Raymond Hettinger
a63897164e
merge
2016-02-01 21:21:19 -08:00
Raymond Hettinger
b00da57561
Issue #26194 : Inserting into a full deque to raise an IndexError
2016-02-01 21:19:22 -08:00
Victor Stinner
59fe937c50
Merge 3.5 (doc)
2016-01-31 18:36:52 +01:00
Victor Stinner
5f0c5d92ef
Enhance os.scandir() doc
...
Issue #26248 , patch written by Ben Hoyt:
1) Clarify that the return values of is_dir()/is_file()/etc are cached
separately for follow_symlinks True and False.
2) Be more specific about when the functions require a system call, and how it
relates to caching and follow_symlinks.
3) DRY up common stuff between is_dir and is_file by saying "Caching, system
calls made, and exceptions raised are as per is_dir" in is_file.
4) Tweak to the first paragraph of docs for is_dir/is_file to simplify: assume
the follow_symlinks=True default, then note the follow_symlinks=False
non-default case after.
2016-01-31 18:36:41 +01:00
Berker Peksag
89e54338d0
Issue #26242 : Fix another one in importlib.rst
2016-01-30 19:30:22 +02:00
Berker Peksag
fe5f614418
Issue #26242 : Fix another one in importlib.rst
2016-01-30 19:30:06 +02:00
Berker Peksag
da7e0d8b78
Fix a markup error in socket.rst
2016-01-30 19:23:46 +02:00
Berker Peksag
253739daf4
Fix a markup error in socket.rst
2016-01-30 19:23:29 +02:00
Martin Panter
9d48869fcc
Issue #19023 : Merge ctypes doc and tests from 3.5
2016-01-29 10:25:40 +00:00
Martin Panter
34360c8e09
Issue #19023 : Document ctypes array and pointer classes
...
Also add some more tests. Based on patch by Sye van der Veen.
2016-01-29 10:12:19 +00:00
Berker Peksag
0fe1b472ab
Issue #26199 : Fix broken link in unittest.mock-examples.rst
...
Patch by Raphael Das Gupta.
2016-01-28 08:40:21 +02:00
Berker Peksag
a370a4271e
Issue #26199 : Fix broken link in unittest.mock-examples.rst
...
Patch by Raphael Das Gupta.
2016-01-28 08:40:03 +02:00
Raymond Hettinger
0ef0423cb2
merge
2016-01-26 21:46:03 -08:00
Raymond Hettinger
3743432302
Issue #26194 : Fix undefined behavior for deque.insert() when len(d) == maxlen
2016-01-26 21:44:16 -08:00
Brett Cannon
52c854a838
Merge from 3.5
2016-01-22 14:05:41 -08:00
Brett Cannon
3bf1d87bbd
Fix a typo in a code example
2016-01-22 14:03:27 -08:00
Senthil Kumaran
cbde4a6924
merge from 3.5
...
minor clarification on Zipfile 'x' mode - exclusive creation of a file.
(Based on the feedback from docs@python.org list)
2016-01-21 21:08:25 -08:00
Senthil Kumaran
e5c05cc8c0
minor clarification on Zipfile 'x' mode - exclusive creation of a file.
2016-01-21 21:06:47 -08:00
Berker Peksag
2e15d60b83
Issue #18620 : Improve Pool examples in multiprocessing documentation
...
A single call to Pool.apply_async() will create only one process. To use all
of the pool's processes, it should be invoked multiple times:
with Pool(processes=4) as pool:
results = [pool.apply_async(func, ()) for i in range(4)]
Patch by Davin Potts.
2016-01-22 00:00:06 +02:00
Berker Peksag
7405c16533
Issue #18620 : Improve Pool examples in multiprocessing documentation
...
A single call to Pool.apply_async() will create only one process. To use all
of the pool's processes, it should be invoked multiple times:
with Pool(processes=4) as pool:
results = [pool.apply_async(func, ()) for i in range(4)]
Patch by Davin Potts.
2016-01-21 23:59:49 +02:00
Senthil Kumaran
316fcc867b
merge from 3.5
...
issue25982 - Add a class definition for managers.Namespace in the multiprocessing docs.
2016-01-20 03:11:52 -08:00
Senthil Kumaran
6a0514ea20
issue25982 - Add a class definition for managers.Namespace in the multiprocessing docs.
2016-01-20 03:10:13 -08:00
Berker Peksag
5d69e6871a
Issue #5626 : Remove misleading comment from socket.gethostname() documentation
...
A machine can have more than one IP addresses so
socket.gethostbyname(socket.gethostname()) probably won't return the correct
one.
2016-01-20 08:45:54 +02:00
Berker Peksag
744fdfbf9a
Issue #5626 : Remove misleading comment from socket.gethostname() documentation
...
A machine can have more than one IP addresses so
socket.gethostbyname(socket.gethostname()) probably won't return the correct
one.
2016-01-20 08:45:37 +02:00
Berker Peksag
4f49c1c38a
Issue #26157 : Fix typos in asyncio-eventloop.rst
...
Initial patch by Carlo Beccarini.
2016-01-20 07:14:43 +02:00
Berker Peksag
49c9edf3d9
Issue #26157 : Fix typos in asyncio-eventloop.rst
...
Initial patch by Carlo Beccarini.
2016-01-20 07:14:22 +02:00
Senthil Kumaran
3114d763fb
merge from 3.5
...
issue23962 - Reference the correct TimeoutError in concurrent.futures documentation.
Patch contributed by Ryder Lewis.
2016-01-18 18:45:54 -08:00
Senthil Kumaran
9e9f850f99
issue23962 - Reference the correct TimeoutError in concurrent.futures documentation.
...
Patch contributed by Ryder Lewis.
2016-01-18 18:45:00 -08:00
Serhiy Storchaka
9cc4ed5c7a
Issue #26129 : Deprecated accepting non-integers in grp.getgrgid().
2016-01-18 18:49:57 +02:00
Ethan Furman
2ae4ea54a2
use public 'value'
2016-01-16 12:39:53 -08:00
Senthil Kumaran
7b3a82ff55
Merge from 3.5
...
Issue26035 - Correct the argument names used in the docs of the traceback module. Make it consistent with module args.
Patch contributed by Upendra Kumar.
2016-01-15 21:46:08 -08:00
Senthil Kumaran
a82908f743
Issue26035 - Correct the argument names used in the docs of the traceback module. Make it consistent with module args.
...
Patch contributed by Upendra Kumar.
2016-01-15 21:45:17 -08:00
Martin Panter
2139a9fd27
Issue #26127 : Merge tokenize documentation
2016-01-16 04:34:50 +00:00
Martin Panter
20b1bfa6fb
Issue #26127 : Fix links in tokenize documentation; patch by Silent Ghost
2016-01-16 04:32:52 +00:00
Ethan Furman
60255b67b9
revert change 87a9dff5106c: pure Enum members again evaluate to True;
...
update Finer Points section of docs to cover boolean evaluation;
add more tests for pure and mixed boolean evaluation
2016-01-15 15:01:33 -08:00
Ezio Melotti
997e6c1dd8
#19006 : merge with 3.5.
2016-01-12 11:03:54 +02:00
Ezio Melotti
f418db2e8c
#19006 : fix wording in unittest docs.
2016-01-12 11:03:31 +02:00
Yury Selivanov
9179c40a9f
Merge 3.5 (issue #25486 )
2016-01-11 21:05:18 -05:00
Yury Selivanov
a7c159ddf3
Issue #25486 : Drop "removed in 3.6" wording from inspect.getargspec docs.
2016-01-11 21:04:50 -05:00
Ezio Melotti
d4d4f20284
#25991 : merge with 3.5.
2016-01-11 23:31:38 +02:00
Ezio Melotti
7c018aa377
#25991 : fix readline example to limit history size. Patch by Daniel Dye.
2016-01-11 23:30:56 +02:00
Yury Selivanov
37dc2b2883
Issue #25486 : Resurrect inspect.getargspec in 3.6. Backout a565aad5d6e1.
...
The decision is that we shouldn't remove popular APIs (however long they
are depreacted) from Python 3, while 2.7 is still around and supported.
2016-01-11 15:15:01 -05:00