Martin Panter
3ee6270262
Fix typos in code comment and documentation
2016-06-04 04:57:19 +00:00
R David Murray
11aaa42d1c
psuedo merge: #22797 : clarify when URLErrors are raised by urlopen.
...
I'm not sure how my previous merge commit got screwed up, hopefully this
one will do the right thing.
2016-06-03 15:40:29 -04:00
R David Murray
21dcb932a7
#22797 : clarify when URLErrors are raised by urlopen.
2016-06-03 13:29:17 -04:00
Senthil Kumaran
194a4a245a
[merge from 3.5] - issue27113 - Document "check_same_thread" parameter in sqlite3.connect api.
...
Patch contributed by Dave Sawyer.
2016-06-03 00:04:28 -07:00
Senthil Kumaran
7ee91942b4
issue27113 - Document "check_same_thread" parameter in sqlite3.connect api.
...
Patch contributed by Dave Sawyer.
2016-06-03 00:03:48 -07:00
Senthil Kumaran
464afee749
[merge from 3.5] - issue8519 - Reference termios and ioctl manual pages in the library documentation.
2016-06-02 23:50:02 -07:00
Senthil Kumaran
0779129302
issue8519 - Reference termios and ioctl manual pages in the library documentation.
2016-06-02 23:49:05 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
287e687648
issue25931: document that socketserver.Forking* are unavailable on platforms
...
lacking os.fork().
2016-06-03 05:44:47 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
3498db1f78
merge 3.5
2016-06-03 00:33:02 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
583a1d6240
Document that CalledProcessError.returncode is the negative
...
signal number when the process died due to a signal.
2016-06-03 00:31:21 +00:00
R David Murray
3bad04ca62
Merge: #26829 : Clarify that namespace is copied to a new __dict__ in instance creation.
2016-06-02 20:06:13 -04:00
R David Murray
dd4fcf52f4
#26829 : Clarify that namespace is copied to a new __dict__ in instance creation.
...
Patch by Emily Morehouse.
2016-06-02 20:05:43 -04:00
Tommy Beadle
e9b8403a1f
[Issue 15476] Make "code object" its own entry in the index
2016-06-02 19:26:51 -04:00
Berker Peksag
ca4589e932
Issue #16192 : Merge from 3.5
2016-06-02 15:28:29 -07:00
Berker Peksag
8891dfe717
Issue #16192 : Fix copy and paste mistake noticed by Eryk Sun
2016-06-02 15:28:00 -07:00
Ethan Furman
cdc0879d3a
issue27186 -- initial docs, tests, and python version of os.fspath
2016-06-02 15:06:09 -07:00
Tommy Beadle
63b91e5403
Issue #24617 : Add comment for os.mkdir about mode quirks
2016-06-02 15:41:20 -04:00
R David Murray
e747dd89b6
Merge: #13784 : fix xml.sax.reader getColumn/LineNumber docs.
2016-06-02 15:15:12 -04:00
Berker Peksag
d612920484
Issue #16192 : Merge from 3.5
2016-06-02 12:18:21 -07:00
Berker Peksag
d85a1e6b55
Issue #16192 : Clarify when c_int is an alias to c_long in ctypes documentation
2016-06-02 12:17:51 -07:00
R David Murray
f86959d883
#13784 : fix xml.sax.reader getColumn/LineNumber docs.
...
verification and patch by Emily Morehouse.
2016-06-02 15:14:30 -04:00
Kushal Das
9cd39a170b
Issue #21271 : Adds new keyword only parameters in reset_mock call
...
We now have two keyword only parameters in the reset_mock function to
selectively reset the return_value or the side_effects, or both.
2016-06-02 10:20:16 -07:00
Berker Peksag
fa6de5cddf
Issue #12243 : Merge from 3.5
2016-06-01 18:26:50 -07:00
Berker Peksag
1b207c55a4
Issue #12243 : Remove redundant availability notes from getpass docs
...
Patch by Bryce Verdier.
2016-06-01 18:26:18 -07:00
Martin Panter
f9de40666c
Issue #25570 : Merge add_header() example from 3.5
2016-06-01 08:17:27 +00:00
Martin Panter
7aaaded8f4
Issue #25570 : Add example of customizing User-Agent via add_header()
2016-06-01 08:10:50 +00:00
Zachary Ware
d6ce44c412
Merge with 3.5
2016-06-01 00:01:21 -05:00
Zachary Ware
f9aff925e0
Fix typo
2016-06-01 00:01:10 -05:00
Martin Panter
e514093a2f
Issue #27125 : Merge typo fixes from 3.5
2016-05-30 05:24:49 +00:00
Martin Panter
a90a4a9651
Issue #27125 : Remove duplicated words from documentation and comments
2016-05-30 04:04:50 +00:00
Senthil Kumaran
96ebb8431a
[merge from 3.5] issue27043 - Explain the inspect.cleandoc behavior on synopsis line and other lines.
...
Patch contributed by Nathan Harold.
2016-05-29 20:37:54 -07:00
Senthil Kumaran
ebd84e342c
issue27043 - Explain the inspect.cleandoc behavior on synopsis line and other lines.
...
Patch contributed by Nathan Harold.
2016-05-29 20:36:58 -07:00
Serhiy Storchaka
8c740c4d19
Improved docs for issue27033. Based on comments by R. David Murray.
2016-05-29 23:43:24 +03:00
Martin Panter
e501a93c18
Issue #27125 : Merge typo fixes from 3.5
...
Also merge changes from Issue #27117 ; no actual code changes to 3.6.
2016-05-29 09:05:06 +00:00
Martin Panter
8d56c026a5
Issue #27125 : Fix various errors like “will [be] inherited”
2016-05-29 04:13:35 +00:00
Martin Panter
82069612ec
Issue #27124 : Merge binascii doc from 3.5
2016-05-29 00:56:02 +00:00
Martin Panter
58dd7648de
Issue #27124 : Fix documentation of exception raised by a2b_hex()
2016-05-29 00:48:54 +00:00
Eric Snow
dc4f7c09cc
Issue #27147 : Mention PEP 420 in the importlib docs.
2016-05-28 11:08:20 -07:00
Eric Snow
338502b307
Issue #27147 : Mention PEP 420 in the importlib docs.
2016-05-28 11:56:53 -06:00
Raymond Hettinger
672866d009
Issue 25926: Clarify that the pure python equivalents are only approximate.
2016-05-28 00:17:54 -07:00
Raymond Hettinger
819581b843
Issue 25926: Clarify that the pure python equivalents are only approximate.
2016-05-28 00:10:56 -07:00
Martin Panter
5f7110304c
Issue #26553 : Merge capitalization from 3.5
2016-05-28 02:25:07 +00:00
Martin Panter
fe289c0f6f
Issue #26553 : Capitalization of HTTP, HTTPS, FTP, and URL
...
Patch by Anish Shah and Aatish Neupane.
2016-05-28 02:20:39 +00:00
Martin Panter
c249221dfd
Issue #20699 : Merge io bytes-like fixes from 3.5
2016-05-28 01:07:08 +00:00
Martin Panter
6bb91f3b6e
Issue #20699 : Document that “io” methods accept bytes-like objects
...
This matches the usage of ZipFile and BufferedWriter. This still requires
return values to be bytes() objects.
Also document and test that the write() methods should only access their
argument before they return.
2016-05-28 00:41:57 +00:00
Martin Panter
5677aa75f0
Issue #5784 : Merge zlib from 3.5
2016-05-27 11:30:59 +00:00
Martin Panter
c618ae8ed7
Issue #5784 : wbits=0 apparently added in zlib v1.2.3.5
2016-05-27 11:20:21 +00:00
Martin Panter
f4affb71bc
Issue #5784 : Merge zlib from 3.5
2016-05-27 08:00:24 +00:00
Martin Panter
0fdf41d847
Issue #5784 : Expand documentation and tests for zlib wbits parameter
...
Based on documentation by AM Kuchling.
2016-05-27 07:32:11 +00:00
Martin Panter
f157982b2c
Issue #27076 : More doc and comment spelling fixes for 3.6, by Ville Skyttä
2016-05-26 06:03:33 +00:00
Steve Dower
4d4bc42c8b
Closes #23026 : Documentation improvements and code formatting
2016-05-25 11:26:07 -07:00
Steve Dower
80ac11d01e
Issue #23026 : winreg.QueryValueEx() now return an integer for REG_QWORD type. (Patch by hakril)
2016-05-24 15:42:04 -07:00
Serhiy Storchaka
b0f80b0312
Issue #26647 : Python interpreter now uses 16-bit wordcode instead of bytecode.
...
Patch by Demur Rumed.
2016-05-24 09:15:14 +03:00
Berker Peksag
bab6d16ef3
Issue #27075 : Link to StreamReader and StreamWriter docs
...
Patch by Ville Skyttä.
2016-05-21 14:56:53 +03:00
Berker Peksag
732ba821ca
Issue #27075 : Link to StreamReader and StreamWriter docs
...
Patch by Ville Skyttä.
2016-05-21 14:56:35 +03:00
Victor Stinner
5a48e21ff1
subprocess now emits a ResourceWarning warning
...
Issue #26741 : subprocess.Popen destructor now emits a ResourceWarning warning
if the child process is still running.
2016-05-20 12:11:15 +02:00
Guido van Rossum
03e6061956
Back out pathlib.Path.path attr. (Merge 3.5->3.6)
2016-05-19 13:11:17 -07:00
Guido van Rossum
387e6e3817
Back out pathlib.Path.path attr. (Merge 3.4->3.5)
2016-05-19 13:10:20 -07:00
Guido van Rossum
3d4d01f614
Back out 7e9605697dfc, 2e3c31ab586a, 759b2cecc289.
...
These added a path attribute to pathlib.Path objects, and docs.
Instead, we're going to use PEP 519.
(Starting in the 3.4 branch and merging forward from there since that's what I did originally.)
2016-05-19 13:00:21 -07:00
Serhiy Storchaka
c9736b4bdf
Issue #27036 : Fixed formatting references to "bytes-like object" in plural.
2016-05-18 13:55:11 +03:00
Serhiy Storchaka
e5ea1abf91
Issue #27036 : Fixed formatting references to "bytes-like object" in plural.
2016-05-18 13:54:54 +03:00
Yury Selivanov
f979d55886
Merge 3.5
2016-05-16 16:23:20 -04:00
Yury Selivanov
950204df9c
docs: Update asyncio docs & whatsnew
2016-05-16 16:23:00 -04:00
Serhiy Storchaka
cbcc2fd641
Issue #27033 : The default value of the decode_data parameter for
...
smtpd.SMTPChannel and smtpd.SMTPServer constructors is changed to False.
2016-05-16 09:36:31 +03:00
Serhiy Storchaka
4ecfa455ae
Expand abbreviations FIFO and LIFO.
2016-05-16 09:31:54 +03:00
Serhiy Storchaka
98019e1cf6
Issue #27034 : Removed deprecated class asynchat.fifo.
2016-05-16 09:10:43 +03:00
Serhiy Storchaka
f47fc5553b
Issue #26039 : Document ZipInfo.is_dir() and make force_zip64 keyword-only.
...
Patch by Thomas Kluyver.
2016-05-15 12:27:16 +03:00
Martin Panter
f0dbf7a6ab
Issue #26870 : Add readline.set_auto_history(), originally by Tyler Crompton
2016-05-15 01:26:25 +00:00
Martin Panter
4dd27f0adc
Issue #25533 : Merge frozen module docs from 3.5
2016-05-15 00:41:40 +00:00
Martin Panter
f47a400347
Issue #25533 : Update documentation regarding the frozen modules table
...
* "ctypes" documentation was using Python 2 bytes-str equivalence.
* PyImport_FrozenModules is a pointer to const as of Python 3.4
2016-05-15 00:13:04 +00:00
Serhiy Storchaka
18ee29d0b8
Issue #26039 : zipfile.ZipFile.open() can now be used to write data into a ZIP
...
file, as well as for extracting data. Patch by Thomas Kluyver.
2016-05-13 13:52:49 +03:00
Serhiy Storchaka
c499f30286
Issue #23921 : Standardized documentation whitespace formatting.
...
Original patch by James Edwards.
2016-05-10 12:01:56 +03:00
Serhiy Storchaka
dba903993a
Issue #23921 : Standardized documentation whitespace formatting.
...
Original patch by James Edwards.
2016-05-10 12:01:23 +03:00
Martin Panter
1ce738e08f
Merge typo fixes from 3.5
2016-05-08 14:02:35 +00:00
Martin Panter
4c35964b76
Corrections for a/an in code comments and documentation
2016-05-08 13:53:41 +00:00
Martin Panter
129fe04d4d
Issue #26512 : Clarify Integral; tidy up table of rounding functions
...
Based on patch by Julien.
2016-05-08 12:22:37 +00:00
Martin Panter
18933ed6ab
Issue #26512 : Merge rounding doc from 3.5
2016-05-08 12:34:58 +00:00
Serhiy Storchaka
1acbf853c8
Issue #26736 : Used HTTPS for external links in the documentation if possible.
2016-05-07 10:49:58 +03:00
Serhiy Storchaka
6dff0205b7
Issue #26736 : Used HTTPS for external links in the documentation if possible.
2016-05-07 10:49:07 +03:00
Serhiy Storchaka
a5f3a50734
Issue #26889 : Fixed hyperlinks formatting.
2016-05-07 10:06:39 +03:00
Serhiy Storchaka
64099ea58e
Issue #26889 : Fixed hyperlinks formatting.
2016-05-07 10:05:02 +03:00
Serhiy Storchaka
72ac6a7675
Issue #26889 : Tweaked xmlrpc.client documentation.
2016-05-07 08:44:36 +03:00
Serhiy Storchaka
da7880ad95
Issue #26889 : Tweaked xmlrpc.client documentation.
2016-05-07 08:44:15 +03:00
Berker Peksag
9fc385748c
Issue #26957 : Remove duplicate 'the' from datetime documentation
...
Patch by Alex Chan.
2016-05-04 23:26:04 +03:00
Berker Peksag
bace976db1
Issue #26957 : Remove duplicate 'the' from datetime documentation
...
Patch by Alex Chan.
2016-05-04 23:25:44 +03:00
Terry Jan Reedy
478be14ec0
Merge with 3.5
2016-05-02 18:30:19 -04:00
Terry Jan Reedy
929d7f86d5
Clarify IDLE-console differences with respect to the sys module.
...
The reload(sys) effect was the crux of a Stackoverflow question.
2016-05-02 18:30:02 -04:00
Berker Peksag
955bc38b16
Issue #26322 : Document typing.Set, patch by Joseph Moran
2016-04-29 14:41:41 +03:00
Berker Peksag
5d6fd8c936
Issue #26322 : Document typing.Set, patch by Joseph Moran
2016-04-29 14:41:16 +03:00
Zachary Ware
a5ffa2e965
Closes #26875 : Merge with 3.5
2016-04-28 14:47:33 -05:00
Zachary Ware
42f740d854
Issue #26875 : Fix mmap example
...
Patch by Xiang Zhang.
2016-04-28 14:47:12 -05:00
Serhiy Storchaka
b275210a3b
Issue #25788 : fileinput.hook_encoded() now supports an "errors" argument
...
for passing to open. Original patch by Joseph Hackman.
2016-04-27 23:13:46 +03:00
Serhiy Storchaka
258a5d4dcb
fileinput.hook_encoded() uses builtin open(), not codecs.open().
2016-04-27 23:06:41 +03:00
Serhiy Storchaka
a87e6ba0ac
fileinput.hook_encoded() uses builtin open(), not codecs.open().
2016-04-27 23:06:15 +03:00
Martin Panter
a653a27591
Issue #20598 : Merge argparse docs from 3.5
2016-04-26 11:47:10 +00:00
Martin Panter
f5e60480b9
Issue #20598 : Replace trivial split() calls with lists in argparse docs
2016-04-26 11:41:25 +00:00
Raymond Hettinger
ab425aa9d3
Issue #16394 : Note the tee() pure python equivalent is only a rough approximation.
2016-04-26 00:10:00 -07:00
Senthil Kumaran
0996fa3bd8
merge 3.5
...
Issue #26804 : urllib.request will prefer lower_case proxy environment variables
over UPPER_CASE or Mixed_Case ones.
Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
2016-04-25 08:18:07 -07:00
Senthil Kumaran
a7c0ff2f0b
Issue #26804 : urllib.request will prefer lower_case proxy environment variables
...
over UPPER_CASE or Mixed_Case ones.
Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
2016-04-25 08:16:23 -07:00
Zachary Ware
3211595bef
Merge with 3.5
2016-04-25 09:27:49 -05:00