Ezio Melotti
c58a3ea72c
#17714 : document that the base64 codec adds a trailing newline.
2013-05-07 11:14:27 +03:00
Ezio Melotti
7168879eb2
#17871 : merge with 3.3.
2013-05-07 09:47:08 +03:00
Ezio Melotti
9c939bceeb
#17871 : fix unittest.TextTestRunner signature in the docs. Patch by Yogesh Chaudhari.
2013-05-07 09:46:30 +03:00
Raymond Hettinger
6e6bee8d08
merge
2013-05-06 18:23:10 -07:00
Raymond Hettinger
12f588adeb
Issue 17920: Fix-up terminology in the set documentation
2013-05-06 18:22:43 -07:00
Victor Stinner
8cecc8c262
Issue #7330 : Implement width and precision (ex: "%5.3s") for the format string
...
of PyUnicode_FromFormat() function, original patch written by Ysj Ray.
2013-05-06 23:11:54 +02:00
R David Murray
5c29bb331a
Merge #14187 : Add glossary entry for 'function annotations'.
...
Patch by Chris Rebert.
2013-05-06 12:58:41 -04:00
R David Murray
25cd09115d
#14187 : Add glossary entry for 'function annotations'.
...
Patch by Chris Rebert.
2013-05-06 12:58:16 -04:00
Nick Coghlan
b39fd0c9b8
Issue #11816 : multiple improvements to the dis module
...
* get_instructions generator
* ability to redirect output to a file
* Bytecode and Instruction abstractions
Patch by Nick Coghlan, Ryan Kelly and Thomas Kluyver.
2013-05-06 23:59:20 +10:00
Raymond Hettinger
77371a5eea
merge
2013-05-05 19:54:04 -07:00
Raymond Hettinger
44571daf0e
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:53:41 -07:00
Richard Oudkerk
7a3dae056d
Issue #15528 : Add weakref.finalize to support finalization using
...
weakref callbacks.
This is 2e446e87ac5b except that collections/__init__.py has been
modified to import proxy from _weakref instead of weakref. This
eliminates an import cycle which seems to cause a problem on Unix but
not Windows.
2013-05-05 23:05:00 +01:00
Richard Oudkerk
39b17c513a
Backout 2e446e87ac5b; it breaks the unix buildbots.
2013-05-05 22:12:34 +01:00
Richard Oudkerk
f3593026de
Issue #15528 : Add weakref.finalize to support finalization using
...
weakref callbacks.
2013-05-05 20:59:04 +01:00
Antoine Pitrou
609a56f788
Elaborate on bytes-like objects.
2013-05-04 20:18:53 +02:00
Antoine Pitrou
5de183a07c
Elaborate on bytes-like objects.
2013-05-04 20:18:34 +02:00
Antoine Pitrou
1a6cb30a34
Issue #5845 : Enable tab-completion in the interactive interpreter by default, thanks to a new sys.__interactivehook__.
...
(original patch by Éric Araujo)
2013-05-04 20:08:35 +02:00
Brett Cannon
4c14b5de1c
#17115,17116: Have modules initialize the __package__ and __loader__
...
attributes to None.
The long-term goal is for people to be able to rely on these
attributes existing and checking for None to see if they have been
set. Since import itself sets these attributes when a loader does not
the only instances when the attributes are None are from someone
overloading __import__() and not using a loader or someone creating a
module from scratch.
This patch also unifies module initialization. Before you could have
different attributes with default values depending on how the module
object was created. Now the only way to not get the same default set
of attributes is to circumvent initialization by calling
ModuleType.__new__() directly.
2013-05-04 13:56:58 -04:00
Ezio Melotti
4cfc0b5411
#16518 : merge with 3.3.
2013-05-04 18:07:12 +03:00
Ezio Melotti
c228e96726
#16518 : use "bytes-like object" throughout the docs.
2013-05-04 18:06:34 +03:00
Charles-Francois Natali
f18a82d956
Issue #17529 : Fix os.sendfile() documentation regarding the type of file
...
descriptor supported.
2013-05-01 15:13:12 +02:00
Charles-Francois Natali
a771a1b48e
Issue #17529 : Fix os.sendfile() documentation regarding the type of file
...
descriptor supported.
2013-05-01 15:12:20 +02:00
Ezio Melotti
e1419e80cf
#16518 : merge with 3.3.
2013-04-30 23:34:41 +03:00
Ezio Melotti
aa54e2ff5e
#16518 : add "bytes-like object" to the glossary.
2013-04-30 23:33:31 +03:00
Benjamin Peterson
3b0431dc60
check local class namespace before reaching for cells ( closes #17853 )
2013-04-30 09:41:40 -04:00
Ezio Melotti
f256f5f3eb
#17881 : merge with 3.3.
2013-04-30 16:34:30 +03:00
Ezio Melotti
ab6ab15e7d
#17881 : clarify documentation of plistlib.
2013-04-30 16:34:04 +03:00
R David Murray
775ccdf1fc
#7152 : Remove incorrectly added reference to DataHandler.
2013-04-28 17:06:01 -04:00
R David Murray
d4c1b36c39
Merge: Reflow paragraphs.
...
(I got a merge conflict on this in urllib.request.rst, which makes no sense to
me. Hopefully I didn't screw up the previous 3.3 commit.)
2013-04-28 11:30:19 -04:00
R David Murray
9330a94467
Reflow paragraphs.
...
I know one of them looks worse, but now it is <80 chars and
matches the 2.7 text.
2013-04-28 11:24:35 -04:00
R David Murray
876f08e3ae
Merge #7152 : Clarify that ProxyHandler is added only if proxy settings are detected.
...
Behavior confirmation and initial patch by Jessica McKellar.
2013-04-28 11:08:27 -04:00
R David Murray
5aea37ad1d
#7152 : Clarify that ProxyHandler is added only if proxy settings are detected.
...
Behavior confirmation and initial patch by Jessica McKellar.
2013-04-28 11:07:16 -04:00
Brett Cannon
1f6ee73c1e
merge for issue #17357
2013-04-27 23:20:55 -04:00
Brett Cannon
4067aa272e
Issue #17357 : Use more stern wording for
...
importlib.invalidate_caches().
2013-04-27 23:20:32 -04:00
Antoine Pitrou
9f14681959
Issue #17804 : New function ``struct.iter_unpack`` allows for streaming struct unpacking.
2013-04-27 00:20:04 +02:00
Ezio Melotti
cbe19e56ea
#17729 : merge with 3.3.
2013-04-23 09:58:04 +03:00
Ezio Melotti
d638381ee0
#17729 : remove the Advocacy HOWTO from the index.
2013-04-23 09:56:30 +03:00
Ezio Melotti
99b3caf514
#17729 : merge with 3.3.
2013-04-23 09:25:45 +03:00
Ezio Melotti
8bdcaf794a
#17729 : remove the outdated Advocacy HOWTO, as suggested by the author.
2013-04-23 09:24:51 +03:00
Serhiy Storchaka
fcd9f22238
Issue #16624 : `subprocess.check_output` now accepts an `input` argument,
...
allowing the subprocess's stdin to be provided as a (byte) string.
Patch by Zack Weinberg.
2013-04-22 20:20:54 +03:00
R David Murray
ca3f29413e
#15575 : Clarify tutorial description of when modules are executed.
2013-04-21 16:59:04 -04:00
R David Murray
25187e666b
#15575 : Clarify tutorial description of when modules are executed.
2013-04-21 16:58:36 -04:00
Ned Deily
7503b4f463
Issue #17670 : merge from 3.3
2013-04-21 13:07:27 -07:00
Ned Deily
bebe91a0ef
Issue #17670 : Provide an example of expandtabs() usage.
2013-04-21 13:05:21 -07:00
R David Murray
a6d67e6c5d
Merge #17409 : Document RLIM_INFINITY and use it to clarify the setrlimit docs.
2013-04-20 13:40:33 -04:00
R David Murray
bdf940d3bd
#17409 : Document RLIM_INFINITY and use it to clarify the setrlimit docs.
2013-04-20 13:37:34 -04:00
Eli Bendersky
3bdead1113
Add some documentation for IncrementalParesr
2013-04-20 09:06:27 -07:00
Eli Bendersky
10e0af8493
Fix trailing whitespace
2013-04-20 05:54:29 -07:00
Eli Bendersky
ab2a76c8a8
Update ET documentation reprhasing the mention of the new IncrementalParser in
...
the doc for iterparse.
2013-04-20 05:53:50 -07:00
Barry Warsaw
24aa15959b
Merge 3.3
2013-04-19 11:32:54 -04:00
Barry Warsaw
0aa685a33c
Minor typo in example.
2013-04-19 11:32:25 -04:00
Antoine Pitrou
5b235d0923
Issue #17741 : Add ElementTree.IncrementalParser, an event-driven parser for non-blocking applications.
2013-04-18 19:37:06 +02:00
R David Murray
bca1a2629a
#17135 : Add note in imp to use importlib for new programs.
2013-04-18 09:51:17 -04:00
R David Murray
33a3c50db5
#17135 : mark imp as deprecated as of 3.4.
2013-04-17 18:50:12 -04:00
Ezio Melotti
5aa7685a1c
#17771 : merge with 3.3.
2013-04-17 07:34:31 +03:00
Ezio Melotti
a68c1ab571
#17771 : fix typo. Patch by Andriy Mysyk.
2013-04-17 07:34:13 +03:00
Ezio Melotti
3533ef2d21
#17740 : merge with 3.3.
2013-04-17 04:10:51 +03:00
Ezio Melotti
c048d98501
#17740 : fix links to the socket function. Initial patch by Zachary Ware.
2013-04-17 04:10:26 +03:00
Antoine Pitrou
9b42128e2c
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:28:15 +02:00
Antoine Pitrou
d34941ad4e
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
acfc454c10
#13510 : merge with 3.3.
2013-04-15 19:09:29 +03:00
Ezio Melotti
ed3cd7e445
#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
7d55a40b9a
Issue #17728 : Merge with 3.3.
2013-04-15 09:53:49 -04:00
Eric V. Smith
45fe62dc9c
Issue #17728 : Specify default precision for float.format for presentation types e, f, and g.
2013-04-15 09:51:54 -04:00
R David Murray
8a34596bbe
#2118 : IOError is deprecated, use OSError.
2013-04-14 06:46:35 -04:00
Georg Brandl
c8fb047d69
merge with 3.3
2013-04-14 12:03:01 +02:00
Georg Brandl
1aca953a40
Fix example ignoring ".svn" directories in compileall.
2013-04-14 12:02:43 +02:00
Georg Brandl
e827ea866d
merge with 3.3
2013-04-14 11:59:19 +02:00
Georg Brandl
1e1134a314
The Integral class does not contain implementations for the bit-shifting operations. (See #3056.)
2013-04-14 11:58:54 +02:00
Georg Brandl
015427e659
merge with 3.3
2013-04-14 11:55:44 +02:00
Georg Brandl
5e2954e083
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
f36f20f850
merge with 3.3
2013-04-14 11:16:46 +02:00
Georg Brandl
991fc5736e
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
1e6a3a2fe9
merge with 3.3
2013-04-14 10:59:17 +02:00
Georg Brandl
a204636b91
bind('') does not do the same as bind('localhost')
2013-04-14 10:59:04 +02:00
Georg Brandl
f221377d8b
merge with 3.3
2013-04-14 10:50:13 +02:00
Georg Brandl
5f4b4ac73e
Update code examples using collections.abc classes.
2013-04-14 10:50:05 +02:00
Georg Brandl
9def20566a
merge with 3.3
2013-04-14 10:31:24 +02:00
Georg Brandl
7b8c1324d7
Closes #17726 : small clarification in design FAQ.
2013-04-14 10:31:06 +02:00
Georg Brandl
94a9a2da32
merge with 3.3
2013-04-14 10:19:31 +02:00
Georg Brandl
e09596862a
Update using/mac documentation which was still on 2.5.
2013-04-14 10:17:35 +02:00
Georg Brandl
cf72c5e4ea
merge with 3.3
2013-04-14 10:13:50 +02:00
Georg Brandl
dec3b3f704
Clarify point in name mangling doc.
2013-04-14 10:13:42 +02:00
R David Murray
8e37d5df95
#2118 : Make SMTPException a subclass of IOError.
...
Initial patch by Ned Jackson Lovely.
2013-04-13 14:49:48 -04:00
R David Murray
c1d3daf58b
Merge #2118 : clarify smtplib exception documentation.
2013-04-13 14:42:36 -04:00
R David Murray
0bfd6acf03
Reflow paragraph.
2013-04-13 14:40:51 -04:00
R David Murray
14ee3cf244
#2118 : clarify smtplib exception documentation.
2013-04-13 14:40:33 -04:00
Ezio Melotti
5c965dafbd
#17686 : merge with 3.3.
2013-04-13 20:07:58 +03:00
Ezio Melotti
ac3da87553
#17686 : fix broken link in Doc/using/unix.rst. Patch by Dan Riti.
2013-04-13 20:07:42 +03:00
Mark Dickinson
9b6fdf8401
Fix incorrect indentation on 'versionadded' for weakref.ref.__callback__.
2013-04-13 16:09:18 +01:00
Mark Dickinson
556e94b8fe
Issue #17643 : Add __callback__ attribute to weakref.ref.
2013-04-13 15:45:44 +01:00
Ezio Melotti
3121e32952
#17653 : merge with 3.3.
2013-04-12 19:19:45 +03:00
Ezio Melotti
a3b255f275
#17653 : fix typo in socketserver docs. Patch by Tshepang Lekhonkhobe.
2013-04-12 19:19:21 +03:00
Vinay Sajip
a713079ed8
Closed #9556 : Allowed specifying a time-of-day for a TimedRotatingFileHandler to rotate.
2013-04-12 17:04:23 +01:00
Ezio Melotti
15a98cd30c
Merge heads.
2013-04-12 16:24:12 +03:00
Ezio Melotti
6ebdb61b67
Merge heads.
2013-04-12 16:23:24 +03:00
Andrew Svetlov
2175b4ff28
#17688 : fix declaration for richcmp example in the docs.
...
Thanks to Daniel Mullner
2013-04-12 16:09:00 +03:00
Andrew Svetlov
59d6d2dbeb
#17688 : fix declaration for richcmp example in the docs.
...
Thanks to Daniel Mullner
2013-04-12 16:08:40 +03:00
Ezio Melotti
cbc2d29636
#6696 : merge with 3.3.
2013-04-12 15:44:37 +03:00
Ezio Melotti
075d87cf05
#6696 : add documentation for the Profile objects, and improve profile/cProfile docs. Patch by Tom Pinckney.
2013-04-12 15:42:06 +03:00
Antoine Pitrou
50b24d0d7c
Fix a crash when setting a servername callback on a SSL server socket and the client doesn't send a server name.
...
Patch by Kazuhiro Yoshida.
(originally issue #8109 )
2013-04-11 20:48:42 +02:00
Georg Brandl
526575d537
Fix invalid markup.
2013-04-11 16:10:13 +02:00
R David Murray
671cd3290b
#17487 : wave.getparams now returns a namedtuple.
...
Patch by Claudiu Popa.
2013-04-10 12:31:43 -04:00
Ezio Melotti
3f5ffbee23
#17635 : merge with 3.3.
2013-04-10 18:01:22 +03:00
Ezio Melotti
c09959ae0f
#17635 : fix wrong function name in multiprocessing docs.
2013-04-10 17:59:20 +03:00
Brett Cannon
777622b6ca
What's new entry for issue #17093
2013-04-09 17:03:10 -04:00
Brett Cannon
100883f0cb
Issue #17093,17566,17567: Methods from classes in importlib.abc now raise/return
...
the default exception/value when called instead of raising/returning
NotimplementedError/NotImplemented (except where appropriate).
This should allow for the ABCs to act as the bottom/end of the MRO with expected
default results.
As part of this work, also make importlib.abc.Loader.module_repr()
optional instead of an abstractmethod.
2013-04-09 16:59:39 -04:00
Andrew Svetlov
595365de32
Merge heads
2013-04-07 14:47:05 +03:00
Andrew Svetlov
5cd72b7b9c
Update argparse docs to follow order of ArgumentParser() arguments.
2013-04-07 14:44:34 +03:00
Andrew Svetlov
5b6e1cad37
Update argparse docs to follow order of ArgumentParser() arguments.
2013-04-07 14:43:17 +03:00
Raymond Hettinger
1a2ea9c592
merge
2013-04-06 20:28:05 -07:00
Raymond Hettinger
17328e4fae
Clean-up lru_cache examples. The print() not is needed. Set maxsize to a power of two.
2013-04-06 20:27:33 -07:00
Andrew Svetlov
c53fd51278
Change wording as Eli Bendersky suggests.
2013-04-06 18:55:31 +03:00
Andrew Svetlov
e16f4dc80a
Change wording as Eli Bendersky suggests.
2013-04-06 18:55:07 +03:00
Georg Brandl
a4f988c2bd
merge with 3.3
2013-04-06 16:49:23 +02:00
Georg Brandl
03b273f4d1
Add 3.3.1 to LICENSE files.
2013-04-06 16:48:55 +02:00
Georg Brandl
98297f4807
merge with 3.3
2013-04-06 16:47:34 +02:00
Georg Brandl
cca5548159
merge with 3.3.1 release clone
2013-04-06 16:42:43 +02:00
Georg Brandl
2fd4abe6a1
merge with 3.2 branch
2013-04-06 16:39:49 +02:00
Andrew Svetlov
cb04acf425
Add link to glossary for hashable term in docs for set type
2013-04-05 16:22:01 +03:00
Andrew Svetlov
9a411ce9ea
Add link to glossary for hashable term in docs for set type
2013-04-05 16:21:50 +03:00
Andrew Svetlov
a5b89c178b
Fix typo
2013-04-05 11:40:01 +03:00
Andrew Svetlov
e463b668e8
Fix typo
2013-04-05 11:39:50 +03:00
Andrew Svetlov
974045523b
Fix typo.
2013-04-05 10:11:25 +03:00
Andrew Svetlov
815b0e23bf
Fix typo.
2013-04-05 10:10:12 +03:00
Ezio Melotti
b9e2147dee
#8913 : merge with 3.3.
2013-04-04 09:16:42 +03:00
Ezio Melotti
09f0ddec21
#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
fd4bba1bf3
Merge with 3.3
2013-04-03 12:45:47 -04:00
Terry Jan Reedy
41459a9b29
Issue #15940 : Replace tab.
2013-04-03 12:45:24 -04:00
Terry Jan Reedy
670e1b7b1e
Merge with 3.3
2013-04-03 12:35:25 -04:00
Terry Jan Reedy
b5e2e7e93a
Issue #15940 : Specify effect of locale on time functions.
2013-04-03 12:34:57 -04:00
R David Murray
9c7dfbf720
Merge #17623 : fix whatsnew typo
...
Patch by Thomas Heller.
2013-04-03 06:17:30 -04:00
R David Murray
03b2a1ce51
#17623 : fix whatsnew typo
...
Patch by Thomas Heller.
2013-04-03 06:16:14 -04:00
Ned Deily
05bdd853ec
Issue #17586 : fix typo in contextlib.rst
2013-03-31 17:06:15 -07:00
R David Murray
5cbf3a0d6e
Merge #17435 : Don't use mutable default values in Timer.
...
Patch by Denver Coneybeare with some test modifications by me.
2013-03-30 17:22:30 -04:00
R David Murray
19aeb439c6
Issue #17435 : Don't use mutable default values in Timer.
...
Patch by Denver Coneybeare with some test modifications by me.
2013-03-30 17:19:38 -04:00
Vinay Sajip
3fdd4f1935
Merged documentation update from 3.3.
2013-03-30 11:57:09 +00:00
Vinay Sajip
8028a5cf15
Updated logging cookbook with additional example for output using str.format().
2013-03-30 11:56:18 +00:00
Ezio Melotti
9d67238439
#17539 : merge with 3.3.
2013-03-30 05:56:21 +02:00
Ezio Melotti
b40a2203ad
#17539 : fix MagicMock example. Patch by Berker Peksag.
2013-03-30 05:55:52 +02:00
Ezio Melotti
e612c1e29f
#17438 : merge with 3.3.
2013-03-29 04:02:14 +02:00
Ezio Melotti
6d2bc6e80b
#17438 : add links to the conversion tables in dump(s)/load(s).
2013-03-29 03:59:29 +02:00
Antoine Pitrou
2463e5fee4
Issue #16692 : The ssl module now supports TLS 1.1 and TLS 1.2. Initial patch by Michele Orrù.
2013-03-28 22:24:43 +01:00
Ezio Melotti
f2c64ed9eb
Merge improvements to the suspicious builder and cleanup from 3.3.
2013-03-28 17:46:20 +02:00
Ezio Melotti
a5d55baecc
Update the suspicious builder to detect unused rules, and remove currently unusued rules.
2013-03-28 17:40:24 +02:00
Georg Brandl
1bab7134a8
Merge with 3.3.
2013-03-28 13:28:55 +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
Georg Brandl
8cb15bf6ff
merge with 3.3
2013-03-28 09:11:59 +01:00
Georg Brandl
6ba6b13e32
Fix XML vulnerability link targets.
2013-03-28 09:11:44 +01:00
Georg Brandl
6f18a8648b
Fix XML vulnerability link references.
2013-03-28 09:02:18 +01:00
Georg Brandl
f5390fc162
merge with last upstream doc changes in 3.2
2013-03-28 08:57:50 +01:00
Ezio Melotti
f92b063c4e
Update suspicious ignore file.
2013-03-28 05:12: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
67ddccafc3
#17329 : merge with 3.3.
2013-03-27 20:13:59 +02:00
Ezio Melotti
184e59357e
#17329 : merge with 3.2.
2013-03-27 20:12: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
9869e60dc2
Issue 17538: Document XML vulnerabilties
2013-03-26 17:48:28 +01:00
Christian Heimes
768f6a5360
Issue 17538: Document XML vulnerabilties
2013-03-26 17:47:23 +01:00
Christian Heimes
1df04e88ae
Issue 17538: Document XML vulnerabilties
2013-03-26 17:35:55 +01:00
Christian Heimes
7380a67267
Issue 17538: Document XML vulnerabilties
2013-03-26 17:35:55 +01:00
Kristjan Valur Jonsson
a1e8244afa
Issue #16475 : Add a whatsnew entry for 3.4
2013-03-26 13:56:14 +00:00
Ezio Melotti
711c37076a
Merge versionadded addition and typo fix from 3.3.
2013-03-26 02:38:40 +02:00
Ezio Melotti
a1eb483d8f
Add versionadded for `-X faulthandler` (also fix typo and markup).
2013-03-26 02:36:28 +02:00
Ezio Melotti
1f8898a591
#17323 : The "[X refs, Y blocks]" printed by debug builds has been disabled by default. It can be re-enabled with the `-X showrefcount` option.
2013-03-26 01:59:56 +02:00
Georg Brandl
a809e4a540
merge with upstream 3.3 branch
2013-03-25 07:01:37 +01:00
Georg Brandl
4eb5f1a567
merge with main repo 3.2 branch
2013-03-25 06:56:31 +01:00
Antoine Pitrou
64c16c3311
Issue #17150 : pprint now uses line continuations to wrap long string literals.
2013-03-23 20:30:39 +01:00
Gregory P. Smith
4a8ea9e2a6
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 12:00:00 -07: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
59addb7dec
merge
2013-03-23 09:08:18 -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
51612fd803
merge
2013-03-23 08:21:52 -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
Georg Brandl
a7d2f0061f
Copyright update to 2013.
2013-03-23 16:06:13 +01:00
Georg Brandl
d50fe7216d
Fix suspicious markup in the docs.
2013-03-23 16:00:41 +01:00
Georg Brandl
0a1bc11c66
Fix suspicious markup in the docs.
2013-03-23 15:59:46 +01:00
Kristján Valur Jónsson
34870c4142
Issue #17522 : Minor documentation fix
2013-03-23 03:56:16 -07:00
Kristján Valur Jónsson
684cd0e643
Issue #17522 : Add the PyGILState_Check() API.
2013-03-23 03:36:16 -07:00
Gregory P. Smith
d4296fc19c
cleanup references to PyString_ APIs in the 3.x docs.
2013-03-22 13:49:53 -07: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
671ddbe5a0
merge
2013-03-22 07:26:57 -07:00
Raymond Hettinger
8f35c891e7
Modernize unittest example
2013-03-22 07:26:18 -07:00
Terry Jan Reedy
2b6c26ebe3
Issue #13248 : NEWS and What's New items
2013-03-21 19:36:26 -04:00
doko@ubuntu.com
6d3d0fe0b2
- 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:39:52 -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
e25df59427
merge
2013-03-20 18:32:45 -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
Antoine Pitrou
c9b3ef2df0
Issue #16997 : unittest.TestCase now provides a subTest() context manager to procedurally generate, in an easy way, small test instances.
2013-03-20 20:16:47 +01:00
Ezio Melotti
c622bf3f85
Merge usage of argument/parameter and markup fixes from 3.3.
2013-03-20 13:54:30 +02: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
6409989dc8
clarifiy the documentation for issue17285. see also commit
...
ee30400efceb which updated the docstring.
2013-03-19 23:36:59 -07: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
08c73e80df
Automated merge with ssh://hg.python.org/cpython
2013-03-19 21:27:21 -07:00
Senthil Kumaran
6ddec17f01
#17474 - merge from 3.3. Update default Docs with versionchanged markup on what's removed
2013-03-19 18:03:39 -07:00
Kristján Valur Jónsson
d7009c6913
Issue #16475 : Support object instancing, recursion and interned strings
...
in marshal
2013-03-19 18:02:10 -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
Michael Foord
04cbe0c35b
Closes issue 17467. Add readline and readlines support to unittest.mock.mock_open
2013-03-19 17:22:51 -07:00
R David Murray
90cb1050d3
Merge: #1525919 : Document MIMEText+set_payload encoding behavior.
2013-03-19 18:21:50 -04: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
aced69fd3f
#17460 - merge from 3.3
2013-03-19 01:22:56 -07: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
41518b4af0
#17474 - Remove the various deprecated methods of Request class.
2013-03-18 18:06:00 -07:00
Michael Foord
80cbc9e998
Closes issue 16709. unittest test discovery sorts test files for consistent test ordering
2013-03-18 17:50:12 -07:00
Senthil Kumaran
7f6d79721d
#10050 : merge to default
2013-03-18 17:10:45 -07:00
Senthil Kumaran
6227c6952e
#10050 - Document DeprecationWarnings for URLopener and FancyURLopener (msg172874 )
2013-03-18 17:09:50 -07:00
Michael Foord
35266f78b7
Merge
2013-03-18 15:04:33 -07:00
Michael Foord
f575230981
Documentation corrections for unittest.mock
2013-03-18 15:04:03 -07:00
Senthil Kumaran
052ddb01b3
#17460 : Remove the strict argument of HTTPConnection and removing the
...
DeprecationWarning being issued from 3.2 onwards.
2013-03-18 14:11:41 -07:00
R David Murray
fbb1815491
Merge #16057 : Clarify why the base method default is called in custom encoders.
...
Original patch by Kushal Das.
2013-03-17 21:53:48 -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
15cddb498e
Merge with 3.3
2013-03-17 15:29:19 -04:00
Terry Jan Reedy
b271727bad
Merge with 3.2
2013-03-17 15:28:52 -04:00
Terry Jan Reedy
f3460414d5
Issue #17415 : Trim trailing whitespace
2013-03-17 15:28:10 -04:00
Terry Jan Reedy
a52c2d6d2f
Merge with 3.3
2013-03-17 15:25:12 -04:00
Terry Jan Reedy
3380170ea5
Merge with 3.2
2013-03-17 15:22:00 -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
Ezio Melotti
2acd293077
Fix markup/wording.
2013-03-16 22:23:30 +02:00
Terry Jan Reedy
8b8df5a8fb
Merge with 3.3
2013-03-16 15:57:27 -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
Georg Brandl
694bafa04e
merge with 3.3
2013-03-16 08:03:51 +01: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
b0dc5c3bc5
Merge with 3.3
2013-03-15 16:51:21 -04: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
Senthil Kumaran
2688644eef
#1291 http.server's send_error takes an optional explain argument
2013-03-15 07:53:21 -07:00
Eli Bendersky
f50d6bcbb7
Small cosmetic fixes
2013-03-14 14:39:51 -07:00
Terry Jan Reedy
dfde54b66f
Merge with 3.3: Issue #17386
2013-03-13 21:35:46 -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
1428e1335f
#17307 - merge from 3.3
2013-03-13 13:43:23 -07: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
Brett Cannon
327992330e
Issue #17099 : Have importlib.find_loader() raise ValueError when
...
__loader__ is not set on a module. This brings the exception in line
with when __loader__ is None (which is equivalent to not having the
attribute defined).
2013-03-13 11:09:08 -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
Brett Cannon
2514b4871f
Issue #17176 : Document that imp.NullImporter is no longer inserted
...
into sys.path_importer_cache.
2013-03-13 10:46:22 -07:00
Brett Cannon
4802becb16
Issue #17117 : Have both import itself and importlib.util.set_loader()
...
set __loader__ on a module when set to None.
Thanks to Gökcen Eraslan for the fix.
2013-03-13 10:41:36 -07:00
Brett Cannon
aa73a1c9c9
Issue #17222 : Document that py_compile now uses importlib for its file
...
writing and thus its semantics.
2013-03-13 09:37:42 -07:00
Benjamin Peterson
3b965a237c
expose O_PATH if possible
2013-03-13 10:27:41 -05:00
Ezio Melotti
fe1c471cb1
#17402 : merge with 3.3.
2013-03-13 02:27:53 +02: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
Benjamin Peterson
7192eddb4a
update links to 6.2.0
2013-03-12 11:56:38 -05: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
8e7586bd44
Issue #17047 : remove doubled words added in 3.4,
...
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 18:38:13 -04:00
Terry Jan Reedy
8b53559a89
Merge with 3.3, issue #17047 : remove doubled words added in 3.3,
...
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 18:36:38 -04: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
dd61f8f389
Merge with 3.3: Issue #17047 : removed doubled words in Doc/*,
...
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:27:28 -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
Benjamin Peterson
37474f43f3
fix spelling ( #17327 )
2013-03-11 12:17:19 -05:00
Benjamin Peterson
285581405d
say defaultobj is returned ( #17327 )
2013-03-11 11:50:21 -05:00
Benjamin Peterson
e094833f22
remove more useless words
2013-03-11 11:35:47 -05:00
Benjamin Peterson
89fe665e38
remove useless words ( #17327 )
2013-03-11 11:31:29 -05:00
Ezio Melotti
a41fb4be5b
#17351 : merge with 3.3.
2013-03-11 09:43:25 +02: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
e318a883fe
Issue #15806 : Add contextlib.ignored().
2013-03-10 22:26:51 -07:00
Ezio Melotti
fc5c5320a0
Fix typo in PyDict_SetDefault docs.
2013-03-10 20:57:16 +02:00
Raymond Hettinger
6584a1e72c
merge
2013-03-10 09:51:37 -07:00
Raymond Hettinger
686aae4841
Inherit from object() for consistency
2013-03-10 09:50:37 -07:00
Raymond Hettinger
e238b889eb
merge
2013-03-10 09:42:22 -07:00
Raymond Hettinger
632c8c8ab1
Issue #17351 : Modernize the pure Python property() example.
2013-03-10 09:41:18 -07:00
Brett Cannon
ff73758b8f
merge
2013-03-09 14:25:08 -05:00
Brett Cannon
b7e6b89554
Touch up the Python 2 to 3 porting guide
2013-03-09 14:22:35 -05:00
Eli Bendersky
439b2bf4cd
Add warning in ctypes documentation for #16575 and #16576
2013-03-09 05:55:24 -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
c75be9341d
Merge: closes issue 16643 (not ....2 as in last commit message)
2013-03-09 02:19:33 -05: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
11c08fd4b4
Issue #17332 : fix json doc typo /convered/converted/ found by Ernie Hershey.
2013-03-08 19:40:17 -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
Vinay Sajip
d12ff7b754
Closes #17376 : Merged clarification from 3.3.
2013-03-08 23:27:24 +00: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
Eli Bendersky
25b3464498
Issue #17378 : ctypes documentation fix.
...
Document that ctypes automatically applies byref() when argtypes declares
POINTER.
2013-03-08 05:33:05 -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
Benjamin Peterson
00e9886bd9
Add PyDict_SetDefault. ( closes #17327 )
...
Patch by Stefan Behnel and I.
2013-03-07 22:16:29 -05: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
Nick Coghlan
90c91afd2e
Merge fix for #15465 from 3.3
2013-03-07 23:45:03 +10:00
Nick Coghlan
7d82c8621b
Close #15465 : Document C API version macros
...
Mostly moving the existing macro docs over from the standard
library docs to the C API docs where they belong.
Patch by Kushal Das.
2013-03-07 23:14:44 +10:00
Eli Bendersky
be0c028eb5
Fix doc grammar and line width
2013-03-06 06:50:36 -08:00
Eli Bendersky
68dd8ba010
Fix doc grammar and line width
2013-03-06 06:49:22 -08:00
Eli Bendersky
f9164e13fc
Fix doc grammar and line width
2013-03-06 06:48:57 -08:00
Ezio Melotti
ed63754ef6
#17364 : merge with 3.3.
2013-03-06 03:23:52 +02:00
Ezio Melotti
20d19241e5
#17364 : merge with 3.2.
2013-03-06 03:23:28 +02:00
Ezio Melotti
33e20d1954
#17364 : remove documentation for a function that does not exist.
2013-03-06 03:20:27 +02:00
Ezio Melotti
648b5900d5
#17363 : merge with 3.3.
2013-03-06 02:59:25 +02:00
Ezio Melotti
32b0f02034
#17363 : fix arguments in PyState_AddModule and PyState_RemoveModule docs.
2013-03-06 02:57:25 +02:00
Ezio Melotti
87a249c119
#11732 : merge with 3.3.
2013-03-05 20:33:38 +02:00
Ezio Melotti
25a404520d
#11732 : add a new suppress_crash_popup() context manager to test.support.
2013-03-05 20:26:17 +02:00
Ezio Melotti
bf0428ebed
Merge markup fixes in unittest doc from 3.3.
2013-03-01 21:28:23 +02:00
Ezio Melotti
aba4581ce3
Merge markup fixes in unittest doc from 3.2.
2013-03-01 21:28:06 +02:00
Ezio Melotti
fed69ba63c
Fix markup in unittest doc.
2013-03-01 21:26:04 +02:00
Ezio Melotti
eae2b38948
#16935 : unittest now counts the module as skipped if it raises SkipTest, instead of counting it as an error. Patch by Zachary Ware.
2013-03-01 14:47:50 +02:00
Raymond Hettinger
0580cbb164
Merge
2013-03-01 03:31:05 -08:00
Raymond Hettinger
faaba59977
Regex should be a raw string
2013-03-01 03:30:20 -08:00
Ezio Melotti
a2f94aa0bf
Merge link addition from 3.3.
2013-02-28 18:03:35 +02:00
Ezio Melotti
4b231a7d12
Merge link addition from 3.2.
2013-02-28 18:03:16 +02:00
Ezio Melotti
c6641dbf58
Add a link to the demo dir.
2013-02-28 18:02:28 +02:00
Ezio Melotti
26db85b30e
Merge markup fixes in unittest docs from 3.3.
2013-02-28 08:31:32 +02:00
Ezio Melotti
df2460564d
Merge markup fixes in unittest docs from 3.2.
2013-02-28 08:29:37 +02:00
Ezio Melotti
4d6cb0fcf9
Fix markup in unittest docs.
2013-02-28 08:28:11 +02:00
Chris Jerdonek
25eed49a70
Issue #16406 : Combine the doc pages for uploading and registering to PyPI.
2013-02-27 10:04:23 -08:00
Chris Jerdonek
79333db79a
Issue #16406 : Combine the doc pages for uploading and registering to PyPI.
2013-02-27 10:03:26 -08:00
Chris Jerdonek
13fb979638
Issue #16406 : Combine the doc pages for uploading and registering to PyPI.
2013-02-27 10:00:20 -08:00
Petri Lehtinen
e55aa69efc
Issue #14720 : Enhance sqlite3 microsecond conversion, document its behavior
2013-02-26 21:46:12 +02:00
Petri Lehtinen
6401ad66a7
Issue #14720 : Enhance sqlite3 microsecond conversion, document its behavior
2013-02-26 21:45:09 +02:00
Petri Lehtinen
5f79409889
Issue #14720 : Enhance sqlite3 microsecond conversion, document its behavior
2013-02-26 21:38:17 +02:00
Senthil Kumaran
139a63fb85
Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior
2013-02-26 01:04:45 -08:00
Senthil Kumaran
514f056a89
Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior
2013-02-26 01:04:22 -08:00
Senthil Kumaran
8fd366978d
Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior
2013-02-26 01:02:58 -08:00
Chris Jerdonek
ccbc26a24c
Add a "Changed in version" to the docs for issue #15132 .
2013-02-23 15:44:46 -08:00
Petri Lehtinen
3ef11a98c6
Issue #16403 : Document how distutils uses the maintainer field in PKG-INFO
2013-02-23 21:10:18 +01:00
Petri Lehtinen
7de72ad8a0
Issue #16403 : Document how distutils uses the maintainer field in PKG-INFO
2013-02-23 21:09:12 +01:00
Petri Lehtinen
905b648754
Issue #16403 : Document how distutils uses the maintainer field in PKG-INFO
2013-02-23 21:06:16 +01:00
Petri Lehtinen
914ec6f718
Issue #16695 : Document how glob handles filenames starting with a dot
2013-02-23 19:56:15 +01:00
Petri Lehtinen
e2c114733b
Issue #16695 : Document how glob handles filenames starting with a dot
2013-02-23 19:55:36 +01:00
Petri Lehtinen
ee4a20bad6
Issue #16695 : Document how glob handles filenames starting with a dot
2013-02-23 19:53:27 +01:00
Petri Lehtinen
827b36bed8
Issue #8890 : Stop advertising an insecure use of /tmp in docs
2013-02-23 19:37:01 +01:00
Petri Lehtinen
3c75a48c86
Issue #8890 : Stop advertising an insecure use of /tmp in docs
2013-02-23 19:34:44 +01:00
Petri Lehtinen
9f74c6cf7d
Issue #8890 : Stop advertising an insecure use of /tmp in docs
2013-02-23 19:27:49 +01:00
Ezio Melotti
9d9ab3d8fb
#15438 : merge with 3.3.
2013-02-23 04:55:48 +02:00
Ezio Melotti
cc5ea62e48
#15438 : merge with 3.2.
2013-02-23 04:55:24 +02:00
Ezio Melotti
739d5497c0
#15438 : add a note to math.pow() that suggests using **/pow() for integers. Patch by Mark Dickinson.
2013-02-23 04:53:44 +02:00
Ezio Melotti
607240c3be
#17271 : merge with 3.3.
2013-02-22 08:29:34 +02:00
Ezio Melotti
5c72b3f067
#17271 : merge with 3.2.
2013-02-22 08:29:11 +02:00
Ezio Melotti
ad17bc0bf9
#17271 : update example in tempfile docs.
2013-02-22 08:28:14 +02:00
Ezio Melotti
8e5432bcee
#17256 : merge with 3.3.
2013-02-22 07:51:43 +02:00
Ezio Melotti
ff3f333605
#17256 : merge with 3.2.
2013-02-22 07:51:18 +02:00
Ezio Melotti
a19ebdb44a
#17256 : fix syntax highlight in embedding example. Patch by Kushal Das.
2013-02-22 07:46:22 +02:00
Chris Jerdonek
e787c9c981
Issue #17203 : add long option names to unittest discovery docs.
2013-02-21 19:02:38 -08:00
Chris Jerdonek
8c0bbfd101
Issue #17203 : add long option names to unittest discovery docs.
2013-02-21 19:00:06 -08:00
Chris Jerdonek
d69ad55220
Issue #17203 : add long option names to unittest discovery docs.
2013-02-21 18:54:43 -08:00
Serhiy Storchaka
920007ad76
Issue #17225 : JSON decoder now counts columns in the first line starting
...
with 1, as in other lines.
2013-02-21 20:26:52 +02:00
Serhiy Storchaka
ed891c1517
Issue #17225 : JSON decoder now counts columns in the first line starting
...
with 1, as in other lines.
2013-02-21 20:21:21 +02:00
Serhiy Storchaka
c510a048ba
Issue #17225 : JSON decoder now counts columns in the first line starting
...
with 1, as in other lines.
2013-02-21 20:19:16 +02:00
Ezio Melotti
542b7d1f15
#17265 : merge with 3.3.
2013-02-21 12:35:57 +02:00
Ezio Melotti
4d6795e1a2
#17265 : merge with 3.2.
2013-02-21 12:35:40 +02:00
Ezio Melotti
bcbc5678d5
#17265 : fix highlight in template example. Initial patch by Berker Peksag.
2013-02-21 12:30:32 +02:00
R David Murray
8aa164b395
Merge: #13700 : Make imap.authenticate with authobject work.
...
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
2013-02-19 12:20:32 -05:00
R David Murray
6cd6f01556
Merge: #13700 : Make imap.authenticate with authobject work.
...
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
2013-02-19 12:19:13 -05:00
R David Murray
774a39f26e
#13700 : Make imap.authenticate with authobject work.
...
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
2013-02-19 12:17:31 -05:00
Andrew Svetlov
597ba7e351
Issue #17215 : Fix documentation misprints (patch by July Tikhonov)
2013-02-17 16:56:28 +02:00
Andrew Svetlov
a60de4f14f
Issue #17215 : Fix documentation misprints (patch by July Tikhonov)
2013-02-17 16:55:58 +02:00
Eric Snow
b5c8f92782
Issue #15022 : Add pickle and comparison support to types.SimpleNamespace.
2013-02-16 16:32:39 -07:00
Serhiy Storchaka
0cad7eca45
Issue #17193 : Use binary prefixes (KiB, MiB, GiB) for memory units.
2013-02-16 17:30:31 +02:00
Serhiy Storchaka
f8def28ff0
Issue #17193 : Use binary prefixes (KiB, MiB, GiB) for memory units.
2013-02-16 17:29:56 +02:00
Antoine Pitrou
a7b814973f
Issue #17208 : add a note about the termination behaviour of daemon threads.
2013-02-15 21:32:30 +01:00
Antoine Pitrou
db0b7be566
Issue #17208 : add a note about the termination behaviour of daemon threads.
2013-02-15 21:31:33 +01:00
Antoine Pitrou
38b82543f7
Issue #17208 : add a note about the termination behaviour of daemon threads.
2013-02-15 21:27:18 +01:00
Mark Dickinson
d80b16dbd5
Fix ReST role markup: :method: -> :meth:
2013-02-10 18:43:16 +00:00
Benjamin Peterson
1ef876cd28
evaluate positional defaults before keyword-only defaults ( closes #16967 )
2013-02-10 09:29:59 -05:00
Antoine Pitrou
902fc8b5a0
Issue #13773 : sqlite3.connect() gets a new `uri` parameter to pass the filename as a URI, allowing to pass custom options.
2013-02-10 00:02:44 +01:00
R David Murray
31c3cd2fb8
Merge: #17166 : fix _dummy_thread import example.
...
Report and patch by Berker Peksag.
2013-02-09 13:25:12 -05:00
R David Murray
f4b54adc70
Merge: #17166 : fix _dummy_thread import example.
...
Report and patch by Berker Peksag.
2013-02-09 13:24:44 -05:00
R David Murray
041d553319
#17166 : fix _dummy_thread import example.
...
Report and patch by Berker Peksag.
2013-02-09 13:23:46 -05:00
Benjamin Peterson
fde43ec5cc
merge 3.3 ( #17168 )
2013-02-09 08:57:53 -05:00
Benjamin Peterson
5d50adee50
StringIO.StringIO -> io.StringIO ( closes #17168 )
2013-02-09 08:57:28 -05:00
Serhiy Storchaka
9ea2d55d91
Issue #17147 . Mention BytesIO in SpooledTemporaryFile documentation.
2013-02-09 11:53:09 +02:00
Serhiy Storchaka
19a5214da4
Minor fix of previous commit.
2013-02-09 11:51:48 +02:00
Serhiy Storchaka
4b109cb4a8
Minor fix of previous commit.
2013-02-09 11:51:21 +02:00
Serhiy Storchaka
23a6726bc8
Issue #17147 . Mention BytesIO in SpooledTemporaryFile documentation.
2013-02-09 11:47:20 +02:00
Serhiy Storchaka
4f169a7a4d
Issue #17147 . Mention BytesIO in SpooledTemporaryFile documentation.
2013-02-09 11:46:42 +02:00
Serhiy Storchaka
7611d9a8cf
Issue #16686 : Fixed a lot of bugs in audioop module.
...
* avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX.
* ratecv() no more crashes on empty input fragment.
* Fixed an integer overflow in ratecv().
* Fixed an integer overflow in add() and bias() for 32-bit samples.
* reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples.
* max() and rms() no more returns negative result for 32-bit sample -0x80000000.
* minmax() now returns correct max value for 32-bit sample -0x80000000.
* avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000.
* add() now can return 32-bit sample -0x80000000.
2013-02-09 11:13:46 +02:00
Serhiy Storchaka
8135de80f7
Issue #16686 : Fixed a lot of bugs in audioop module.
...
* avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX.
* ratecv() no more crashes on empty input fragment.
* Fixed an integer overflow in ratecv().
* Fixed an integer overflow in add() and bias() for 32-bit samples.
* reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples.
* max() and rms() no more returns negative result for 32-bit sample -0x80000000.
* minmax() now returns correct max value for 32-bit sample -0x80000000.
* avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000.
* add() now can return 32-bit sample -0x80000000.
2013-02-09 11:12:36 +02:00
Serhiy Storchaka
01ad622a2c
Issue #16686 : Fixed a lot of bugs in audioop module.
...
* avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX.
* ratecv() no more crashes on empty input fragment.
* Fixed an integer overflow in ratecv().
* Fixed an integer overflow in add() and bias() for 32-bit samples.
* reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples.
* max() and rms() no more returns negative result for 32-bit sample -0x80000000.
* minmax() now returns correct max value for 32-bit sample -0x80000000.
* avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000.
* add() now can return 32-bit sample -0x80000000.
2013-02-09 11:10:53 +02:00
Gregory P. Smith
1d824ec9b3
Issue #6972 : keep the warning about untrusted extraction and mention
...
the version it was improved in.
2013-02-07 22:17:21 -08:00
Gregory P. Smith
5546b002de
Issue #6972 : keep the warning about untrusted extraction and mention
...
the version it was improved in.
2013-02-07 22:15:51 -08:00
Gregory P. Smith
f1319d81f7
Issue #6972 : keep the warning about untrusted extraction and mention
...
the version it was improved in.
2013-02-07 22:15:04 -08:00
Senthil Kumaran
5eda539591
Addressing the review comment made by Terry Reedy
2013-02-07 21:45:08 -08:00
Senthil Kumaran
cf6e21ccef
Addressing the review comment made by Terry Reedy
2013-02-07 21:44:42 -08:00
Senthil Kumaran
d03f467dc2
Addressing the review comment made by Terry Reedy
2013-02-07 21:43:21 -08:00
Senthil Kumaran
b36f7d7b7e
Fix Issue17069: Document getcode method in urllib.request.rst
2013-02-07 00:50:02 -08:00
Senthil Kumaran
599ac4ba2d
Fix Issue17069: Document getcode method in urllib.request.rst
2013-02-07 00:49:12 -08:00
Senthil Kumaran
b98e96a23f
Fix Issue17069: Document getcode method in urllib.request.rst
2013-02-07 00:47:01 -08:00
Charles-François Natali
773e42dff8
Issue #15359 : Add CAN_BCM protocol support to the socket module. Patch by Brian
...
Thorne.
2013-02-05 19:42:01 +01:00
Serhiy Storchaka
b3f194d109
Issue #16903 : Popen.communicate() on Unix now accepts strings when
...
universal_newlines is true as on Windows.
2013-02-04 16:47:39 +02:00
Georg Brandl
cd50108341
merge with 3.3
2013-02-03 14:00:38 +01:00
Georg Brandl
7fc972a2aa
#17109 : fix headings in mock example doc.
2013-02-03 14:00:04 +01:00
Georg Brandl
ecfb963148
merge with 3.3
2013-02-03 11:48:44 +01:00
Georg Brandl
fb13438aa5
Closes #17109 : fix heading levels in mock doc.
2013-02-03 11:47:49 +01:00
Antoine Pitrou
5c64df70b5
Issue #17015 : When it has a spec, a Mock object now inspects its signature when matching calls, so that arguments can be matched positionally or by name.
2013-02-03 00:23:58 +01:00
Serhiy Storchaka
8f59021a10
Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972 .
2013-02-02 13:28:42 +02:00
Serhiy Storchaka
d4198c4234
Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972 .
2013-02-02 13:28:05 +02:00
Serhiy Storchaka
44b8cbfcba
Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972 .
2013-02-02 13:27:30 +02:00
Ned Deily
0dfacb7742
Issue #15116 : merge from 3.3
2013-02-02 00:20:50 -08:00
Ned Deily
c2aadc267a
Issue #15116 : merge from 3.2
2013-02-02 00:19:05 -08:00
Ned Deily
ae8d6ac3f4
Issue #15116 : Remove references to appscript as it is no longer being
...
supported.
2013-02-02 00:16:14 -08:00
Gregory P. Smith
ae42ec8004
Fixes Issue #6972 : The zipfile module no longer overwrites files outside of
...
its destination path when extracting malicious zip files.
2013-02-01 11:35:00 -08:00
Gregory P. Smith
193e1be72d
Fixes Issue #6972 : The zipfile module no longer overwrites files outside of
...
its destination path when extracting malicious zip files.
2013-02-01 11:31:31 -08:00
Gregory P. Smith
b47acbf46a
Fixes Issue #6972 : The zipfile module no longer overwrites files outside of
...
its destination path when extracting malicious zip files.
2013-02-01 11:22:43 -08:00
Ezio Melotti
3182a3e55f
#16128 : merge with 3.3.
2013-02-01 05:20:20 +02:00
Ezio Melotti
84ad6aea73
#16128 : merge with 3.2.
2013-02-01 05:20:06 +02:00
Ezio Melotti
188ad851fb
#16128 : clarify that instances of user-defined classes compare equal with themselves.
2013-02-01 05:18:44 +02:00
Ezio Melotti
d23c0a8992
#17040 : document that shelve.open() and the Shelf object can be used as context managers. Initial patch by Berker Peksag.
2013-02-01 05:01:50 +02:00
Vinay Sajip
05361bab89
Merged documentation update from 3.3.
2013-01-30 13:44:34 +00:00
Vinay Sajip
2b4fcfbbec
Updated venv documentation with an example.
2013-01-30 13:44:00 +00:00
Benjamin Peterson
63c5202715
merge 3.3 ( #4590 )
2013-01-28 18:28:53 -05:00
Benjamin Peterson
4dafd4075c
fix long fixer docs ( #4590 )
2013-01-28 18:28:38 -05:00
Mark Dickinson
07c7136524
Issue #16772 : in int(x, base), non-integer bases must have an __index__ method.
2013-01-27 10:17:52 +00:00
Sandro Tosi
876a58b8d1
merge with 3.3
2013-01-27 00:33:22 +01:00
Sandro Tosi
4c1b9f4ca7
fix typo; thanks to Andrew Harrington from docs@
2013-01-27 00:33:04 +01:00
Eli Bendersky
48c50bf4c8
Clarify ET.iterparse documentation - this function is not supported by the
...
C implementation.
2013-01-24 07:23:34 -08:00
Vinay Sajip
560eff173c
Merged doc update from 3.3.
2013-01-23 09:32:32 +00:00
Vinay Sajip
9427b03133
Merged doc update from 3.2.
2013-01-23 09:32:10 +00:00
Vinay Sajip
3d9e972270
Corrected typo, added comment in cookbook recipe.
2013-01-23 09:31:19 +00:00
Ezio Melotti
605a95ae44
#11379 : merge with 3.3.
2013-01-22 22:50:06 +02:00
Ezio Melotti
564e4d8dc9
#11379 : merge with 3.2.
2013-01-22 22:49:46 +02:00
Ezio Melotti
da4b5b82a3
#11379 : rephrase minidom documentation to use the term "minimal" instead of "lightweight". Patch by Éric Araujo.
2013-01-22 22:47:57 +02:00
Vinay Sajip
88069d217a
Merged doc update from 3.3.
2013-01-22 15:58:34 +00:00
Vinay Sajip
a3bdce8c91
Merged doc update from 3.2.
2013-01-22 15:58:14 +00:00
Vinay Sajip
4b88d6c664
Added cookbook recipe for structured logging.
2013-01-22 15:57:39 +00:00
Vinay Sajip
be2795a6f9
Merged documentation update from 3.3.
2013-01-22 13:13:43 +00:00
Vinay Sajip
7f3e993a3a
Merged documentation update from 3.2.
2013-01-22 13:13:16 +00:00
Vinay Sajip
f186911e24
Updated logging HOWTO with a diagram.
2013-01-22 13:12:34 +00:00
Serhiy Storchaka
2ba095c6c5
Fix shutil.which() test for issue #16993 .
2013-01-22 10:32:16 +02:00
Serhiy Storchaka
80c88f4304
Fix shutil.which() test for issue #16993 .
2013-01-22 10:31:36 +02:00
Vinay Sajip
e461f7939d
Issue #17007 : Merged minor changes from 3.3.
2013-01-21 21:58:29 +00:00
Vinay Sajip
9fff3865da
Issue #17007 : Merged minor changes from 3.2.
2013-01-21 21:58:05 +00:00
Vinay Sajip
52b3d34d1c
Issue #17007 : Made minor changes to documentation wording.
2013-01-21 21:57:10 +00:00
Vinay Sajip
272b0e324c
Closes #17007 : Merged doc update from 3.3.
2013-01-21 19:46:18 +00:00
Vinay Sajip
f29839e8e8
Issue #17007 : Merged doc update from 3.2.
2013-01-21 19:45:27 +00:00
Vinay Sajip
6c4c16cdb8
Issue #17007 : Improved logging documentation based on suggestions in the issue.
2013-01-21 19:44:28 +00:00
Serhiy Storchaka
5b987c2e68
Issue #16993 : shutil.which() now preserves the case of the path and extension
...
on Windows.
2013-01-21 15:01:34 +02:00
Serhiy Storchaka
014791f848
Issue #16993 : shutil.which() now preserves the case of the path and extension
...
on Windows.
2013-01-21 15:00:27 +02:00
Stefan Krah
a12ff2c682
Merge 3.3.
2013-01-20 23:19:22 +01:00
Stefan Krah
e4aa08e52b
Issue #7353 : Remove references to Include/intobject.h in the C-porting howto.
2013-01-20 23:18:00 +01:00
Benjamin Peterson
668d2cc3d8
merge 3.3
2013-01-20 10:09:51 -05:00
Benjamin Peterson
648fa19745
end is a keyword argument
2013-01-20 10:09:44 -05:00
Benjamin Peterson
e7ce184fe8
merge 3.3
2013-01-20 10:05:28 -05:00
Benjamin Peterson
0781900068
expressions -> arguments
2013-01-20 10:05:13 -05:00
Ezio Melotti
c7ca59a8ae
#16557 : merge with 3.3.
2013-01-20 16:35:09 +02:00
Ezio Melotti
5246f66e5e
#16557 : update functional howto -- "return value" is valid after PEP 380. Initial patch by Ramchandra Apte.
2013-01-20 16:34:21 +02:00
Ezio Melotti
60a64d7cbb
#4153 : merge with 3.3.
2013-01-20 12:18:34 +02:00
Ezio Melotti
81b46ec0e5
#4153 : merge with 3.2.
2013-01-20 12:18:17 +02:00
Ezio Melotti
410eee566f
#4153 : update the Unicode howto.
2013-01-20 12:16:03 +02:00
Antoine Pitrou
21f3283d31
Remove cruft and circumvolutions from the unittest docs.
...
(I would have preferred to post this for review but the bug tracker is pretty much dead at the moment)
2013-01-20 01:31:20 +01:00
Antoine Pitrou
2c5e9504d8
Remove cruft and circumvolutions from the unittest docs.
...
(I would have preferred to post this for review but the bug tracker is pretty much dead at the moment)
2013-01-20 01:29:39 +01:00
Ezio Melotti
e6eb408c18
#16978 : merge with 3.3.
2013-01-18 19:59:13 +02:00
Ezio Melotti
6d043fc781
#16978 : merge with 3.2.
2013-01-18 19:58:47 +02:00
Ezio Melotti
ff12fae80e
#16978 : rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe.
2013-01-18 19:55:46 +02:00
Łukasz Langa
4cdd4c03c9
math.fsum docs did not show up because of a misplaced testsetup directive
...
(merged 3.2 fix through 3.3)
2013-01-18 13:42:56 +01:00
Łukasz Langa
37bfa238da
math.fsum docs did not show up because of a misplaced testsetup directive
...
(merged 3.2 fix)
2013-01-18 13:41:14 +01:00
Łukasz Langa
288234fe0e
math.fsum docs did not show up because of a misplaced testsetup directive
2013-01-18 13:40:43 +01:00
Benjamin Peterson
184f01544f
merge 3.3 ( #7340 )
2013-01-15 16:49:35 -05:00
Benjamin Peterson
0ad344a832
remove warning about tb circular reference ( closes #7340 )
2013-01-15 16:49:22 -05:00
Andrew Svetlov
1bd7f02c81
Issue #5066 : Update IDLE docs
...
Patch by Todd Rovito
2013-01-14 19:27:36 +02:00
Serhiy Storchaka
9e189f0a28
Cleanup the docs ElementTree a bit.
2013-01-13 22:24:27 +02:00
Serhiy Storchaka
f1b045f417
Describe the default_namespace parameter of ElemetTree.write.
2013-01-13 22:04:43 +02:00
Serhiy Storchaka
03530b980e
Describe the default_namespace parameter of ElemetTree.write.
2013-01-13 21:58:04 +02:00
Eli Bendersky
e9af827fb1
Cleanup the docs ElementTree a bit and describe the default_namespace parameter. In the code, replace the old outdated Doxygen-ish comment above ElementTree.write by a proper docstring.
2013-01-13 06:27:51 -08:00
Eli Bendersky
a9a2ef5550
Close #14377 : Add a new parameter to ElementTree.write and some module-level
...
serialization functions - short_empty_elements. It controls how elements
without contents are emitted.
Patch by Serhiy Storchaka. Feature initially proposed by Ariel Poliak.
2013-01-13 06:04:43 -08:00
Eli Bendersky
abdcf2c579
fix versionadded to 3.4
2013-01-12 14:02:29 -08:00
Eli Bendersky
eb2884a875
Close #15442 : Expand the list of default directories ignored by filecmp.dircmp and expose it as a module attribute
2013-01-12 06:13:32 -08:00
Ezio Melotti
e6f3d53138
#16940 : merge with 3.3.
2013-01-12 10:40:49 +02:00
Ezio Melotti
9895ab463b
#16940 : merge with 3.2.
2013-01-12 10:40:24 +02:00
Ezio Melotti
7128e073e2
#16940 : fix indentation in example.
2013-01-12 10:39:45 +02:00
Chris Jerdonek
eb9e885f78
Issue #16933 (merge from 3.3): Improve choices examples in argparse docs.
2013-01-11 19:29:43 -08:00
Chris Jerdonek
71e39fb484
Issue #16933 (merge from 3.2): Improve choices examples in argparse docs.
2013-01-11 19:28:05 -08:00
Chris Jerdonek
174ef67b56
Issue #16933 (2.7 forward-port): Improve choices examples in argparse docs.
2013-01-11 19:26:44 -08:00
Vinay Sajip
1ba81ee19a
Closes #16613 : Added optional mapping argument to ChainMap.new_child.
2013-01-11 23:39:53 +00:00
Georg Brandl
cba18fefdc
merge with 3.3
2013-01-11 20:26:54 +01:00
Georg Brandl
154dc4e423
Closes #16936 : fix duplicate/ambiguous description of stat.S_IFMT in the docs.
2013-01-11 20:25:54 +01:00
Tim Golden
9d30698d9e
#16921 Since Win9x is no longer supported, CREATE_NEW_CONSOLE is
...
no longer implied by shell=True
2013-01-11 13:28:31 +00:00
Sandro Tosi
ba8279f252
merge with 3.3
2013-01-11 10:49:43 +01:00
Sandro Tosi
a525fc161a
merge with 3.2
2013-01-11 10:49:28 +01:00
Sandro Tosi
32587fbb89
grammatical fix; thanks to Alex Rudnick from docs@
2013-01-11 10:49:00 +01:00
Ezio Melotti
14af64fb38
#16154 : merge with 3.3.
2013-01-11 09:12:49 +02:00
Ezio Melotti
5a4b03dd82
#16154 : merge with 3.2.
2013-01-11 09:12:28 +02:00
Ezio Melotti
405079213b
#16154 : fix some doctests in Doc/library. Patch by Ravi Sinha.
2013-01-11 09:09:07 +02:00
Chris Jerdonek
1f49c5c37e
Issue #16874 (merge from 3.3): fix some documentation formatting.
2013-01-10 23:04:44 -08:00
Chris Jerdonek
b2b2252a81
Issue #16874 (merge from 3.2): fix some documentation formatting.
2013-01-10 23:03:42 -08:00
Chris Jerdonek
444d153d7e
Issue #16874 (forward-port from 2.7): fix some documentation formatting.
2013-01-10 23:01:27 -08:00
R David Murray
edb0e5eb2c
merge #13934 : document sqlite version strings, use correct one in test.
2013-01-10 20:20:19 -05:00
R David Murray
d394455aae
merge #13934 : document sqlite version strings, use correct one in test.
2013-01-10 20:19:35 -05:00
R David Murray
3f7beb99dd
#13934 : document sqlite version strings, use correct one in test.
2013-01-10 20:18:21 -05:00
Ezio Melotti
594f20cd00
Merge unittest.mock examples fixes.
2013-01-10 03:44:00 +02:00
Ezio Melotti
e212370fea
Use correct methods in unittest.mock examples.
2013-01-10 03:43:33 +02:00
Vinay Sajip
f43c4d66be
Issue #16884 : Merged doc fix from 3.3.
2013-01-08 11:27:18 +00:00
Vinay Sajip
9a546530bb
Issue #16884 : Merged doc fix from 3.2.
2013-01-08 11:26:30 +00:00
Vinay Sajip
21b30827bc
Issue #16884 : Updated docs to use 'note' directives in a couple of places missed earlier.
2013-01-08 11:25:42 +00:00
Vinay Sajip
ed6f37cad1
Closes #16884 : Merged logging documentation fixes from 3.3.
2013-01-07 14:19:12 +00:00
Vinay Sajip
0e82fd1f78
Issue #16884 : Merged logging documentation fixes from 3.2.
2013-01-07 14:18:19 +00:00
Vinay Sajip
e50f4d2220
Issue #16884 : updated logging documentation to include lastResort and use 'note' directives where appropriate.
2013-01-07 14:16:52 +00:00
R David Murray
4e62033b57
merge #16877 : Add mention that shell-style path expansions are not automatic.
2013-01-06 16:14:22 -05:00
R David Murray
e6dec98e45
merge #16877 : Add mention that shell-style path expansions are not automatic.
2013-01-06 16:13:51 -05:00
R David Murray
a4e700c040
#16877 : Add mention that shell-style path expansions are not automatic.
2013-01-06 16:13:10 -05:00
Antoine Pitrou
58ddc9d743
Issue #8109 : The ssl module now has support for server-side SNI, thanks to a :meth:`SSLContext.set_servername_callback` method.
...
Patch by Daniel Black.
2013-01-05 21:20:29 +01:00
Ezio Melotti
a2f959169a
#16862 : merge with 3.3.
2013-01-05 07:38:52 +02:00
Ezio Melotti
9f6a239cf1
#16862 : merge with 3.2.
2013-01-05 07:38:37 +02:00
Ezio Melotti
7449231eca
#16862 : remove outdated statements about Stackless.
2013-01-05 07:37:47 +02:00
Ezio Melotti
9beeefbb45
Cleanup a few minor things.
2013-01-05 07:36:54 +02:00
Ezio Melotti
0ae3525e85
Merge example fix with 3.3.
2013-01-05 06:54:38 +02:00
Ezio Melotti
87b83dd18c
Merge example fix with 3.2.
2013-01-05 06:54:23 +02:00
Ezio Melotti
19cdee891e
Fix example by making the exception inherit from Exception.
2013-01-05 06:53:27 +02:00
Ezio Melotti
d05d3cc4eb
#13094 : merge with 3.3.
2013-01-05 00:51:40 +02:00
Ezio Melotti
7d48669085
#13094 : merge with 3.2.
2013-01-05 00:51:20 +02:00
Ezio Melotti
cad8b0ff8e
#13094 : add Programming FAQ entry about the behavior of closures.
2013-01-05 00:50:46 +02:00
Benjamin Peterson
ca6142948e
merge 3.3
2013-01-03 20:34:58 -08:00
Benjamin Peterson
bf064b3911
merge 3.2
2013-01-03 20:34:49 -08:00
Benjamin Peterson
d73f369f4c
merge heads
2013-01-03 20:34:40 -08:00
Benjamin Peterson
0a2c4f55c4
drop email ( closes #16857 )
2013-01-03 20:34:19 -08:00
Ezio Melotti
f422676423
#16747 : merge with 3.3.
2013-01-02 22:29:57 +02:00
Ezio Melotti
407c2ac4f7
#16747 : merge with 3.2.
2013-01-02 22:29:41 +02:00
Ezio Melotti
d581fff6f0
#16747 : fix link to file objects in the glossary.
2013-01-02 22:29:09 +02:00
Eli Bendersky
cc85a156ae
Fix method name in documentation (__setstate__ --> __getstate__)
2013-01-02 05:55:17 -08:00
Eli Bendersky
a6d0dd5dc3
Fix method name in documentation (__setstate__ --> __getstate__)
2013-01-02 05:54:36 -08:00
Eli Bendersky
78f3ce577f
Fix method name in documentation (__setstate__ --> __getstate__)
2013-01-02 05:53:59 -08:00
Serhiy Storchaka
805ae0d39d
Fix incorrect grammar in sched documentation.
2013-01-02 12:32:10 +02:00
Serhiy Storchaka
75b936ec7f
Fix incorrect grammar in sched documentation.
2013-01-02 12:31:26 +02:00
Benjamin Peterson
ca319cf94e
merge 3.3
2012-12-31 21:44:06 -06:00
Benjamin Peterson
a63ecedfa0
update another year
2012-12-31 21:44:00 -06:00
Benjamin Peterson
ae2039e62c
merge 3.3
2012-12-31 21:37:30 -06:00
Benjamin Peterson
198399d92c
bring Python into 2013
2012-12-31 21:37:21 -06:00
Łukasz Langa
1dce0003a6
Merged `parser.clean()` fix (issue #16820 ) from 3.2 through 3.3.
2012-12-31 03:43:37 +01:00
Łukasz Langa
0dc5ab41f0
Merged `parser.clean()` fix (issue #16820 ) from 3.2.
2012-12-31 03:41:54 +01:00
Łukasz Langa
3a8479a583
Fixes `parser.clean()` reported in issue #16820 .
2012-12-31 03:38:39 +01:00
Serhiy Storchaka
44c66c72c9
Issue #16486 : Make aifc files work with 'with' as context managers.
2012-12-29 22:54:49 +02:00
Serhiy Storchaka
3c80ce45e4
Issue #16641 : Fix default values of sched.scheduler.enter arguments were modifiable.
2012-12-29 21:15:24 +02:00
Serhiy Storchaka
c04957bff3
Issue #16641 : Fix default values of sched.scheduler.enter arguments were modifiable.
2012-12-29 21:13:45 +02:00
Serhiy Storchaka
d1ced9e86a
Issue #16642 : Document kwargs field in sched.Event named tuple.
2012-12-29 20:59:29 +02:00
Serhiy Storchaka
e912496c60
Issue #16642 : Document kwargs field in sched.Event named tuple.
2012-12-29 20:57:52 +02:00
Ezio Melotti
774715cd81
#16796 : merge with 3.3.
2012-12-28 02:00:41 +02:00
Ezio Melotti
63ee149ca6
#16796 : merge with 3.2.
2012-12-28 02:00:22 +02:00
Ezio Melotti
52336f0b50
#16796 : fix typo. Patch by Michael Schurter.
2012-12-28 01:59:24 +02:00
Serhiy Storchaka
464a218e77
Issue #16682 : Replace "Python string" to "bytes object" in audioop documentation.
2012-12-27 20:47:30 +02:00
Serhiy Storchaka
e261055eaf
Issue #16682 : Replace "Python string" to "bytes object" in audioop documentation.
2012-12-27 20:46:19 +02:00
Serhiy Storchaka
c8bd74ddfd
Issue #16682 : Replace "Python string" to "bytes object" in audioop documentation.
2012-12-27 20:43:36 +02:00
Jesus Cea
cdf680f54c
MERGE: Closes #16789 : :meth:`quit` links to constants instead of own module
2012-12-26 16:48:26 +01:00
Jesus Cea
aa24468c9b
MERGE: Closes #16789 : :meth:`quit` links to constants instead of own module
2012-12-26 16:47:40 +01:00
Jesus Cea
c73f863a8d
Closes #16789 : :meth:`quit` links to constants instead of own module
2012-12-26 16:47:03 +01:00
Kristján Valur Jónsson
cacb400345
Merge with 3.3
...
Issue #14574 : Ignore socket errors raised when flushing a connection on close.
2012-12-26 15:15:17 +00:00
Kristján Valur Jónsson
c8e7e2bb76
Merge with 3.2 :
...
Issue #14574 : Ignore socket errors raised when flushing a connection on close.
2012-12-26 15:13:29 +00:00
Brian Curtin
490b32a397
Fix #11939 . Set st_dev attribute on Windows to simplify os.path.samefile.
...
By setting the st_dev attribute, we can then remove some Windows-specific
code and move os.path.samefile/sameopenfile/samestat to Lib/genericpath.py
so all platforms share the same implementation.
2012-12-26 07:03:03 -06:00
Chris Jerdonek
c475278a94
Merge from 3.3: add links and index entries for "argument" and "parameter."
...
This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).
2012-12-25 14:59:46 -08:00
Chris Jerdonek
32bbc1c396
Merge from 3.2: add links and index entries for "argument" and "parameter."
...
This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).
2012-12-25 14:57:54 -08:00
Chris Jerdonek
b43099464a
Add additional links and index entries for "argument" and "parameter".
...
This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).
2012-12-25 14:54:44 -08:00
Kristján Valur Jónsson
36852b7844
Issue #14574 : Ignore socket errors raised when flushing a connection on close.
2012-12-25 22:46:32 +00:00
Chris Jerdonek
b7c2386a3f
Fix Sphinx warning (missing "setting-envvars" reference).
...
This fixes the following warning when building the docs (probably from
the commit for issue #14901 ):
"/Doc/faq/windows.rst:138: WARNING: undefined label: setting-envvars (if the
link has no caption the label must precede a section header)"
2012-12-25 15:26:24 -08:00
Ezio Melotti
e34ccb6861
#16760 : merge with 3.3.
2012-12-25 18:16:31 +02:00
Ezio Melotti
1bdb638ce3
#16760 : merge with 3.2.
2012-12-25 18:15:28 +02:00
Ezio Melotti
090f7be6df
#16760 : use ref:`match-objects` instead of :class:`MatchObject`.
2012-12-25 18:10:49 +02:00
Ezio Melotti
16bdd4120d
#16677 : merge with 3.3.
2012-12-25 15:47:41 +02:00
Ezio Melotti
1be057673a
#16677 : merge with 3.2.
2012-12-25 15:46:58 +02:00
Ezio Melotti
9f929bb7df
#16677 : rename section header and fix markup.
2012-12-25 15:45:15 +02:00
Chris Jerdonek
7d2fad1be2
Merge from 3.3: link to "yield from" examples in yield documentation.
2012-12-23 15:35:23 -08:00
Chris Jerdonek
2654b86e88
Link to "yield from" examples in yield documentation.
...
This commit also simplifies the more advanced "yield from" example and removes
unused function parameters.
2012-12-23 15:31:57 -08:00
Andrew Svetlov
0794fe0356
Add NEWS and docs for #9856
2012-12-23 15:12:19 +02:00
Georg Brandl
c0fc958299
Add a missing versionadded.
2012-12-22 10:36:45 +01:00
Benjamin Peterson
301162b43d
merge 3.3 ( closes #16687 )
2012-12-20 20:25:00 -06:00
Benjamin Peterson
9cb7bd2df4
link to GIL as a term
...
Patch from Jeff Knupp.
2012-12-20 20:24:37 -06:00
Benjamin Peterson
bd584d559b
fix typo ( #16687 )
...
Patch from Jeff Knupp.
2012-12-20 20:22:47 -06:00
Andrew Svetlov
2606a6f197
Issue #16719 : Get rid of WindowsError. Use OSError instead
...
Patch by Serhiy Storchaka.
2012-12-19 14:33:35 +02:00
Andrew Svetlov
8a045cb93b
Add versionchanged tag to faq (useless btw because changed text is commented out)
2012-12-19 13:45:30 +02:00
Andrew Svetlov
5f11a00056
Mention OSError instead of IOError in the docs.
2012-12-18 23:16:44 +02:00
Andrew Svetlov
0832af6628
Issue #16717 : get rid of socket.error, replace with OSError
2012-12-18 23:10:48 +02:00
Andrew Svetlov
a191959849
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:27:16 +02:00
Andrew Svetlov
5b89840d9c
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:26:36 +02:00
Andrew Svetlov
737fb89dd1
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:14:22 +02:00
Andrew Svetlov
a9466c6530
Issue #16711 : Fix required method names for collections.Iterator
...
Thanks to Inada Naoki
2012-12-18 15:53:39 +02:00
Andrew Svetlov
e2303f8970
Issue #16711 : Fix required method names for collections.Iterator
...
Thanks to Inada Naoki
2012-12-18 15:53:15 +02:00
Andrew Svetlov
4001e96179
Issue #16711 : Fix required method names for collections.Iterator
...
Thanks to Inada Naoki
2012-12-18 15:48:10 +02:00
Antoine Pitrou
928405303d
Following issue #13390 , fix compilation --without-pymalloc, and make sys.getallocatedblocks() return 0 in that situation.
2012-12-17 23:05:59 +01:00
Andrew Svetlov
84188c891c
Update example: Counter.subtract returns None, not self
2012-12-17 14:01:45 +02:00
Andrew Svetlov
7c42398f3b
Update example: Counter.subtract returns None, not self
2012-12-17 14:01:29 +02:00
Andrew Svetlov
f635172c72
Update example: Counter.subtract returns None, not self
2012-12-17 14:01:16 +02:00
Andrew Svetlov
57d0a536b2
Fix typo
2012-12-17 13:42:57 +02:00
Andrew Svetlov
2be0edb2c4
Fix typo
2012-12-17 13:42:40 +02:00
Andrew Svetlov
dfe109e33f
Fix typo
2012-12-17 13:42:04 +02:00
Brian Curtin
f494e8f2a5
Merge 3.3
2012-12-17 00:06:02 -06:00
Brian Curtin
08133c2e8e
Merge 3.2
2012-12-17 00:04:30 -06:00
Brian Curtin
655b0c462f
Fix #14901 . Update the Windows FAQ.
...
Patch by Ashish Nitin Patil.
2012-12-16 23:58:09 -06:00
Georg Brandl
09bc642153
Fixup abc.ABC wording and add versionadded.
2012-12-16 13:32:33 +01:00
Stefan Krah
8031d0dfd4
Merge 3.3.
2012-12-15 22:36:49 +01:00
Stefan Krah
040e311826
Issue #15783 : Except for the number methods, the C version of decimal now
...
supports all None default values present in decimal.py. These values were
largely undocumented.
2012-12-15 22:33:33 +01:00
Andrew Svetlov
88a3e1f46b
Merge: use OSError instead of os.error in the docs.
2012-12-15 22:59:55 +02:00
Andrew Svetlov
618c2e13ca
Use OSError instead of os.error in the docs.
2012-12-15 22:59:24 +02:00
Petri Lehtinen
74d6c250e1
#11175 : argparse.FileType now accepts encoding and errors arguments.
...
Patch by Lucas Maystre.
2012-12-15 22:42:47 +02:00
Antoine Pitrou
09bb89b8cf
Issue #16488 : epoll() objects now support the `with` statement.
...
Patch by Serhiy Storchaka.
2012-12-15 21:14:21 +01:00
Ezio Melotti
e0a908290c
#16683 : merge with 3.3.
2012-12-14 20:20:07 +02:00
Ezio Melotti
30505413df
#16683 : merge with 3.2.
2012-12-14 20:19:49 +02:00
Ezio Melotti
e0035a212b
#16683 : restore alphabetical order in audioop docs. Patch by Serhiy Storchaka.
2012-12-14 20:18:46 +02:00
Ezio Melotti
752f5dd0f7
#16681 : merge with 3.3.
2012-12-14 20:14:17 +02:00
Ezio Melotti
11def426c0
#16681 : merge with 3.2.
2012-12-14 20:13:39 +02:00
Ezio Melotti
1e5c9b70b4
#16681 : use "bidirectional class" instead of "bidirectional category".
2012-12-14 20:06:43 +02:00
Andrew Svetlov
b67596d815
Issue #16049 : add abc.ABC helper class.
...
Patch by Bruno Dupuis.
2012-12-13 19:09:33 +02:00
Senthil Kumaran
5962cce050
Fix Issue15701 : add .headers attribute to urllib.error.HTTPError
2012-12-10 02:09:35 -08:00
Senthil Kumaran
0342688914
merge from 3.3 - Document reason attribute for urllib.error.HTTPError
2012-12-09 13:53:15 -08:00
Senthil Kumaran
50cdd55af9
merge from 3.2 - reason attribute for urllib.error.HTTPError
2012-12-09 13:52:31 -08:00
Senthil Kumaran
2e72831369
Fix issue13211 - Document the reason attribute for urllib.error.HTTPError
2012-12-09 13:51:05 -08:00
Antoine Pitrou
f9d0b1256f
Issue #13390 : New function :func:`sys.getallocatedblocks()` returns the number of memory blocks currently allocated.
...
Also, the ``-R`` option to regrtest uses this function to guard against memory allocation leaks.
2012-12-09 14:28:26 +01:00
Nick Coghlan
b4b8f234d4
Merge from 3.3 (issue #15209 )
2012-12-09 16:22:17 +10:00
Nick Coghlan
0eee97cce6
Issue #15209 : Fix typo and some additional wording tweaks
2012-12-09 16:21:46 +10:00
Éric Araujo
bb7da03f6e
Merge fixes for #13614 , #13512 and #7719 from 3.3
2012-12-08 22:57:08 -05:00
Éric Araujo
3f7c0e4036
Merge fixes for #13614 , #13512 and #7719 from 3.2
2012-12-08 22:53:43 -05:00
Éric Araujo
9bc9ab5f85
Fix a few markup/grammar nits
2012-12-08 18:35:31 -05:00
Éric Araujo
3e4a3dcb23
Ignore .nfs* files in distutils ( #7719 ).
...
These files are created by some NFS clients a file is edited and removed
concurrently (see added link in doc for more info). If such a file is
removed between distutils calls listdir and copy, it will get confused.
Other special files are ignored in sdist (namely VCS directories), but
this has to be filtered out earlier.
2012-12-08 14:21:51 -05:00
Andrew Svetlov
d9569fa90d
Drop double newlines printed in some file iteration examples.
...
Patch by Steven Kryskalla.
2012-12-08 17:59:58 +02:00
Andrew Svetlov
a7129d38ed
Drop double newlines printed in some file iteration examples.
...
Patch by Steven Kryskalla.
2012-12-08 17:59:23 +02:00
Andrew Svetlov
09974b4e9e
Drop double newlines printed in some file iteration examples.
...
Patch by Steven Kryskalla.
2012-12-08 17:59:03 +02:00
Nick Coghlan
0c1034f419
Merge from 3.3 (issue #16267 )
2012-12-08 22:57:21 +10:00
Nick Coghlan
cea27be888
Close issue #16267 : better docs for @abstractmethod composition
2012-12-08 22:56:02 +10:00
Nick Coghlan
10cdf99a90
Merge from 3.3 (Issue #15209 )
2012-12-08 22:24:23 +10:00
Nick Coghlan
8e18fc8c0b
Issue #15209 : Clarify exception chaining description
...
- not allowed when implicitly re-raised the current exception
- last exception raised is always displayed last
- attempt to make it clearer when/if cause and context are shown
2012-12-08 21:39:24 +10:00
Ezio Melotti
e48e01c6db
Merge debug output removal with 3.3.
2012-12-08 12:30:58 +02:00
Ezio Melotti
c990f3b167
Merge debug output removal with 3.2.
2012-12-08 12:30:44 +02:00
Ezio Melotti
5a2e2b8ff7
Remove debug output from example.
2012-12-08 12:29:40 +02:00
Benjamin Peterson
448e81b2da
add fixer for reload() -> imp.reload() ( closes #11797 )\n\nPatch by Laurie Clark-Michalek and Berker Peksag
2012-12-07 22:44:10 -05:00
Andrew Svetlov
4b237e3b11
Specify which I/O ABC methods have implementations in the docs.
2012-12-06 12:21:22 +02:00
Andrew Svetlov
f04d1bb170
Specify which I/O ABC methods have implementations in the docs.
2012-12-06 12:21:12 +02:00
Andrew Svetlov
ed636a84b9
Specify which I/O ABC methods have implementations in the docs.
2012-12-06 12:20:56 +02:00
Andrew Svetlov
b1715ea435
Merge 3.3
2012-12-05 11:12:50 +02:00
Andrew Svetlov
73a5a12dcf
Fix typo.
2012-12-05 11:12:14 +02:00
Eric Snow
a6cfb28bd2
Issue #15627 : This is simply an update to the name of a new method recently added
...
to importlib.abc.SourceLoader.
2012-12-04 23:43:43 -08:00
Benjamin Peterson
c77dd20698
merge 3.3
2012-12-02 11:33:14 -05:00
Benjamin Peterson
78f7e3a8dc
document UnicodeError attributes
2012-12-02 11:33:06 -05:00
Benjamin Peterson
196035595f
document that encoding error handlers may return bytes ( #16585 )
2012-12-02 11:26:10 -05:00
Andrew Svetlov
1d1210ec3b
Merge: remove redundant sentence from c-api docs (issue #16323 )
2012-11-29 15:23:46 +02:00
Andrew Svetlov
f4c3a187d5
Remove redundant sentence from c-api docs (issue #16323 )
2012-11-29 15:23:15 +02:00
Ezio Melotti
100314427a
#16333 : use (",", ": ") as default separator when indent is specified to avoid trailing whitespace. Patch by Serhiy Storchaka.
2012-11-29 00:42:56 +02:00
Ezio Melotti
57af3bf158
#16333 : merge with 3.2.
2012-11-29 00:36:42 +02:00
Ezio Melotti
d654dedbbb
#16333 : document a way to get rid of trailing whitespace when indent is used.
2012-11-29 00:35:29 +02:00
Andrew Svetlov
2d6f0c1ef9
Revert duplicate changes in argparse docs.
2012-11-28 19:24:44 +02:00
Andrew Svetlov
eff1738e01
Revert duplicate changes in argparse docs.
2012-11-28 19:24:31 +02:00
Andrew Svetlov
74120996f5
Revert duplicate changes in argparse docs.
2012-11-28 19:23:52 +02:00
Andrew Svetlov
adec76a28f
Merge issue #11076 : document the way to convert argparse.Namespace to a dict.
...
Initial patch by Virgil Dupras.
2012-11-28 19:18:25 +02:00
Andrew Svetlov
51292fff3f
Merge issue #11076 : document the way to convert argparse.Namespace to a dict.
...
Initial patch by Virgil Dupras.
2012-11-28 19:18:09 +02:00
Andrew Svetlov
e15cb61dde
Issue #11076 : document the way to convert argparse.Namespace to a dict.
...
Initial patch by Virgil Dupras.
2012-11-28 19:17:26 +02:00
Chris Jerdonek
164f8f1336
Merge heads.
2012-11-28 02:46:25 -08:00
Chris Jerdonek
1fb47587a1
Merge heads.
2012-11-28 02:45:34 -08:00
Chris Jerdonek
1bfaa688ba
Merge from 3.3: improve argument/parameter documentation (issue #15990 ).
2012-11-28 02:42:26 -08:00
Chris Jerdonek
d97c71feda
Merge from 3.2: improve argument/parameter documentation (issue #15990 ).
2012-11-28 02:37:42 -08:00
Andrew Svetlov
122e9306ad
Merge issue #16323 : Fix wrong C API documentation for locale encoding.
...
Patch by Berker Peksag.
2012-11-28 12:34:27 +02:00
Andrew Svetlov
0fe030bb03
Issue #16323 : Fix wrong C API documentation for locale encoding.
...
Patch by Berker Peksag.
2012-11-28 12:33:58 +02:00
Chris Jerdonek
c2a7fd60e1
Improve argument/parameter documentation (issue #15990 ).
...
This commit adds "parameter" to the glossary, improves and consolidates the
"argument" glossary entry, and adds a question to the FAQ on the difference
between arguments and parameters.
2012-11-28 02:29:33 -08:00
Chris Jerdonek
16459e8b16
Merge from 3.3: Add a str class entry to the string section (issue #16209 ).
...
This commit also moves the documentation for the str built-in function to
the new class entry. Links to :class:`str` now go to the class entry with
the string methods immediately afterwards.
2012-11-28 01:45:15 -08:00
Chris Jerdonek
bb4e941c6d
Add a str class entry to the "Text Sequence Type" section (issue #16209 ).
...
This commit also moves the documentation for the str built-in function to
the new class entry. Links to :class:`str` now go to the class entry with
the string methods immediately afterwards.
2012-11-28 01:38:40 -08:00
Andrew Svetlov
bff98fe536
Issue #16464 : reset Request's Content-Length header on .data change.
...
It will be recalculated on sending request to HTTP server.
Patch by Alexey Kachayev
2012-11-27 23:06:19 +02:00
Ezio Melotti
847d4add26
#16556 : merge with 3.3.
2012-11-27 19:19:01 +02:00
Ezio Melotti
7768dd77c1
#16556 : merge with 3.2.
2012-11-27 19:18:47 +02:00
Ezio Melotti
28c88f48f9
#16556 : Fix inconsistency between kwds and kwargs. Patch by Taavi Burns.
2012-11-27 19:17:57 +02:00
Chris Jerdonek
b48f4ea601
Merge from 3.3: add hyperlinks to some os.path function docs (issue #16552 ).
2012-11-25 20:42:00 -08:00
Chris Jerdonek
3b39d35eeb
Merge from 3.2: add hyperlinks to some os.path function docs (issue #16552 ).
2012-11-25 20:40:57 -08:00
Chris Jerdonek
0b502ff33b
Add hyperlinks to the docs of some os.path functions (issue #16552 ).
2012-11-25 20:38:01 -08:00
Antoine Pitrou
df204be922
Issue #16423 : urllib.request now has support for ``data:`` URLs.
...
Patch by Mathias Panzenböck.
2012-11-24 17:59:08 +01:00
Antoine Pitrou
8618d7457b
Issue #4473 : Add a POP3.stls() to switch a clear-text POP3 session into an encrypted POP3 session, on supported servers.
...
Patch by Lorenzo Catucci.
2012-11-23 20:13:48 +01:00
Antoine Pitrou
25cee19beb
Issue #4473 : Add a POP3.capa() method to query the capabilities advertised by the POP3 server.
...
Patch by Lorenzo Catucci.
2012-11-23 20:07:39 +01:00
Ezio Melotti
ff790aac66
#16530 : merge with 3.3.
2012-11-23 19:46:52 +02:00
Ezio Melotti
44dcd6bcb2
#16530 : merge with 3.2.
2012-11-23 19:46:29 +02:00
Ezio Melotti
ba4d8ed8f8
#16530 : the "options" arg of os.wait3 is required.
2012-11-23 19:45:52 +02:00
Andrew Svetlov
9f8c2194c2
Merge issue #16538 : correctly describe MAKE_CLOSURE in docs.
...
Patch by Daniel Urban
2012-11-23 15:29:48 +02:00
Andrew Svetlov
a5c430940c
Issue #16538 : correctly describe MAKE_CLOSURE in docs.
...
Patch by Daniel Urban
2012-11-23 15:28:34 +02:00
R David Murray
60dd6e538f
#16522 : s/always 1/at most 1/.
...
Correction thanks to Joey Geralnik.
2012-11-22 06:22:41 -05:00
Éric Araujo
ded22c6c9d
Merge #13424 followup from 3.3
2012-11-22 00:14:28 -05:00
Éric Araujo
5bd9270954
Address reviews for open’s opener argument doc patch ( #13424 ).
...
* Remove example deemed not helpful.
* Simplify the other one.
* Add missing target to ref.
2012-11-22 00:13:49 -05:00
R David Murray
5a9d706123
#16522 : Add FAIL_FAST flag to doctest.
...
Patch by me, most of the work (doc and tests) by Daniel Urban.
2012-11-21 15:09:21 -05:00
Chris Jerdonek
777db2d838
Fix label in docs (from issue #13538 ).
2012-11-21 05:32:44 -08:00
Chris Jerdonek
d675a2c48a
Merge from 3.3: Improve str() and object.__str__() docs (issue #13538 ).
2012-11-20 17:53:17 -08:00
Chris Jerdonek
5fae0e5854
Improve str() and object.__str__() documentation (issue #13538 ).
2012-11-20 17:45:51 -08:00
Chris Jerdonek
17fc44c9b3
Improve str() and object.__str__() documentation (issue #13538 ).
2012-11-20 17:31:02 -08:00
Barry Warsaw
b72c10996e
- Issue #16514 : Fix regression causing a traceback when sys.path[0] is None
...
(actually, any non-string or non-bytes type).
2012-11-20 15:35:27 -05:00
Barry Warsaw
82c1c781c7
- Issue #16514 : Fix regression causing a traceback when sys.path[0] is None
...
(actually, any non-string or non-bytes type).
2012-11-20 15:22:51 -05:00
Andrew Svetlov
47037d7e4e
Merge: fix typo in multiprocessing documentation, thanks to Dmitry Tolstoy from docs@
2012-11-20 16:13:54 +02:00
Andrew Svetlov
23089ab1db
Fix typo in multiprocessing documentation, thanks to Dmitry Tolstoy from docs@
2012-11-20 16:12:38 +02:00
Antoine Pitrou
99f57942e0
The poplib module provides two classes, not one.
2012-11-18 18:37:54 +01:00
Antoine Pitrou
946eb45930
The poplib module provides two classes, not one.
2012-11-18 18:37:24 +01:00
Antoine Pitrou
3813c9efb7
The poplib module provides two classes, not one.
2012-11-18 18:37:02 +01:00
Brett Cannon
5650e4f41c
Issue #15627 : Add the compile_source() method to
...
importlib.abc.SourceLoader.
This provides an easy hook into the import system to allow for source
transformations, AST optimizations, etc.
2012-11-18 10:03:31 -05:00
Ezio Melotti
6ba0666641
#16053 : merge with 3.3.
2012-11-18 12:56:31 +02:00
Ezio Melotti
186ab5f404
#16053 : merge with 3.2.
2012-11-18 12:56:17 +02:00
Ezio Melotti
a69be2803b
#16053 : document csv.Dialect.strict. Patch by Kushal Das.
2012-11-18 12:55:35 +02:00
Mark Dickinson
9de28f4c0c
Merge typo fix from 3.3.
2012-11-18 10:42:42 +00:00
Mark Dickinson
eb54deb2d2
Merge typo fix from 3.2.
2012-11-18 10:42:27 +00:00
Mark Dickinson
ec967246a1
Typo fix.
2012-11-18 10:42:07 +00:00
Mark Dickinson
add87369a8
Issue #12005 : merge doc patch from 3.3
2012-11-18 10:22:51 +00:00
Mark Dickinson
f56c361212
Issue #12005 : merge doc patch from 3.2
2012-11-18 10:22:40 +00:00
Mark Dickinson
a3f37408da
Issue #12005 : clarify behaviour of % and // for Decimal objects.
2012-11-18 10:22:05 +00:00
Antoine Pitrou
c3afba104a
Issue #14631 : Add a new :class:`weakref.WeakMethod` to simulate weak references to bound methods.
2012-11-17 18:57:38 +01:00
Ezio Melotti
25bbe5e0bc
#16157 : merge with 3.3.
2012-11-17 19:30:48 +02:00
Ezio Melotti
fa7aeecbca
#16157 : fix links in the whatsnew files.
2012-11-17 19:29:12 +02:00
Ezio Melotti
e0321f45fb
#16420 : merge with 3.3.
2012-11-17 17:39:11 +02:00
Ezio Melotti
9c594af3dd
#16420 : merge with 3.2.
2012-11-17 17:38:58 +02:00
Ezio Melotti
a39a22dc0b
#16420 : document a way to escape metacharacters in glob/fnmatch.
2012-11-17 17:38:11 +02:00
Brett Cannon
10f19812b5
Merge fix for #16489 from 3.3
2012-11-17 09:33:14 -05:00
Brett Cannon
56b4ca78d8
Issue #16489 : Make it clearer that importlib.find_loader() requires
...
the user to import any parent packages.
2012-11-17 09:30:55 -05:00
Ezio Melotti
ac6ca3dc02
Merge updates about dir() with 3.3.
2012-11-17 12:56:29 +02:00
Ezio Melotti
4a42ec5089
Merge updates about dir() with 3.2.
2012-11-17 12:54:45 +02:00
Ezio Melotti
52e855084d
Update section about dir() in the tutorial.
2012-11-17 12:50:14 +02:00
Ezio Melotti
2264825cae
Merge rephrasing with 3.3.
2012-11-17 12:06:44 +02:00
Ezio Melotti
0bbfae3be4
Merge rephrasing with 3.2.
2012-11-17 12:06:26 +02:00
Ezio Melotti
89b03b0ec6
Rephrase a sentence in the set and dict comprehensions tutorial page.
2012-11-17 12:06:01 +02:00
Andrew Svetlov
993fd9f03a
Merge issue #16144 : Fix misleading sentence in reference/import.
...
Patch by Manuel Pégourié-Gonnard
2012-11-15 16:28:48 +02:00
Andrew Svetlov
e2cf03e499
Issue #16144 : Fix misleading sentence in reference/import.
...
Patch by Manuel Pégourié-Gonnard
2012-11-15 16:28:21 +02:00
Chris Jerdonek
5aa1dd5f06
Merge from 3.3: update the PyPI docs regarding listing versions (issue #16400 ).
2012-11-14 12:28:38 -08:00
Chris Jerdonek
251269ccc8
Merge from 3.2: update the PyPI docs regarding listing versions (issue #16400 ).
2012-11-14 12:24:21 -08:00
Chris Jerdonek
f9e49eaefc
Update the description of which package versions PyPI displays (issue #16400 ).
2012-11-14 12:12:30 -08:00
Nadeem Vawda
cba149761a
Issue #15677 : Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
...
Patch by Brian Brazil.
2012-11-11 14:20:09 +01:00
Nadeem Vawda
6ff262e18f
Issue #15677 : Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
...
Patch by Brian Brazil.
2012-11-11 14:14:47 +01:00
Nadeem Vawda
19e568d254
Issue #15677 : Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
...
Patch by Brian Brazil.
2012-11-11 14:04:14 +01:00
Gregory P. Smith
b696610c2d
Fixes issue #16409 : The reporthook callback made by the legacy
...
urllib.request.urlretrieve API now properly supplies a constant
non-zero block_size as it did in Python 3.2 and 2.7. This matches the
behavior of urllib.request.URLopener.retrieve.
2012-11-10 13:44:50 -08:00
Gregory P. Smith
6b0bdab429
Fixes issue #16409 : The reporthook callback made by the legacy
...
urllib.request.urlretrieve API now properly supplies a constant
non-zero block_size as it did in Python 3.2 and 2.7. This matches the
behavior of urllib.request.URLopener.retrieve.
2012-11-10 13:43:44 -08:00
Chris Jerdonek
ef3971d3e5
Merge from 3.3: adjust set and frozenset function docs (issue #16436 ).
2012-11-09 18:58:47 -08:00
Chris Jerdonek
296c2fd065
Merge from 3.2: adjust set and frozenset function docs (issue #16436 ).
2012-11-09 18:58:06 -08:00
Chris Jerdonek
df3abec2c9
Link set and frozenset function docs to their class definitions (issue #16436 ).
2012-11-09 18:57:32 -08:00
Chris Jerdonek
86b3053411
Merge from 3.3: improve FAQ link in documentation (for issue #16435 ).
2012-11-09 17:54:21 -08:00
Chris Jerdonek
fe08756743
Merge from 3.2: improve FAQ link in documentation (for issue #16435 ).
2012-11-09 17:53:14 -08:00
Chris Jerdonek
4ed4b1c7fe
Improve FAQ link in documentation (for issue #16435 ).
2012-11-09 17:52:30 -08:00
Ezio Melotti
dc945e4943
#16440 : merge with 3.3.
2012-11-09 01:09:27 +02:00
Ezio Melotti
a3ad8a0ce7
#16440 : merge with 3.2.
2012-11-09 01:09:10 +02:00
Ezio Melotti
8b6b176b33
#16440 : fix exception type and clarify example.
2012-11-09 01:08:25 +02:00
Andrew Svetlov
fba5dc1800
Merge issue #16439 : Fix markup in example for stdtypes.
...
Thanks to Yongzhi Pan.
2012-11-08 17:27:53 +02:00
Andrew Svetlov
7cac2d8368
Merge issue #16439 : Fix markup in example for stdtypes.
...
Thanks to Yongzhi Pan.
2012-11-08 17:27:39 +02:00
Andrew Svetlov
5c90436d64
Issue #16439 : Fix markup in example for stdtypes.
...
Thanks to Yongzhi Pan.
2012-11-08 17:26:53 +02:00
Andrew Svetlov
73b56c8d57
Merge issue #16435 : Link in tutorial now points to python3 FAQ.
...
Thanks to Yongzhi Pan from docs@
2012-11-08 16:11:44 +02:00
Andrew Svetlov
b5570e9909
Merge issue #16435 : Link in tutorial now points to python3 FAQ.
...
Thanks to Yongzhi Pan from docs@
2012-11-08 16:11:22 +02:00
Andrew Svetlov
0e9a065275
Issue #16435 : Link in tutorial now points to python3 FAQ.
...
Thanks to Yongzhi Pan from docs@
2012-11-08 16:10:49 +02:00
Ezio Melotti
770a5bc9cd
#11481 : merge with 3.3.
2012-11-08 11:06:19 +02:00
Ezio Melotti
b77dc4ec5f
#11481 : merge with 3.2.
2012-11-08 11:06:01 +02:00
Ezio Melotti
78b18d4b4c
#11481 : update copyreg docs and add example.
2012-11-08 11:04:57 +02:00
Ezio Melotti
f62f3a4135
#10385 : merge with 3.3.
2012-11-08 10:09:24 +02:00
Ezio Melotti
60e22b9c5d
#10385 : merge with 3.2.
2012-11-08 10:09:06 +02:00
Ezio Melotti
402f75d966
#10385 : use the mod role in subprocess docs.
2012-11-08 10:07:10 +02:00
Tim Golden
9b3fb0c6a0
Backed out changeset dafca4714298
2012-11-06 15:33:30 +00:00
Tim Golden
8f323d9aca
issue9584: Add {} list expansion to glob. Original patch by Mathieu Bridon
2012-11-06 13:50:42 +00:00
Ezio Melotti
10ffea887c
Merge typo fix.
2012-11-05 22:23:16 +02:00
Ezio Melotti
99bafff7cc
Fix typo noticed by Tom Lynn.
2012-11-05 22:22:48 +02:00
Andrew Svetlov
90a654b1dd
Issue #15641 : Clean up deprecated classes from importlib
...
Patch by Taras Lyapun.
2012-11-05 09:34:46 +02:00
Ezio Melotti
729eda4a8c
#16304 : merge with 3.3.
2012-11-04 07:00:04 +02:00
Ezio Melotti
7ce22d1940
#16304 : merge with 3.2.
2012-11-04 06:59:51 +02:00
Ezio Melotti
b87f82f8d4
#16304 : clarify match objects docs. Initial patch by Jan Duzinkiewicz.
2012-11-04 06:59:22 +02:00
Éric Araujo
75e74c65e5
Merge 3.3
2012-11-03 17:40:06 -04:00
Éric Araujo
309b043237
Avoid fd leak in example. Caught by Serhiy.
2012-11-03 17:39:45 -04:00
Éric Araujo
8c997fa8bf
Merge 3.3
2012-11-03 17:07:40 -04:00
Éric Araujo
8f423c9359
Add examples for opener argument of open ( #13424 ).
...
Patch by Guillaume Pratte.
2012-11-03 17:06:52 -04:00
Chris Jerdonek
1a5f3ec9a9
Merge from 3.3: link to mapping glossary entry in docs.
2012-11-03 12:07:20 -07:00
Chris Jerdonek
1c8bb9f4d5
Merge from 3.2: link to mapping glossary entry in docs.
2012-11-03 12:06:42 -07:00
Chris Jerdonek
11f3f172e7
Link to mapping glossary entry in "Mapping Types - dict" and os.environ docs.
2012-11-03 12:05:55 -07:00
Ezio Melotti
d2685260c4
#4711 : merge with 3.3.
2012-11-03 18:29:31 +02:00