Raymond Hettinger
4a9c637938
Second round of updates to the descriptor howto guide (GH-22946)
2020-10-24 20:34:39 -07:00
Raymond Hettinger
8e5b0fdce3
bpo-19072: Update descriptor howto for decorator chaining (GH-22934)
2020-10-23 18:37:27 -07:00
Raymond Hettinger
8d3d7314d4
Create a primer section for the descriptor howto guide (GH-22906)
2020-10-23 12:55:39 -07:00
Andre Delfino
e8a2076e14
Revert "Fix all Python Cookbook links ( #22205 )" (GH-22424)
...
This commit reverts commit ac0333e1e1
as the original links are working again and they provide extended features such as comments and alternative versions.
2020-09-27 01:47:25 +01:00
Andre Delfino
ac0333e1e1
Fix all Python Cookbook links ( #22205 )
2020-09-15 21:13:26 +01:00
Vinay Sajip
cdbff3527c
[doc] Update documentation on logging optimization. (GH-22075)
2020-09-03 19:44:12 +01:00
Victor Stinner
43577c01a2
bpo-40204: Fix Sphinx sytanx in howto/instrumentation.rst (GH-21858)
...
Use generic '.. object::' to declare markers, rather than abusing
'.. c:function::' which fails on Sphinx 3.
2020-08-13 19:15:38 +02:00
Yonatan Goldschmidt
f6a16e8a82
Remove incorrect mention of method.__class__ in descriptor docs (GH-21665)
2020-07-28 16:56:26 -07:00
kevin seelbach
714217f956
Fixes dead links to Django's logging config docs (GH-20823)
...
Fixes two outdated URLs to point at the current "stable" version of Django's logging documentation.
Automerge-Triggered-By: @vsajip
2020-06-14 10:23:47 -07:00
Rémi Lapeyre
7efb826c3e
Use f-strings in argparse HOWTO (GH-20070)
2020-05-20 21:22:59 -07:00
Mathieu Dupuy
65460565df
Doc: change 'Posix' for 'POSIX' (GH-20001)
2020-05-17 23:29:51 +02:00
amaajemyfren
8ea10a9446
closes bpo-40166: Change Unicode Howto so that it does not have a specific number of assigned code points. (GH-19328)
...
Change the number of code points from a specific number to a link to the latest standard that has a description of how many code points there are.
2020-04-06 23:16:02 -05:00
Benjamin Peterson
51796e5d26
Update some www.unicode.org URLs to use HTTPS. (GH-18912)
2020-03-10 21:10:59 -07:00
Slam
7598a93139
PyPy already supports Python 3 (GH-18774)
2020-03-06 11:08:17 +00:00
Julien Palard
35eac4500a
Doc: Fix external links to functional programming tutorial. (GH-18249)
2020-01-29 14:10:54 +01:00
Juhana Jauhiainen
8271441d8b
bpo-39374: Updated sorting documentation (GH-18177)
2020-01-25 14:18:58 -08:00
Oleg Höfling
e6ae90dede
Replace links in howto/pyporting.rst with sphinx references (GH-17781)
...
Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
2020-01-05 17:08:14 -05:00
Vinay Sajip
5383956583
bpo-38830: Correct slot signature in Qt example. (GH-17220)
2019-11-18 12:03:22 +00:00
Serhiy Storchaka
e835b31d2b
bpo-38600: NULL -> ``NULL``. (GH-17001)
...
Also fix some other formatting.
2019-10-30 21:37:16 +02:00
Greg Price
32a960f8e1
Correct Roman-numeral example in Unicode HOWTO. (GH-15541)
2019-09-08 12:42:13 +03:00
Serhiy Storchaka
5eca7f3f38
bpo-15999: Always pass bool instead of int to socket.setblocking(). (GH-15621)
2019-09-01 12:12:52 +03:00
Raymond Hettinger
03acba6f1a
bpo-25777: Wording describes a lookup, not a call (GH-15573)
2019-08-28 22:59:43 -07:00
Ethan Furman
77df9a1573
correct roman numeral VII description (GH-15523)
2019-08-26 09:12:50 -07:00
Vinay Sajip
472eced677
Refined Qt GUI example in the logging cookbook. (GH-15045)
2019-07-31 07:36:45 +01:00
Vinay Sajip
1ed915e8ae
Add Qt GUI example to the logging cookbook. (GH-14978)
2019-07-27 13:46:53 +01:00
Vinay Sajip
d309352c6f
Update logging cookbook to show multiple worker processes using the concurrent.futures module. ( #14905 )
2019-07-22 12:14:50 +01:00
Vinay Sajip
84de34e39e
bpo-32934: Clarified meaning of 'capacity' for BufferingHandler and MemoryHandler. (GH-14498)
2019-07-01 12:41:21 +01:00
Brad
8b2aa1fdde
Use `python -m pip install` in porting guide and venv docs (GH-13257)
...
This is to help prevent people from accidentally installing into the wrong Python interpreter if they are not aware of which Python interpreter `pip` points to.
2019-06-21 11:20:21 -07:00
Vinay Sajip
ca7b504a4d
bpo-37111: Add 'encoding' and 'errors' parameters to logging.basicCon… (GH-14008)
2019-06-17 17:40:52 +01:00
Serhiy Storchaka
e042a4553e
Do not use explicit inheritance from object in the documentation. (GH-13936)
2019-06-10 13:35:52 +03:00
Serhiy Storchaka
70c5f2ae6e
Use more PEP 570 syntax in the documentation. (GH-13720)
2019-06-01 11:38:24 +03:00
Steve Dower
b82e17e626
bpo-36842: Implement PEP 578 (GH-12613)
...
Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.
2019-05-23 08:45:22 -07:00
redshiftzero
f98c3c59c0
docs 36789: resolve incorrect note regarding UTF-8 (GH-13111)
2019-05-17 06:44:17 -04:00
Stéphane Wirtel
cbb6484573
Doc: Replace the deprecated highlightlang directive by highlight. ( #13377 )
...
highlightlang is deprecated since April 2018 in Sphinx.
See https://github.com/sphinx-doc/sphinx/pull/4845
2019-05-17 15:25:34 +05:30
redshiftzero
3b2f9ab31d
doc: fix broken link on howto/unicode page ( #13160 )
...
Thank you @redshiftzero on the first PR 👏
2019-05-10 00:43:39 +05:30
josh
a6de52c74d
bpo-32913: Added re.Match.groupdict example to regex HOWTO (GH-5821)
2019-04-17 15:43:30 -07:00
Shubham Aggarwal
abbdd1fc5c
bpo-23984: Improve descriptor documentation (GH-1034)
...
https://bugs.python.org/issue23984
2019-03-19 19:55:55 -07:00
Andrew Kuchling
97c288df61
bpo-20906: Various revisions to the Unicode howto ( #8394 )
...
* bpo-20906: Corrections & revisions to Unicode HOWTO
* bpo-34484: don't describe range as a Private Use Area
2019-03-03 23:10:28 -05:00
Raymond Hettinger
3bacf61265
bpo-35584: Clarify role of caret in a class class (GH-11946)
...
https://bugs.python.org/issue35584
2019-02-19 11:32:18 -08:00
yuji38kwmt
cda73a5af2
bpo-35781: Changed references to deprecated 'warn' method in logging documentation in favour of 'warning' (GH-11654)
2019-01-23 07:27:13 +00:00
Géry Ogam
f0c743604f
bpo-35722: Updated the documentation for the 'disable_existing_loggers' parameter (GH-11525)
2019-01-23 07:12:39 +00:00
Serhiy Storchaka
2b57c43f21
bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)
2018-12-19 08:09:46 +02:00
Serhiy Storchaka
3f819ca138
bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)
2018-10-31 02:26:06 +02:00
Stéphane Wirtel
12e696b4f0
bpo-35042: Use the :pep: role where a PEP is specified ( #10036 )
2018-10-26 15:58:26 -07:00
Benjamin Peterson
12d0ff1230
Remove ">>>" from testsetup. (GH-10017)
...
Fixes doc build breakage from 890a4b9293
.
2018-10-20 16:51:05 -07:00
Xtreak
890a4b9293
bpo-35020: Link to sorting examples from list.sort() (GH-9931)
2018-10-20 14:39:03 -07:00
Vinay Sajip
1a4a10d9f1
Added CLI starter example to logging cookbook. (GH-9910)
2018-10-16 12:36:52 +01:00
Cheryl Sabella
11c4eaa993
Remove recent from logging cookbook (GH-9636)
2018-10-02 09:35:05 -07:00
Géry Ogam
5b3cbcd4a0
Improved the more elaborate multiprocessing example in the logging cookbook (GH-9326)
2018-09-25 08:24:52 +01:00
Petr Viktorin
2d3ff2b5ea
bpo-24937: Replace the extension module porting HOWTO by links to external projects (GH-9317)
2018-09-24 12:42:33 +02:00
Andrés Delfino
271818fe27
Fix "Python" casing in a few places (GH-9001)
2018-09-14 10:13:09 -07:00
NotAFile
28ea4c2847
switch descriptor howto to return value annotation (GH-7796)
2018-09-10 14:35:38 -07:00
Rémy HUBSCHER
290a60bd8a
Revert "Fix misindented yaml in logging how to example (GH-8604)" (GH-9081)
...
This reverts commit 10b59f1b01
.
2018-09-10 17:07:15 +08:00
Rémy HUBSCHER
10b59f1b01
Fix misindented yaml in logging how to example (GH-8604)
2018-08-12 16:58:26 -07:00
Sergey Fedoseev
db8707c8ab
Make code examples in Functional Programming HOWTO to be PEP 8 compliant. (GH-8646)
2018-08-07 14:38:00 -07:00
Serhiy Storchaka
7cb7bcff20
bpo-20260: Implement non-bitwise unsigned int converters for Argument Clinic. (GH-8434)
2018-07-26 13:22:16 +03:00
Stig Johan Berggren
5e5bbbec46
bpo-34083: Update dict order in Functional HOWTO (GH-8230)
2018-07-11 18:53:07 +09:00
INADA Naoki
c6cd164cff
bpo-30660: Doc: Optimize PNG files by optipng (GH-8032)
...
Using OptiPNG 0.7.7.
Used command is: `find . -name '*.png' | xargs optipng -o7`
2018-07-01 16:02:52 +09:00
Serhiy Storchaka
0a36ac1a09
bpo-33641: Convert RFC references into links. (GH-7103)
...
85% of them are already links.
2018-05-31 07:39:00 +03:00
Aaron Hall, MBA
4054b172ab
bpo-26103: Fix inspect.isdatadescriptor() and a data descriptor definition. (GH-1959)
...
Look for '__set__' or '__delete__'.
2018-05-21 02:46:42 +03:00
Eitan Adler
9572132ab3
Docs: be less specific about python versions (GH-6985)
...
CPython 3.5 is old now, and we don't bump this version often,
so lets avoid using specific versions.
2018-05-20 17:38:01 +03:00
Stéphane Wirtel
19177fbd5d
bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814)
2018-05-15 14:58:35 -04:00
Vinay Sajip
c4994dc00d
bpo-33400: Clarified documentation to indicate no strict adherence to ISO 8601. (GH-6702)
2018-05-04 22:20:54 +01:00
Andrés Delfino
c89b221758
Remove to-be-deprecated urllib.request.urlretrieve function reference ( #6454 )
2018-04-16 07:02:56 -07:00
Serhiy Storchaka
46936d5a71
Improve highlighting of some code blocks. (GH-6401)
2018-04-08 19:18:04 +03:00
Cheryl Sabella
66771422d0
bpo-32614: Modify re examples to use a raw string to prevent warning (GH-5265)
...
Modify RE examples in documentation to use raw strings to prevent DeprecationWarning.
Add text to REGEX HOWTO to highlight the deprecation. Approved by Serhiy Storchaka.
2018-02-02 16:16:27 -05:00
Sanyam Khurana
338cd83c5d
bpo-25910: Link redirections in docs ( #1933 )
...
Fixes some redirection links in docs.
2018-01-20 01:25:37 +01:00
Serhiy Storchaka
fbb490fd2f
bpo-32308: Replace empty matches adjacent to a previous non-empty match in re.sub(). ( #4846 )
2018-01-04 11:06:13 +02:00
jimmy
4f29f3c84b
trivial: link updates in documentation ( #2765 )
2017-12-13 14:37:51 +02:00
Sanyam Khurana
1b4587a246
bpo-25910: Fixes redirection from http to https ( #4674 )
2017-12-06 17:39:33 +01:00
Mandeep Bhutani
610e5afdcb
bpo-30004: Fix the code example of using group in Regex Howto Docs (GH-4443)
...
The provided code example was supposed to find repeated words, however it returned false results.
2017-11-24 20:56:00 -08:00
Berker Peksag
12d60560ac
Add version{changed,added} markers and make minor style changes (GH-4273)
2017-11-04 15:17:56 +03:00
Serhiy Storchaka
cd195e2a7a
bpo-31714: Improved regular expression documentation. ( #3907 )
2017-10-14 11:14:26 +03:00
Serhiy Storchaka
0b5e61ddca
bpo-30397: Add re.Pattern and re.Match. ( #1646 )
2017-10-04 20:09:49 +03:00
Christian Heimes
3d2b407da0
bpo-31574: importlib dtrace ( #3749 )
...
Importlib was instrumented with two dtrace probes to profile import timing.
Signed-off-by: Christian Heimes <christian@python.org>
2017-09-29 15:53:19 -07:00
Raymond Hettinger
0d4497b9ca
bpo-23702: Update Descriptor-HOWTO to reflect the removal of unbound methods ( #3739 )
2017-09-25 01:05:49 -07:00
Pablo Galindo
586c0502b5
bpo-31294: Fix ZeroMQSocketListener and ZeroMQSocketHandler examples ( #3229 )
...
* Fix ZeroMQSocketListener and ZeroMQSocketHandler examples
* Use send_json and recv_json to simplify pyzmq interfacing
* Add News entry
2017-09-07 13:53:13 -07:00
Lisa Hewus Fresh
384899dfae
bpo-30737: Update DevGuide links to new URL (GH-3228)
...
Update old devguide links from https://docs.python.org/devguide to https://devguide.python.org
2017-08-30 09:37:43 -07:00
Brett Cannon
a3110a0133
Fix a minor grammar issue in the logging cookbook (GH-3136)
2017-08-18 10:00:31 -07:00
waxmoon
d439d3e291
Minor typo in curses.rst ( #2763 )
...
I found a tiny typo in the curses how-to: changed 'Thy' to 'The' on line 68.
2017-07-24 18:03:07 -04:00
_ = NaN
b066edfb1b
bpo-30709: Improve code example in Descriptor HowTo doc (GH-2339)
2017-06-22 20:54:35 -07:00
gfyoung
ec19ba210b
bpo-29596: Improve clinic howto documentation (GH-1710)
...
Clarify that `two-pass` buffer can only be dumped once, and it prints out all text sent to it during all processing, even from Clinic blocks *after* the dumping point.
2017-06-06 12:23:52 -07:00
Mariano Anaya
1bced56567
bpo-30530: Update Descriptor How To Documentation (GH-1845)
...
Update the code example in Functions and Methods section
Remove objtype argument in MethodType
2017-06-04 19:46:50 -07:00
csabella
9be4ff359d
bpo-30538: Update count() in Functional Programming HOWTO ( #1919 )
...
* bpo-30538: Update count() in Functional HOWTO
* bpo-30538: Update enumerate() arguments in Functional HOWTO
2017-06-04 10:39:21 -07:00
delirious-lettuce
3378b2062c
Fix typos in multiple `.rst` files ( #1668 )
2017-05-19 23:37:57 +03:00
Serhiy Storchaka
d97b7dc94b
bpo-30380: Fix Sphinx 1.6.1 warnings. ( #1613 )
...
* Use explicit numbering for footnotes referred by explicit number.
* Restore missed footnote reference in stdtypes.rst.
* Fix literal strings formatting in howto/urllib2.rst.
* Update susp-ignored.csv for zipapp.rst.
* Fix suspicious mark up in Misc/NEWS.
2017-05-16 23:18:09 +03:00
UltimateCoder
8856940cf2
bpo-28315: Improve code examples in docs (GH-1372)
...
Replace
File "<stdin>", line 1, in ?
with
File "<stdin>", line 1, in <module>
2017-05-03 09:46:45 -07:00
Jesse Gonzalez
6fde770e4e
Use the correct name for ISO in Unicode HOWTO. ( #1312 )
2017-04-26 22:12:17 -07:00
Berker Peksag
8526fb74ed
Remove redundant comma in argparse HOWTO ( #1141 )
...
Reported by Sean Canavan on docs@p.o.
2017-04-20 07:29:35 +03:00
Serhiy Storchaka
84b8e92e46
bpo-29918: Add missed "const" modifiers in C API documentation. ( #846 )
2017-03-30 10:01:03 +03:00
Martin Panter
4659ddc433
Merge doc fixes from 3.5
2017-01-14 09:54:57 +00:00
Martin Panter
8f1378366e
Avoid line breaks after hyphens, otherwise they are turned into spaces
2017-01-14 08:24:20 +00:00
Brett Cannon
73224c4248
Merge
2016-12-22 10:02:16 -08:00
Brett Cannon
7e93c84438
Grammatical fixes following #d95f19892fd0
2016-12-22 10:02:01 -08:00
Brett Cannon
ce042af3fe
Merge for porting HOWTO update
2016-12-17 12:37:41 -08:00
Brett Cannon
5866719510
Update porting HOWTO to drop unicode_literals and mention static type checking
2016-12-17 12:37:20 -08:00
Martin Panter
b7880b067b
Issue #28820 : Merge spelling fixes from 3.5
2016-12-10 05:38:25 +00:00
Martin Panter
898573a734
Issue #28820 : Fix spelling of “practice” as a noun
2016-12-10 05:12:56 +00:00
Martin Panter
2fed8cd6f0
Issues #28755 , #28753 : Merge Arg Clinic howto from 3.5
2016-12-10 04:14:02 +00:00
Martin Panter
cfa9bad4b2
Issue #28755 : Improve syntax highlighting in Arg Clinic howto
2016-12-10 04:10:45 +00:00
Martin Panter
a277c130f7
Issue 28753: Argument Clinic howto docfix, courtesy Julien Palard.
2016-12-10 03:49:12 +00:00
Serhiy Storchaka
29b0a26822
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
2016-12-04 10:20:55 +02:00
Serhiy Storchaka
c7b1a0bbe2
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:43:28 +02:00
Serhiy Storchaka
e418432dfb
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
2016-12-04 10:22:09 +02:00
Serhiy Storchaka
0264e46caa
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:49:59 +02:00
Martin Panter
99b6f28351
Merge doc fixups from 3.5
2016-11-21 04:22:22 +00:00
Martin Panter
357ed2e577
Change double hyphens (en dashes) to em (longer) dashes
2016-11-21 00:15:20 +00:00
Berker Peksag
6b571e021a
Issue #21590 : Silence Sphinx warnings in instrumentation.rst
...
WARNING: Could not lex literal_block as "c". Highlighting skipped.
Patch by SilentGhost.
2016-11-06 21:45:16 +03:00
Serhiy Storchaka
0bbf8c08ab
Issue #19795 : Mark up True and False as literal text instead of bold.
2016-10-19 16:44:47 +03:00
Serhiy Storchaka
a97cd2eb17
Issue #19795 : Mark up True and False as literal text instead of bold.
2016-10-19 16:43:42 +03:00
Serhiy Storchaka
989db5c880
Issue #19795 : Mark up None as literal text.
2016-10-19 16:37:13 +03:00
Serhiy Storchaka
ecf41da83e
Issue #19795 : Mark up None as literal text.
2016-10-19 16:29:26 +03:00
Benjamin Peterson
8166a5db5b
always use double quotes for SystemTap string literals ( closes #28472 )
...
Patch by Roman Podoliaka.
2016-10-18 23:33:03 -07:00
Berker Peksag
1cb7aaa9b1
Issue #27991 : Merge from 3.5
2016-09-11 13:02:56 +03:00
Berker Peksag
53ba2d10e0
Issue #27991 : Remove incorrect sentence about store_true
...
Patch by py.user.
2016-09-11 13:02:27 +03:00
Benjamin Peterson
699e2c91f6
reST is not markdown
2016-09-10 17:24:25 -07:00
Łukasz Langa
a785c87d6e
DTrace support: function calls, GC activity, line execution
...
Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc.
Largely based by an initial patch by Jesús Cea Avión, with some
influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's
unification patch.
Things deliberately left out for simplicity:
- ustack helpers, I have no way of testing them at this point since
they are Solaris-specific
- PyFrameObject * in function__entry/function__return, this is
SystemTap-specific
- SPARC support
- dynamic tracing
- sys module dtrace facility introspection
All of those might be added later.
2016-09-09 17:37:37 -07:00
Benjamin Peterson
cc854499e4
clinic: PY_LONG_LONG -> long long
2016-09-08 09:29:11 -07:00
R David Murray
d44500cc29
Merge: #25916 : fix a few 'string of bytes' references.
2016-08-23 20:44:31 -04:00
R David Murray
48de28290c
#25916 : fix a few 'string of bytes' references.
...
Patch by SilengGhost.
2016-08-23 20:43:56 -04:00
Zachary Ware
48e4bd6a02
Merge with 3.5
2016-08-17 09:52:32 -05:00
Zachary Ware
54005afeee
Use sys.version_info, not sys.version.
...
sys.version[0] gives a string, which fails > comparison with 2.
Reported by Arne Maximilian Richter on docs@
2016-08-17 09:51:20 -05:00
Martin Panter
98cf1e79a1
Issue #27745 : Merge typo fixes from 3.5
2016-08-12 12:05:48 +00:00
Martin Panter
b4a2b36c99
Issue #27745 : Fix some typos in Argument Clinic howto, by Lele Gaifax
2016-08-12 12:02:03 +00:00
Zachary Ware
f03f7c75d8
Closes #27204 : Merge with 3.5
2016-08-09 17:05:23 -05:00
Zachary Ware
378a1d77d9
Issue #27204 : Fix doctests in Doc/howto
...
Patch by Jelle Zijlstra.
2016-08-09 16:47:04 -05:00
Senthil Kumaran
cde03fa038
[merge from 3.5] - Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:51:13 -07:00
Senthil Kumaran
17742f2d45
[merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:39:06 -07:00
Senthil Kumaran
436fe5a447
[merge from 3.3] Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:34:34 -07:00
Senthil Kumaran
4cbb23f8f2
Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:24:16 -07:00
Martin Panter
6a09315ff0
Issue #26462 : Merge code block fixes from 3.5
2016-07-29 01:49:37 +00:00
Martin Panter
8bde911115
Issue #27626 : Merge spelling fixes from 3.5
2016-07-28 01:30:58 +00:00
Martin Panter
eb9957065a
Issue #27626 : Spelling fixes in docs, comments and internal names
...
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Martin Panter
1050d2d0c7
Issue #26462 : Doc: reduce literal_block warnings, fix syntax highlighting.
...
Patch by Julien Palard.
2016-07-26 11:18:21 +02:00
Martin Panter
525a949251
Issue #27130 : Merge zlib 64-bit fixes from 3.5
2016-07-23 03:39:49 +00:00
Martin Panter
84544c1020
Issue #27130 : Fix handling of buffers exceeding UINT_MAX in “zlib” module
...
Patch by Xiang Zhang.
2016-07-23 03:02:07 +00:00
Berker Peksag
7577ad32d1
Issue #27378 : Merge from 3.5
2016-06-24 08:55:06 +03:00
Berker Peksag
79af27ef2e
Issue #27378 : Remove an outdated reference from regex HOWTO
...
Patch by Matt Morrison.
2016-06-24 08:54:43 +03: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
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
f0564164ba
Fix typos in comments, documentation and test method names
2016-05-08 13:48:10 +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
Raymond Hettinger
c5c43b8374
merge
2016-04-26 01:11:28 -07:00
Raymond Hettinger
b9531bcdcc
Issue #24715 : Improve sort stability example
2016-04-26 01:11:10 -07:00
Benjamin Peterson
9046df0659
merge 3.5 ( #26827 )
2016-04-22 23:43:24 -07:00
Benjamin Peterson
95b5f0ad7e
fix python 3 mod init function declaration ( closes #26827 )
2016-04-22 23:43:10 -07:00
Martin Panter
cda80940ed
Issue #15984 : Merge PyUnicode doc from 3.5
2016-04-15 02:27:11 +00:00
Martin Panter
6245cb3c01
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
...
This affects documentation, code comments, and a debugging messages.
2016-04-15 02:14:19 +00:00
Serhiy Storchaka
336fc5bbb0
Issue #25910 : Fixed dead links in the docs.
2016-04-11 12:34:07 +03:00
Serhiy Storchaka
90be7333ea
Issue #25910 : Fixed dead links in the docs.
2016-04-11 12:18:56 +03:00
Vinay Sajip
c334202f41
Merged documentation update from 3.5.
2016-04-01 23:13:48 +01:00
Vinay Sajip
d93a60149c
Added a cookbook recipe for a logging context manager.
2016-04-01 23:13:01 +01:00
Berker Peksag
5d7286c05d
Issue #26593 : Fix typo in logging HOWTO
...
Patch by Andrew Szeto.
2016-03-20 12:51:16 +02:00
Berker Peksag
563c949b11
Issue #26593 : Fix typo in logging HOWTO
...
Patch by Andrew Szeto.
2016-03-20 12:50:56 +02:00
Brett Cannon
81ae89b611
Merge for issue #26095
2016-03-18 13:24:15 -07:00
Brett Cannon
adcb654519
Suggest people use feature detection in porting guide
2016-03-18 13:23:58 -07:00
Berker Peksag
f1fc8f953e
Issue #24852 : Remove outdated "HOWTO Use Python in the web" document
2016-03-07 19:01:05 +02:00
Berker Peksag
b4f2f453e7
Issue #24852 : Remove outdated "HOWTO Use Python in the web" document
2016-03-07 19:00:47 +02:00
Georg Brandl
a7f7232838
merge with 3.5
2016-02-28 21:09:45 +01:00
Georg Brandl
76b2ee03c3
Fix typo.
2016-02-28 21:09:36 +01: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
Vinay Sajip
d9dc53021e
Merged cookbook update from 3.5.
2016-02-20 19:03:29 +00:00
Vinay Sajip
e10d370a92
Added simple threading example to logging cookbook.
2016-02-20 19:02:46 +00:00
Benjamin Peterson
bd8112901a
merge 3.5 ( #26378 )
2016-02-17 23:43:08 -08:00
Benjamin Peterson
8f0432ffbb
fix typo ( closes #26378 )
2016-02-17 23:42:46 -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
Senthil Kumaran
029f7f7af2
merge from 3.5
2016-02-05 19:37:47 -08:00
Senthil Kumaran
b6213c5664
Fix userinfo example presented in urllib2 howto.
2016-02-05 19:37:23 -08:00
Martin Panter
5da4e86bc0
Issue #26220 : Merge Unicode how-to from 3.5
2016-01-29 04:06:49 +00:00
Martin Panter
4942870471
Issue #26220 : Remove outdated comment about a question mark
2016-01-29 04:01:16 +00:00
Ezio Melotti
1d37771292
#25517 : merge with 3.5.
2016-01-12 00:09:43 +02:00
Ezio Melotti
84c63e8df4
#25517 : fix regex in the regex howto. Patch by Elena Oat.
2016-01-12 00:09:13 +02:00
Martin Panter
a561c038ab
Issue #25576 : Merge www-form-urlencoded doc from 3.5
2015-11-24 22:59:28 +00:00
Martin Panter
f7e8d07538
Issue #25576 : Merge www-form-urlencoded doc from 3.4 into 3.5
2015-11-24 22:57:46 +00:00
Martin Panter
cda85a0d1c
Issue #25576 : Remove application/x-www-form-urlencoded charset advice
...
No charset parameter is standardized for this Content-Type value. Also
clarify that urlencode() outputs ASCII.
2015-11-24 22:33:18 +00:00
Martin Panter
36befa5b4c
Issue #25626 : Merge zlib fix from 3.5
2015-11-21 10:57:15 +00:00
Martin Panter
e99e97762c
Issue #25626 : Change zlib to accept Py_ssize_t and cap to UINT_MAX
...
The underlying zlib library stores sizes in “unsigned int”. The corresponding
Python parameters are all sizes of buffers filled in by zlib, so it is okay
to reduce higher values to the UINT_MAX internal cap. OverflowError is still
raised for sizes that do not fit in Py_ssize_t.
Sizes are now limited to Py_ssize_t rather than unsigned long, because Python
byte strings cannot be larger than Py_ssize_t. Previously this could result
in a SystemError on 32-bit platforms.
This resolves a regression in the gzip module when reading more than UINT_MAX
or LONG_MAX bytes in one call, introduced by revision 62723172412c.
2015-11-20 08:13:35 +00:00
Serhiy Storchaka
4a7c03aab4
Issue #25523 : Merge a-to-an corrections from 3.5.
2015-11-02 14:44:29 +02:00
Serhiy Storchaka
a84f6c3dd3
Issue #25523 : Merge a-to-an corrections from 3.4.
2015-11-02 14:39:05 +02:00
Serhiy Storchaka
d65c9496da
Issue #25523 : Further a-to-an corrections.
2015-11-02 14:10:23 +02:00
Berker Peksag
3b1cb71084
rstlint: Fix "default role used" warning
...
This should make buildbots green.
2015-10-20 03:42:17 +03:00
Berker Peksag
db6cdf8425
rstlint: Fix "default role used" warning
...
This should make buildbots green.
2015-10-20 03:41:59 +03:00
Berker Peksag
f84499a4e3
rstlint: Fix "default role used" warning
...
This should make buildbots green.
2015-10-20 03:41:38 +03:00
Vinay Sajip
d469cff021
Merged cookbook update from 3.5.
2015-10-17 13:59:41 +01:00
Vinay Sajip
a83a0e2316
Merged cookbook update from 3.4.
2015-10-17 13:59:12 +01:00
Vinay Sajip
4de9dae57d
Added entry to logging cookbook.
2015-10-17 13:58:19 +01:00
Victor Stinner
91108f049f
Issue #25210 : Change error message of do_richcompare()
...
Don't add parenthesis to type names. Add also quotes around the type names.
Before:
TypeError: unorderable types: int() < NoneType()
After:
TypeError: '<' not supported between instances of 'int' and 'NoneType'
2015-10-14 18:25:31 +02:00
Vinay Sajip
09a00eb076
Closes #25344 : Merged fix from 3.4.
2015-10-10 00:53:37 +01:00
Vinay Sajip
ff1f3d9ff1
Closes #25344 : Added cookbook recipe to show buffering of logging events.
2015-10-10 00:52:35 +01:00
Benjamin Peterson
fc2fb0f621
merge 3.4 ( #25145 )
2015-09-20 23:18:51 +05:00
Benjamin Peterson
16ad5cfad3
remove reference to PyGoogle ( #25145 )
...
Patch by Bar Harel.
2015-09-20 23:17:41 +05:00
Benjamin Peterson
95acbcedc4
use a more modern UA ( #25145 )
2015-09-20 23:16:45 +05:00
Senthil Kumaran
b4760efbad
Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation typos.
...
Related Issues:
#issue21528
#issue24453
2015-06-14 17:35:37 -07:00
Berker Peksag
fee05daef8
Issue #24232 : Fix typos. Patch by Ville Skyttä.
2015-05-19 01:38:05 +03:00
Berker Peksag
315e104d11
Issue #24232 : Fix typos. Patch by Ville Skyttä.
2015-05-19 01:36:55 +03:00
Tal Einat
97fceee3b9
Argument Clinic: added missing bit of info in howto
2015-05-16 14:12:15 +03:00
Yury Selivanov
8170e8c0d1
PEP 479: Change StopIteration handling inside generators.
...
Closes issue #22906 .
2015-05-09 11:44:30 -04:00
Larry Hastings
38337d1e15
Issue #24000 : Improved Argument Clinic's mapping of converters to legacy
...
"format units". Updated the documentation to match.
2015-05-07 23:30:09 -07:00
Brett Cannon
8396b8ef08
Fix a grammar error in the porting HOWTO as found by Eric Smith.
2015-04-13 16:32:16 -04:00
Brett Cannon
fd53f98459
Issue #23733 : Mention bytes.__mod__ in the porting HOWTO.
2015-04-13 16:21:07 -04:00
Antoine Pitrou
3764fc2951
Fix doc build error
2015-04-13 21:07:57 +02:00
Brett Cannon
4269d6db93
Issue #23732 : Mention the new -b semantics in the porting HOWTO.
2015-04-13 14:37:50 -04:00
Berker Peksag
556e08e9b2
Issue #12955 : Change the urlopen() examples to use context managers where appropriate.
...
Patch by Martin Panter.
2015-04-12 13:53:33 +03:00
Berker Peksag
9575e1891f
Issue #12955 : Change the urlopen() examples to use context managers where appropriate.
...
Patch by Martin Panter.
2015-04-12 13:52:49 +03:00
Serhiy Storchaka
a54aae0683
Issue #23622 : Unknown escapes in regular expressions that consist of ``'\'``
...
and ASCII letter now raise a deprecation warning and will be forbidden in
Python 3.6.
2015-03-24 22:58:14 +02:00
Brett Cannon
cb1dde5df5
Merge 3.4
2015-03-13 12:50:16 -04:00
Brett Cannon
2645bad04f
Make the case to only support Python 2.7 when supporting 2/3 simultaneously
2015-03-13 12:49:44 -04:00
Brett Cannon
b44ed82b81
Merge with 3.4 for porting HOWTO tweaks
2015-02-27 15:10:38 -05:00
Brett Cannon
fdde79dbf6
Fix the clarification as to why division cannot be ported automatically
2015-02-27 15:10:03 -05:00
Vinay Sajip
365701add9
Added respect_handler_level to QueueListener.
2015-02-09 19:49:00 +00:00
Vinay Sajip
7929be6aeb
Merged documentation update from 3.4.
2015-02-01 15:18:14 +00:00
Vinay Sajip
f046dfe60e
Added a cookbook entry on logging audible messages.
2015-02-01 15:17:34 +00:00
Vinay Sajip
85ad88dbc6
Merged documentation update from 3.4.
2015-01-28 07:33:14 +00:00
Vinay Sajip
db07164053
Added a logging cookbook entry on customized exception formatting.
2015-01-28 07:32:38 +00:00
Serhiy Storchaka
07985ef387
Issue #22286 : The "backslashreplace" error handlers now works with
...
decoding and translating.
2015-01-25 22:56:57 +02:00
Ned Deily
99f7249264
Add missing URL link to Modernize docs.
2015-01-03 00:46:24 -08:00
Ned Deily
4592497f9d
Add missing URL link to Modernize docs.
2015-01-03 00:45:55 -08:00
Benjamin Peterson
3226f9618f
merge 3.4
2014-12-24 16:07:19 -06:00
Benjamin Peterson
a54f07504f
update correct French examples ( #23109 )
2014-12-24 16:07:02 -06:00
Benjamin Peterson
724bdce8b8
merge 3.4 ( #23109 )
2014-12-24 13:58:47 -06:00
Benjamin Peterson
643eb4464a
improve incorrect French ( #23109 )
...
Following suggestions from Clément.
2014-12-24 13:58:05 -06:00
Berker Peksag
e0f4bc7608
Issue #23047 : Fix typo in pyporting.rst.
...
Patch by Chaitanya agrawal.
2014-12-13 15:49:01 +02:00
Berker Peksag
bd62f0a6e4
Issue #23047 : Fix typo in pyporting.rst.
...
Patch by Chaitanya agrawal.
2014-12-13 15:48:22 +02:00
Brett Cannon
5632aff9c1
Merge with 3.4 for porting HOWTO tweaks
2014-12-12 15:14:09 -05:00
Brett Cannon
90783ebf27
Address some comments from Nick Coghlan
2014-12-12 15:13:43 -05:00
Benjamin Peterson
f615d1fe8e
remove reference to dead irc channel ( closes #23038 )
2014-12-12 09:56:33 -05:00
Brett Cannon
17be09c475
Fix a bad link
2014-12-05 18:11:05 -05:00
Brett Cannon
6b335196c5
Issue #22914 : Update the Python 2/3 porting HOWTO to describe a more
...
automated process.
2014-12-05 10:56:12 -05:00
Benjamin Peterson
8ac7cbb253
merge 3.4
2014-12-12 09:56:54 -05:00
Brett Cannon
9f7c7924c3
Merge with 3.4
2014-12-05 18:11:15 -05:00
Brett Cannon
1a7b8d1439
Merge with 3.4
2014-12-05 11:01:30 -05:00
Serhiy Storchaka
166ebc4e5d
Issue #19676 : Added the "namereplace" error handler.
2014-11-25 13:57:17 +02:00
Raymond Hettinger
df1b699447
Issue #22823 : Use set literals instead of creating a set from a list
2014-11-09 15:56:33 -08:00
Georg Brandl
dbbc3a964b
merge with 3.4
2014-10-30 22:52:06 +01:00
Georg Brandl
5aa761db52
pyporting howto: fix link target
2014-10-30 22:52:02 +01:00
Georg Brandl
6b4c847c4f
Doc: fix default role usage (except in unittest mock docs)
2014-10-30 22:26:26 +01:00
Georg Brandl
93a56cdc37
Doc: fix default role usage (except in unittest mock docs)
2014-10-30 22:25:41 +01:00
Georg Brandl
bad8d4bb53
merge with 3.4
2014-10-29 10:57:42 +01:00
Georg Brandl
b7354a65ce
Fixing broken links in doc, part 4: some more breaks and redirects
2014-10-29 10:57:37 +01:00
Georg Brandl
794e9bf1fe
merge with 3.4
2014-10-29 10:27:06 +01:00
Georg Brandl
9bdcb3bc8a
Fixing broken links in doc, part 2: howto/
2014-10-29 09:37:43 +01:00
Georg Brandl
9e67d801bd
merge with 3.4
2014-10-29 09:00:37 +01:00
Georg Brandl
728e4debd8
Fix external links to docs.python.org to use internal links instead.
2014-10-29 09:00:30 +01:00
Georg Brandl
cadc3fdcb5
Merge with 3.4
2014-10-29 08:37:29 +01:00