Ezio Melotti
5302ba80e7
#17949 : fix merge glitch in itemgetter signature. Patch by Martijn Pieters.
2013-05-10 19:57:04 +03:00
Andrew Kuchling
67f84a78f0
#14878 : add cross-reference to the yield statement.
...
(Backported from 3.x by Jan Duzinkiewicz.)
2013-05-09 20:55:22 -04:00
Ezio Melotti
5f4ba6b4e0
#16523 : improve attrgetter/itemgetter/methodcaller documentation.
2013-05-08 10:53:11 +03:00
Ezio Melotti
59391207c6
#17714 : document that the base64 codec adds a trailing newline.
2013-05-07 11:14:27 +03:00
Raymond Hettinger
a74e5c809b
Issue 17920: Fix-up terminology in the set documentation
2013-05-06 18:21:10 -07:00
Raymond Hettinger
277c27c8fc
Issue 17862: Improve the signature of itertools grouper() recipe.
...
Putting *n* after the *iterable* matches the signature of other itertools
and recipes. Also, it reads better.
Suggested by Ezio Melotti.
2013-05-05 19:45:42 -07:00
Antoine Pitrou
a09657e94e
Elaborate on bytes-like objects.
2013-05-04 20:18:34 +02:00
Raymond Hettinger
0801d73b1b
Issue #15535 : Fix regression in pickling of named tuples.
2013-05-03 00:59:20 -07:00
Senthil Kumaran
a1fb67175a
# 1722 - Add a note on urllib helper functions like splittype, splithost etc.
2013-05-02 05:50:21 -07:00
Ezio Melotti
71c1cff83f
#16518 : fix links in glossary entry.
2013-05-01 14:13:05 +03:00
Ezio Melotti
1c0d8a7fd7
#16518 : add "bytes-like object" to the glossary.
2013-04-30 23:33:31 +03:00
Ezio Melotti
183dc46a88
#17866 : mention that in Python 3, assertItemsEqual is named assertCountEqual.
2013-04-29 12:26:01 +03:00
R David Murray
fc45ce870f
#7152 : Remove incorrectly added reference to DataHandler.
2013-04-28 17:04:53 -04:00
R David Murray
6596041464
Reflow paragraph.
2013-04-28 11:20:46 -04:00
R David Murray
806c1c939d
#7152 : Clarify that ProxyHandler is added only if proxy settings are detected.
...
Behavior confirmation and initial patch by Jessica McKellar.
2013-04-28 11:16:21 -04:00
Ezio Melotti
9d2d64ff21
#17729 : remove the Advocacy HOWTO from the index.
2013-04-23 09:56:30 +03:00
Ezio Melotti
d04c5d66b0
#17729 : remove the outdated Advocacy HOWTO, as suggested by the author.
2013-04-23 09:24:51 +03:00
R David Murray
240a2fd46f
#15575 : Clarify tutorial description of when modules are executed.
2013-04-21 17:14:40 -04:00
Ned Deily
0729500b01
Issue #17670 : Provide an example of expandtabs() usage.
2013-04-21 13:04:10 -07:00
R David Murray
e5af944bdf
#17409 : Document RLIM_INFINITY and use it to clarify the setrlimit docs.
2013-04-20 13:37:50 -04:00
Ezio Melotti
c973057bbe
#17740 : fix links to the socket function. Initial patch by Zachary Ware.
2013-04-17 04:10:26 +03:00
Antoine Pitrou
f12f3916aa
Issue #17739 : fix the description of SSLSocket.getpeercert(binary_form=True) for server sockets.
...
Thanks to David D Lowe for reporting.
2013-04-16 20:27:17 +02:00
Ezio Melotti
1b33206596
#13510 : clarify that f.readlines() is note necessary to iterate over a file. Patch by Dan Riti.
2013-04-15 19:08:31 +03:00
Eric V. Smith
12ec99d852
Issue #17728 : Specify default precision for float.format for presentation types e, f, and g.
2013-04-15 09:51:54 -04:00
Georg Brandl
95aa1726ec
Fix example ignoring ".svn" directories in compileall.
2013-04-14 12:02:43 +02:00
Georg Brandl
34f5dd0684
The Integral class does not contain implementations for the bit-shifting operations. (See #3056.)
2013-04-14 11:58:54 +02:00
Georg Brandl
e7fb7008ba
The im_class of unbound class methods is actually not the same as im_self.
2013-04-14 11:53:36 +02:00
Georg Brandl
d4c45a91b7
Clarify that the function *definition* creates the function and the binding in the module globals.
2013-04-14 11:47:46 +02:00
Georg Brandl
10bb21e4f9
Fix refcount leak in the reference counting example section (!).
2013-04-14 11:45:16 +02:00
Georg Brandl
ba58cbe754
Closes #13638 : document PyErr_SetFromErrnoWithFilenameObject,
...
PyErr_SetFromWindowsErrWithFilenameObject, and
PyErr_SetExcFromWindowsErrWithFilenameObject.
Note that PyErr_SetExcFromWindowsErrWithFilenameObjectAndSomeOtherParametersSoThatTheNameGetsSoLongThatNobodyIsEverGonnaUseThisStrangeFunctionForAnything is still undocumented.
2013-04-14 11:12:16 +02:00
Georg Brandl
2124dcd9fe
bind('') does not do the same as bind('localhost')
2013-04-14 10:59:04 +02:00
Georg Brandl
827372e46b
Closes #17661 : fix references to repr() going to module repr.
2013-04-14 10:36:03 +02:00
Georg Brandl
dc18cb963b
Closes #17726 : small clarification in design FAQ.
2013-04-14 10:31:06 +02:00
Georg Brandl
30a88facfe
Update using/mac documentation which was still on 2.5.
2013-04-14 10:17:35 +02:00
Georg Brandl
7a48a8b8c6
Clarify point in name mangling doc.
2013-04-14 10:13:42 +02:00
David Wolever
0d2e78c275
Correct misleading strftime documentation.
...
strftime using locale-aware formatting directives will often, but not awlays,
produce UTF-8-encoded Unicode.
2013-04-13 22:40:11 -04:00
David Wolever
c7953ef73e
Adding localized examples to strftime documentation.
2013-04-13 20:50:24 -04:00
David Wolever
73480ef578
Improving strftime documentation.
...
Re-ordering the table so similar directives are grouped together, adding
examples, and removing some redundancy in the description of the ``%f``
formatter.
2013-04-13 19:12:58 -04:00
R David Murray
3a2b371f26
Reflow paragraph.
2013-04-13 14:37:42 -04:00
R David Murray
2fc97e6a2d
#2118 : clarify smtplib exception documentation.
2013-04-13 14:37:22 -04:00
Ezio Melotti
c2a4f6b668
#17686 : fix broken link in Doc/using/unix.rst. Patch by Dan Riti.
2013-04-13 20:07:42 +03:00
Ezio Melotti
0ba584c023
#6696 : add documentation for the Profile objects, and improve profile/cProfile docs. Patch by Tom Pinckney.
2013-04-12 16:22:24 +03:00
Ezio Melotti
3218f6511f
#17635 : fix wrong function name in multiprocessing docs.
2013-04-10 17:59:20 +03:00
Andrew Svetlov
aff9ceff3c
Update argparse docs to follow order of ArgumentParser() arguments.
2013-04-07 14:45:37 +03:00
Andrew Svetlov
9c6eb266f5
Change wording as Eli Bendersky suggests.
2013-04-06 18:54:19 +03:00
Giampaolo Rodola'
76794131de
#17641 : 2.X / 3.X ssl doc unification
2013-04-06 03:46:47 +02:00
Andrew Svetlov
7eba9dbaaf
Add link to glossary for hashable term in docs for set type
2013-04-05 16:21:39 +03:00
Andrew Svetlov
c8986682ec
Fix typo
2013-04-05 11:39:36 +03:00
Andrew Svetlov
457f48241d
merge heads
2013-04-05 10:14:28 +03:00
Andrew Svetlov
42777cdac5
Fix typo.
2013-04-05 10:10:27 +03:00
Ezio Melotti
cfb63cd3b1
#8913 : add examples and docs for date/time/datetime.__format__. Patch by Heikki Partanen.
2013-04-04 09:16:15 +03:00
Terry Jan Reedy
0d0a395a1b
Issue #15940 : Replace tab.
2013-04-03 12:45:24 -04:00
Terry Jan Reedy
c2f905f0d9
Issue #15940 : Specify effect of locale on time functions.
2013-04-03 12:34:57 -04:00
R David Murray
c993a19480
#13163 : fix names of _get_socket args
...
This was already done in Python3, but having it wrong leads to
incorrect debug output, so it seems worth fixing in 2.7 as well.
Patch by Victor Terrón.
2013-04-02 12:15:07 -04:00
Raymond Hettinger
56bb8b9bdc
Add an itertools recipe showing how to use t.__copy__().
2013-03-30 23:37:57 -07:00
Gregory P. Smith
da76aa8e47
Fix typos and clear up one very odd bit of wording as pointed out by
...
Ezio.
2013-03-30 01:38:38 -07:00
Ezio Melotti
d5cdc94a26
#17438 : add links to the conversion tables in dump(s)/load(s).
2013-03-29 03:59:29 +02:00
Ezio Melotti
144c269cc8
Update the suspicious builder to detect unused rules, and remove currently unusued rules.
2013-03-28 18:01:11 +02:00
Georg Brandl
75da35747e
Backport rev. 3ae74b361f53 to 2.7 branch.
2013-03-28 13:35:18 +01:00
Georg Brandl
44ea77bd81
Closes #4159 : add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text.
2013-03-28 13:28:44 +01:00
Christian Heimes
75207abff9
Fix XML vulnerability link targets.
2013-03-28 11:42:49 +01:00
Georg Brandl
6ba6b13e32
Fix XML vulnerability link targets.
2013-03-28 09:11:44 +01:00
Ezio Melotti
93324d7d9c
Update suspicious ignore file.
2013-03-28 05:47:31 +02:00
Ezio Melotti
e5caf29743
Update suspicious ignore file.
2013-03-28 04:54:58 +02:00
Ezio Melotti
fd4365a4d8
Update suspicious ignore file.
2013-03-28 04:31:53 +02:00
Ezio Melotti
184e59357e
#17329 : merge with 3.2.
2013-03-27 20:12:55 +02:00
Ezio Melotti
352def0ed2
#17329 : document unittest.SkipTest. Initial patch by Zachary Ware.
2013-03-27 20:11:55 +02:00
Ezio Melotti
265281ac02
#17329 : document unittest.SkipTest. Initial patch by Zachary Ware.
2013-03-27 20:11:55 +02:00
Christian Heimes
23790b4be0
Issue 17538: Document XML vulnerabilties
2013-03-26 17:53:05 +01:00
Christian Heimes
768f6a5360
Issue 17538: Document XML vulnerabilties
2013-03-26 17:47:23 +01:00
Christian Heimes
7380a67267
Issue 17538: Document XML vulnerabilties
2013-03-26 17:35:55 +01:00
Ezio Melotti
a1eb483d8f
Add versionadded for `-X faulthandler` (also fix typo and markup).
2013-03-26 02:36:28 +02:00
Gregory P. Smith
a1b9ed32ee
Fixes issue #17488 : Change the subprocess.Popen bufsize parameter default value
...
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
2013-03-23 11:54:22 -07:00
Gregory P. Smith
a1ed539268
Fixes issue #17488 : Change the subprocess.Popen bufsize parameter default value
...
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
2013-03-23 11:44:25 -07:00
Raymond Hettinger
3ddba16aa6
Update collections ABC table to match the __abstractmethods__ attribute for each container.
2013-03-23 09:07:36 -07:00
Raymond Hettinger
cb800648ef
Update collections ABC table to match the __abstractmethods__ attribute for each container.
2013-03-23 08:57:00 -07:00
Raymond Hettinger
378170d5d9
Issue 17447: Clarify that str.isidentifier doesn't check for reserved keywords.
2013-03-23 08:21:12 -07:00
Benjamin Peterson
71e2d2e260
nonlocal isn't a 2.x topic
2013-03-23 10:09:24 -05:00
Gregory P. Smith
bcd2aa6d06
cleanup references to PyString_ APIs from 2.x in the 3.3 docs.
2013-03-22 13:49:26 -07:00
Gregory P. Smith
4b52ae8f97
Clean up references to the no longer existing PyString_ APIs in our docs.
2013-03-22 13:43:30 -07:00
Raymond Hettinger
8f35c891e7
Modernize unittest example
2013-03-22 07:26:18 -07:00
Raymond Hettinger
4507274139
Modernize unittest example
2013-03-22 07:17:38 -07:00
doko@ubuntu.com
1621d77fc8
- Issue #16754 : Fix the incorrect shared library extension on linux. Introduce
...
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:31:41 -07:00
doko@ubuntu.com
d5537d071c
- Issue #16754 : Fix the incorrect shared library extension on linux. Introduce
...
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:21:49 -07:00
Gregory P. Smith
74b24047e3
merge
2013-03-20 18:32:22 -07:00
Gregory P. Smith
1f8a40b81d
remove the long obsolete mention of universal newlines mode only being
...
available when configured at compile time.
2013-03-20 18:32:03 -07:00
Ezio Melotti
ba7dd670cb
Merge usage of argument/parameter and markup fixes from 3.2.
2013-03-20 13:54:18 +02:00
Ezio Melotti
93115e0914
Fix usage of argument/parameter and markup.
2013-03-20 13:53:32 +02:00
Gregory P. Smith
f16455aa4a
clarifiy the documentation for issue17285. see also commit
...
ee30400efceb which updated the docstring.
2013-03-19 23:36:31 -07:00
Senthil Kumaran
cd3bb8b73c
#17474 - Mark the deprecated Request methods as deprecated-removed. Review by Ezio Melotti
2013-03-19 18:01:43 -07:00
R David Murray
432a48a0c8
Merge: #1525919 : Document MIMEText+set_payload encoding behavior.
2013-03-19 18:21:22 -04:00
R David Murray
14b0124a29
#1525919 : Document MIMEText+set_payload encoding behavior.
2013-03-19 18:18:55 -04:00
Senthil Kumaran
2f306c03d3
#17460 - merge from 3.2
2013-03-19 00:58:46 -07:00
Senthil Kumaran
0492ec07e0
#17460 - Adding relevant warning messages regarding strict removal in docs
2013-03-19 00:51:08 -07:00
Senthil Kumaran
6227c6952e
#10050 - Document DeprecationWarnings for URLopener and FancyURLopener (msg172874 )
2013-03-18 17:09:50 -07:00
Michael Foord
f575230981
Documentation corrections for unittest.mock
2013-03-18 15:04:03 -07:00
R David Murray
35893b7994
#16057 : Clarify why the base method default is called in custom encoders.
...
Original patch by Kushal Das.
2013-03-17 22:06:18 -04:00
R David Murray
1f2a49cfc6
Merge #16057 : Clarify why the base method default is called in custom encoders.
...
Original patch by Kushal Das.
2013-03-17 21:53:23 -04:00
R David Murray
dd246171e4
#16057 : Clarify why the base method default is called in custom encoders.
...
Original patch by Kushal Das.
2013-03-17 21:52:35 -04:00
Terry Jan Reedy
b271727bad
Merge with 3.2
2013-03-17 15:28:52 -04:00
Terry Jan Reedy
271e56e887
Issue #17415 : Trim trailing whitespace
2013-03-17 15:28:10 -04:00
Terry Jan Reedy
f3460414d5
Issue #17415 : Trim trailing whitespace
2013-03-17 15:28:10 -04:00
Terry Jan Reedy
3380170ea5
Merge with 3.2
2013-03-17 15:22:00 -04:00
Terry Jan Reedy
3e50fb3f69
Issue #17415 : Clarify 'this' referent by moving containing sentence just after
...
the sentence referred to. Make other minor edits to improve flow.
2013-03-17 15:21:26 -04:00
Terry Jan Reedy
ec6e132987
Issue #17415 : Clarify 'this' referent by moving containing sentence just after
...
the sentence referred to. Make other minor edits to improve flow.
2013-03-17 15:21:26 -04:00
Terry Jan Reedy
f39cab1076
Merge with 3.2
2013-03-16 15:56:50 -04:00
Terry Jan Reedy
dff04f44bc
Issue #17418 : specify that buffer sizes are bytes as soon as possible.
2013-03-16 15:56:27 -04:00
Terry Jan Reedy
589cb111b5
Issue #17418 : specify that buffer sizes are bytes.
2013-03-16 15:55:53 -04:00
Georg Brandl
1f68a2f27f
Remove row-spanning cell, which the Sphinx text writer does not support.
2013-03-16 08:01:49 +01:00
Terry Jan Reedy
ca99440c2c
Merge with 3.2
2013-03-15 16:50:54 -04:00
Terry Jan Reedy
f3f0681794
Issue #17398 : document url argument of RobotFileParser
2013-03-15 16:50:23 -04:00
Terry Jan Reedy
b1ed05c7a5
Issue #17398 : document url argument of RobotFileParser
2013-03-15 16:49:22 -04:00
Terry Jan Reedy
0b2173a1ee
Issue #17412 : update 2.7 Doc/make.bat to also use sphinx-1.0.7.
2013-03-14 19:32:22 -04:00
Terry Jan Reedy
ac356fcf8e
Merge with 3.2: Issue #17386
2013-03-13 21:35:07 -04:00
Terry Jan Reedy
3b220e11eb
Issue #17386 make.bat must run with Python 2 until Sphinx runs with Python 3.
...
If PYTHON is undefined, this fails without the launcher (installed with 3.3 or
from PyPI), but this is better than always failing. Patch from Zachary Ware.
2013-03-13 21:33:50 -04:00
Senthil Kumaran
e66cc8172d
#17307 - merge from 3.2
2013-03-13 13:42:47 -07:00
Senthil Kumaran
b5fe2479c1
#17307 - Example of HTTP PUT Request using http.client
2013-03-13 13:38:33 -07:00
Senthil Kumaran
69c66f9a43
#17307 - Example of HTTP PUT Request using httplib
2013-03-13 13:30:25 -07:00
Brett Cannon
115309acec
Issue #17176 : Document that imp.NullImporter is no longer
...
automatically used by import.
2013-03-13 10:58:50 -07:00
Ezio Melotti
a142a343e8
#17402 : merge with 3.2.
2013-03-13 02:27:35 +02:00
Ezio Melotti
6771462961
#17402 : avoid shadowing built-in map in mmap examples. Initial patch by Aman Shah.
2013-03-13 02:27:00 +02:00
Ezio Melotti
5e32424b49
#17402 : avoid shadowing built-in map in mmap examples. Initial patch by Aman Shah.
2013-03-13 02:26:11 +02:00
Eli Bendersky
981c3bde8d
Issue #11367 : fix documentation of some find* methods in ElementTree
2013-03-12 06:08:04 -07:00
Eli Bendersky
7343cb0790
Issue #11367 : fix documentation of some find* methods in ElementTree
2013-03-12 06:01:22 -07:00
Terry Jan Reedy
0f84764a09
Issue #17047 : remove doubled words added in 3.3
...
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 18:34:00 -04:00
Terry Jan Reedy
caeb6bea9b
Merge with 3.2: Issue #17047 : removed doubled words in Doc/*,
...
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:26:33 -04:00
Terry Jan Reedy
65e69b3718
Issue #17047 : removed doubled words in Doc/*, Mac/*, and Tool/*
...
found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:23:46 -04:00
Terry Jan Reedy
6bf9b85859
Issue #17047 : removed doubled words in Doc/*, Mac/*, and Tool/*
...
found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:09:58 -04:00
Ezio Melotti
c9cfcf1e6c
#17351 : merge with 3.2.
2013-03-11 09:42:40 +02:00
Ezio Melotti
af8838f443
#17351 : remove "object" inheritance from docs. Patch by Phil Elson.
2013-03-11 09:30:21 +02:00
Raymond Hettinger
686aae4841
Inherit from object() for consistency
2013-03-10 09:50:37 -07:00
Raymond Hettinger
7ed6f7ead1
Classmethod example needs to inherit from object
2013-03-10 09:49:08 -07:00
Raymond Hettinger
632c8c8ab1
Issue #17351 : Modernize the pure Python property() example.
2013-03-10 09:41:18 -07:00
Raymond Hettinger
8c5c3e3bb6
Issue #17351 : Modernize the pure Python property() example.
2013-03-10 09:36:52 -07:00
Ezio Melotti
5f52246f75
#14489 : fix wrong link.
2013-03-10 04:28:28 +02:00
Brett Cannon
b7e6b89554
Touch up the Python 2 to 3 porting guide
2013-03-09 14:22:35 -05:00
Eli Bendersky
26e2faf57d
Add warning in ctypes documentation for #16575 and #16576
2013-03-09 05:56:35 -08:00
Eli Bendersky
c2d90fb3ec
Add warning in ctypes documentation for #16575 and #16576
2013-03-09 05:54:32 -08:00
Eli Bendersky
490cf4472e
Add warning in ctypes documentation for #16575 and #16576
2013-03-09 05:54:00 -08:00
Terry Jan Reedy
adecf3f66f
Issue #16642 : sched.scheduler timefunc initial default is time.monotonic.
...
Patch by Ramchandra Apte
2013-03-09 02:14:27 -05:00
Terry Jan Reedy
b6f1d6419d
Issue #17332 : fix json doc typo /convered/converted/ found by Ernie Hershey.
2013-03-08 19:39:30 -05:00
Terry Jan Reedy
9cbcc2f1c0
Issue #17332 : fix json doc typo /convered/converted/ found by Ernie Hershey.
2013-03-08 19:35:15 -05:00
Terry Jan Reedy
3d08f25acf
Issue #17332 : fix json doc typo /convered/converted/ found by Ernie Hershey.
2013-03-08 19:35:15 -05:00
Vinay Sajip
355a9876e5
Issue #17376 : Merged clarification from 3.2.
2013-03-08 23:26:43 +00:00
Vinay Sajip
832d99bdbb
Issue #17376 : Clarified documentation for TimedRotatingFileHandler weekday rotation.
2013-03-08 23:24:30 +00:00
Vinay Sajip
a7b584b68c
Issue #17376 : Clarified documentation for TimedRotatingFileHandler weekday rotation.
2013-03-08 23:22:22 +00:00
Eli Bendersky
e754636a5e
Closing #17378 : ctypes documentation fix.
...
Document that ctypes automatically applies byref() when argtypes declares
POINTER.
2013-03-08 05:34:58 -08:00
Eli Bendersky
f0d8697e54
Issue #17378 : ctypes documentation fix.
...
Document that ctypes automatically applies byref() when argtypes declares
POINTER.
2013-03-08 05:32:45 -08:00
Eli Bendersky
f81de8df0a
Issue #17378 : ctypes documentation fix.
...
Document that ctypes automatically applies byref() when argtypes declares
POINTER.
2013-03-08 05:31:54 -08:00
Ezio Melotti
1f38621a33
#11732 : add a new suppress_crash_popup() context manager to test.support that disables crash popups on Windows and use it in test_ctypes.
2013-03-07 18:44:29 +02:00