Georg Brandl
ae30a813a9
Closes #13833 : document PyStructSequence C-API functions.
2013-10-12 19:03:43 +02:00
Georg Brandl
3cb26b77b6
merge with 3.3
2013-10-12 18:41:23 +02:00
Georg Brandl
c96ef1f0ed
Closes #13026 : fix documentation of MAKE_FUNCTION for 3.x.
2013-10-12 18:41:18 +02:00
Georg Brandl
32b2c62db4
merge with 3.3
2013-10-12 18:19:48 +02:00
Georg Brandl
57f936ecde
Closes #19179 : make table of XML vulnerabilities clearer by using "everyday" booleans and explaining the table beforehand.
2013-10-12 18:19:33 +02:00
Georg Brandl
42840f017d
merge with 3.3
2013-10-12 18:15:21 +02:00
Georg Brandl
d8ede4fddd
Closes #13203 : add a FAQ section about seemingly duplicate id()s.
2013-10-12 18:14:25 +02:00
Ezio Melotti
34808e2237
#19221 : update whatsnew entry about UCD version.
2013-10-12 16:36:13 +03:00
Georg Brandl
c2228c8995
Markup fix.
2013-10-12 13:24:55 +02:00
Raymond Hettinger
1254b407ac
Rename contextlib.ignored() to contextlib.ignore().
2013-10-10 22:39:39 -07:00
R David Murray
d57937656d
#18764 : p(rint) -> p in pdb docs.
...
Missed changing the doc for the command itself, patch for that also by Connor
Osborn.
2013-10-10 17:33:43 -04:00
Benjamin Peterson
94d08d908b
upgrade unicode db to 6.3.0 ( closes #19221 )
2013-10-10 17:24:45 -04:00
R David Murray
78d692f98e
18764: remove the problematic 'print' alias for the PDB 'p' command.
...
So that it no longer shadows the print function.
Patch by Connor Osborn, doc and test changes by R. David Murray.
2013-10-10 17:23:26 -04:00
Victor Stinner
2fe9bac4dc
Close #16742 : Fix misuse of memory allocations in PyOS_Readline()
...
The GIL must be held to call PyMem_Malloc(), whereas PyOS_Readline() releases
the GIL to read input.
The result of the C callback PyOS_ReadlineFunctionPointer must now be a string
allocated by PyMem_RawMalloc() or PyMem_RawRealloc() (or NULL if an error
occurred), instead of a string allocated by PyMem_Malloc() or PyMem_Realloc().
Fixing this issue was required to setup a hook on PyMem_Malloc(), for example
using the tracemalloc module.
PyOS_Readline() copies the result of PyOS_ReadlineFunctionPointer() into a new
buffer allocated by PyMem_Malloc(). So the public API of PyOS_Readline() does
not change.
2013-10-10 16:18:20 +02:00
Victor Stinner
6cf185dc06
Issue #18874 : _PyObject_Malloc/Realloc/Free() now falls back on
...
_PyMem_RawMalloc/Realloc/Free, instead of _PyMem_Malloc/Realloc/Free. So it
becomes possible to use the fast pymalloc allocator for the PYMEM_DOMAIN_MEM
domain (PyMem_Malloc/Realloc/Free functions).
2013-10-10 15:58:42 +02:00
Raymond Hettinger
088cbf2d39
Issue #15805 : Add contextlib.redirect_stdout()
2013-10-10 00:46:57 -07:00
Raymond Hettinger
5ed3bc9adb
merge
2013-10-09 22:43:30 -07:00
Raymond Hettinger
8ee7708c7f
Issue #19005 : Fix documentation for PyIter_Next().
2013-10-09 22:42:46 -07:00
Georg Brandl
213ef6eb07
Closes #19200 : small grammar fix in multiprocessing docs. Thanks to Elazar Gershuni.
2013-10-09 15:51:57 +02:00
Victor Stinner
8d19767403
Close #19199 : Remove ``PyThreadState.tick_counter`` field
2013-10-09 14:53:01 +02:00
Serhiy Storchaka
210871db72
#19194 : Improved cross-references in the fcntl module documentation.
2013-10-09 14:20:37 +03:00
Serhiy Storchaka
926099d5ce
#19194 : Improved cross-references in the fcntl module documentation.
2013-10-09 14:20:22 +03:00
Serhiy Storchaka
fa81cd95b4
#19196 : Improved cross-references in distutils documentation.
2013-10-09 14:09:35 +03:00
Serhiy Storchaka
7880db6136
#19196 : Improved cross-references in distutils documentation.
2013-10-09 14:09:16 +03:00
Serhiy Storchaka
0d85b5c68d
Issue #19190 : Improve cross-references in builtin types and functions documentation.
2013-10-09 14:03:24 +03:00
Serhiy Storchaka
0d196edc37
Issue #19190 : Improve cross-references in builtin types and functions documentation.
2013-10-09 14:02:31 +03:00
Serhiy Storchaka
d51f42372b
Issue 19195: Improved cross-references in C API documentation.
2013-10-09 13:26:57 +03:00
Serhiy Storchaka
0b68a2d675
Issue 19195: Improved cross-references in C API documentation.
2013-10-09 13:26:17 +03:00
Serhiy Storchaka
3226d87747
Issue #19193 : Improved cross-references in the tutorial.
2013-10-09 09:55:21 +03:00
Serhiy Storchaka
91aaeac050
Issue #19193 : Improved cross-references in the tutorial.
2013-10-09 09:54:46 +03:00
Antoine Pitrou
77e904e6a6
Issue #18948 : improve SuppressCoreFiles to include Windows crash popup suppression, and use it in more tests.
...
Patch by Valerie Lambert and Zachary Ware.
2013-10-08 23:04:32 +02:00
Georg Brandl
3ebbb04af2
merge with 3.3
2013-10-08 21:54:47 +02:00
Georg Brandl
ee82d0b293
Minor grammar fix.
2013-10-08 21:54:37 +02:00
Georg Brandl
c13d604193
merge with 3.3
2013-10-08 21:47:35 +02:00
Georg Brandl
0aaae26518
Clarify two points about division and shifting. Suggested by Albert Hofkamp on docs@.
2013-10-08 21:47:18 +02:00
Georg Brandl
bc332a2415
merge with 3.3
2013-10-08 21:43:46 +02:00
Georg Brandl
f24c1416eb
Fix wrong link.
2013-10-08 21:43:39 +02:00
Georg Brandl
100580f4c4
merge with 3.3
2013-10-08 21:28:42 +02:00
Georg Brandl
97f962339f
Add "->" as a delimiter token. Found by James Harding on docs@.
2013-10-08 21:28:22 +02:00
Georg Brandl
245c765d0a
merge with 3.3
2013-10-08 08:06:27 +02:00
Georg Brandl
bcce1256e3
Closes #19178 : some more cross-references about packages in glossary. Patch by Berker Peksag.
2013-10-08 08:06:18 +02:00
Georg Brandl
7c679514a5
merge with 3.3
2013-10-06 21:23:26 +02:00
Georg Brandl
c377fe2b96
Closes #1215 : document better why it is not a good idea to catch e.g. SIGSEGV and refer to faulthandler.
...
Patch by Martin Pool.
2013-10-06 21:22:42 +02:00
Georg Brandl
6d7d6cf76e
merge with 3.3
2013-10-06 20:46:15 +02:00
Georg Brandl
a072de14be
Extending example: use Py_RETURN_NONE
2013-10-06 20:46:08 +02:00
Georg Brandl
fd11551710
merge with 3.3
2013-10-06 19:34:19 +02:00
Georg Brandl
29fc4bf5c7
Use the platform-independent way of calling a script from the shell: "python prog.py", not "prog.py"
...
Found by Micheal Wells on docs@.
2013-10-06 19:33:56 +02:00
Georg Brandl
aca718e9f1
merge with 3.3
2013-10-06 19:27:17 +02:00
Georg Brandl
136a050bf3
Fix name of the "exist_ok" argument. Found by Neil Bushong on docs@.
2013-10-06 19:27:13 +02:00
Georg Brandl
a2a7e243aa
merge with 3.3
2013-10-06 19:24:00 +02:00
Georg Brandl
9ad417ee81
Fix: >= and so on are usually called "comparison operators", not "logical operators". Found by Tom Kalt on docs@.
2013-10-06 19:23:57 +02:00
Georg Brandl
59e3b23161
merge with 3.3
2013-10-06 19:21:20 +02:00
Georg Brandl
ac39addd72
Fix typo in example file name. Found by John Bokma on docs@.
2013-10-06 19:21:14 +02:00
Georg Brandl
89672bf129
merge with 3.3
2013-10-06 19:19:26 +02:00
Georg Brandl
6647a719bc
Fix: win32_ver returns a 4-tuple. Found by Andrew Berg on docs@.
2013-10-06 19:19:18 +02:00
Georg Brandl
3686db104c
merge with 3.3
2013-10-06 19:14:46 +02:00
Georg Brandl
f6d6347fc0
Fix typo in function name.
2013-10-06 19:14:35 +02:00
Georg Brandl
b68b970a01
merge with 3.3
2013-10-06 19:02:13 +02:00
Georg Brandl
ffb94ae46f
Closes #15432 : GzipFile mtime argument is new in 3.1.
2013-10-06 19:02:08 +02:00
Georg Brandl
434bdf413f
merge with 3.3
2013-10-06 18:58:03 +02:00
Georg Brandl
9ad5bf662d
Closes #15228 : remove reference to Unix "touch"; it is confusing since the path needs to exist for os.utime() to succeed
2013-10-06 18:57:49 +02:00
Georg Brandl
94c1467bad
merge with 3.3
2013-10-06 18:57:02 +02:00
Georg Brandl
fc9a113418
Closes #11807 : document argparse add_subparsers method better.
...
Patch by Filip Gruszczyński.
2013-10-06 18:51:39 +02:00
Georg Brandl
af1edb7f45
merge with 3.3
2013-10-06 18:48:30 +02:00
Georg Brandl
c6a2c9b466
Closes #15213 : update comment for _PyOS_URandom
2013-10-06 18:43:19 +02:00
Georg Brandl
4f198de5b2
merge with 3.3
2013-10-06 18:37:30 +02:00
Georg Brandl
7d07833655
Closes #17725 : small grammar fix.
2013-10-06 18:36:34 +02:00
Georg Brandl
7cc439a877
merge with 3.3
2013-10-06 18:26:43 +02:00
Georg Brandl
6e94a3098e
The "FAQ" link at the end was changed to a Wikipedia link; reflect that.
2013-10-06 18:26:36 +02:00
Georg Brandl
99b1a12f2f
merge with 3.3
2013-10-06 18:20:39 +02:00
Georg Brandl
4a6cf6c9d1
Closes #19177 : replace dead link to SSL/TLS introduction with the version from Apache.
2013-10-06 18:20:31 +02:00
Georg Brandl
e448ccaa6f
merge with 3.3
2013-10-06 18:18:16 +02:00
Georg Brandl
036e41de52
Closes #19181 : replace non-existing host ftp.cwi.nl with ftp.debian.org in ftplib example.
2013-10-06 18:17:56 +02:00
Georg Brandl
15f57f61cb
merge with 3.3
2013-10-06 18:12:13 +02:00
Georg Brandl
0bbbeb59f4
Closes #12350 : clarify blocks/block size members of stat result.
2013-10-06 18:11:32 +02:00
Georg Brandl
92965099a6
merge with 3.3
2013-10-06 13:24:52 +02:00
Georg Brandl
df40e860d3
Fix typo. Spotted by Bo Bayles on docs@.
2013-10-06 13:24:49 +02:00
Georg Brandl
0c3ecc2b72
merge with 3.3
2013-10-06 13:20:55 +02:00
Georg Brandl
1cef264326
Fix link to the "pexports" tool. Found by Joe Aikkaravelil on docs@.
2013-10-06 13:20:49 +02:00
Georg Brandl
cfcd686acf
merge with 3.3
2013-10-06 13:17:14 +02:00
Georg Brandl
9c2505b8fc
Fix order of required StreamReader/StreamWriter base classes. Spotted by Edward Welbourne on docs@.
2013-10-06 13:17:04 +02:00
Georg Brandl
6231e52940
merge with 3.3
2013-10-06 13:15:16 +02:00
Georg Brandl
49c6fc9679
Minor improvement: add indication that the main function goes on.
2013-10-06 13:14:10 +02:00
Georg Brandl
7caabe09aa
merge with 3.3
2013-10-06 13:10:06 +02:00
Georg Brandl
ed86ff868a
Fix missing class name in markup. Found by Tanky Woo on docs@.
2013-10-06 13:09:59 +02:00
Georg Brandl
736295c347
merge with 3.3
2013-10-06 13:07:14 +02:00
Georg Brandl
e47e184c4a
Unicode howto: use .txt as a more universally understood extension for text files.
2013-10-06 13:07:10 +02:00
Georg Brandl
449709272f
merge with 3.3
2013-10-06 13:01:23 +02:00
Georg Brandl
a12b682033
Add missing list methods. Found by Leonardo Pereira on docs@.
2013-10-06 13:01:19 +02:00
Georg Brandl
f70acb7874
merge with 3.3
2013-10-06 12:58:26 +02:00
Georg Brandl
2070e83f28
Fix example in backreference description. Found by Alexander Heger on docs@.
2013-10-06 12:58:20 +02:00
Georg Brandl
93c85a9d1b
merge with 3.3
2013-10-06 12:52:53 +02:00
Georg Brandl
a0b792354e
Fix method name: ensure_directories, not create_directories. Found by Michael Rand on docs@.
2013-10-06 12:52:49 +02:00
Georg Brandl
892cd0ef1f
merge with 3.3
2013-10-06 12:46:35 +02:00
Georg Brandl
0688d68d14
PythonCAD is now on PyQt, use Wing as a prominent PyGtk example.
...
Found by Helge Stenström on docs@.
2013-10-06 12:46:13 +02:00
Georg Brandl
92666d9c2b
merge with 3.3
2013-10-06 12:42:40 +02:00
Georg Brandl
d277a56af3
Fix minor bug in httplib example. Found by Alex MacAulay on docs@.
2013-10-06 12:42:18 +02:00
Georg Brandl
9ace9648e5
merge with 3.3
2013-10-06 12:38:57 +02:00
Georg Brandl
3c1271142d
Fix SQLite datatype name: it is REAL, not FLOAT. Found by Richard Kelsall on docs@.
2013-10-06 12:38:44 +02:00
Georg Brandl
924c822f73
merge with 3.3
2013-10-06 12:37:21 +02:00
Georg Brandl
87f3d7bb54
Counter: fix recipe for "n least common elements". Found by Mikhail Golubev on docs@.
2013-10-06 12:36:39 +02:00
Georg Brandl
3e1e1cfaa6
merge with 3.3
2013-10-06 12:33:31 +02:00
Georg Brandl
f27bfd81ec
Fix typo.
2013-10-06 12:33:20 +02:00
Georg Brandl
5993e29d36
merge with 3.3
2013-10-06 12:08:58 +02:00
Georg Brandl
3c6780c6d8
Closes #15956 : improve documentation of named groups and how to reference them.
2013-10-06 12:08:14 +02:00
Georg Brandl
7e41547c47
merge with 3.3
2013-10-06 11:57:23 +02:00
Georg Brandl
60e602dcc6
Fix small grammar mistake.
2013-10-06 11:57:13 +02:00
Georg Brandl
fb0b255022
merge with 3.3
2013-10-06 11:12:39 +02:00
Georg Brandl
a710fdae1c
Fix missing period.
2013-10-06 11:12:29 +02:00
Georg Brandl
9c45050300
merge with 3.3
2013-10-06 11:09:02 +02:00
Georg Brandl
22a1fd75cc
Fix wrong Python highlighting in directory hierarchy code block.
2013-10-06 11:08:24 +02:00
Georg Brandl
8ae2ab5d53
merge with 3.3
2013-10-06 11:02:46 +02:00
Georg Brandl
337672b76c
Small clarification in extending docs.
2013-10-06 11:02:38 +02:00
Georg Brandl
38552a6661
merge with 3.3
2013-10-06 10:51:07 +02:00
Georg Brandl
b33c6eb640
Closes #13951 : Add a "faulthandler" reference in the ctypes docs talking about crashes.
2013-10-06 10:51:01 +02:00
Georg Brandl
55f4d56091
merge with 3.3
2013-10-06 10:48:48 +02:00
Georg Brandl
42b0ff80a2
merge heads
2013-10-06 10:48:28 +02:00
Georg Brandl
b19ef1846c
Closes #18927 : Lock.acquire only accepts -1 or positive values for timeout.
2013-10-06 10:48:08 +02:00
Serhiy Storchaka
992cf1dd59
Issue #18972 : Modernize email examples and use the argparse module in them.
2013-10-06 11:45:25 +03:00
Georg Brandl
6930777c63
merge with 3.3
2013-10-06 10:28:48 +02:00
Georg Brandl
242e6a0bce
Use "lambda expression" as preferred to "lambda form".
2013-10-06 10:28:39 +02:00
Georg Brandl
ce28e2c24b
merge with 3.3
2013-10-06 10:22:54 +02:00
Georg Brandl
de5aff1bdc
Closes #18646 : improve lambda docs in tutorial. Original patch by Terry Reedy.
2013-10-06 10:22:45 +02:00
Georg Brandl
3db684ff45
merge with 3.3
2013-10-06 10:11:48 +02:00
Georg Brandl
58d58dad56
Fix small copy-paste typo in ossaudiodev setparameters() example (found by Ken Housley on docs@).
2013-10-06 10:11:12 +02:00
Georg Brandl
98c0665007
merge with 3.3
2013-10-06 10:04:49 +02:00
Georg Brandl
dbab26a8c9
curses HOWTO: fix some PEP8 and a code example to actually raise the exception it promises.
2013-10-06 10:04:21 +02:00
Georg Brandl
1cb28a1be8
merge with 3.3
2013-10-06 09:53:11 +02:00
Georg Brandl
f6324941f0
Clarify docs for os.path.getctime on Unix: it is the inode (metadata) change time
2013-10-06 09:52:55 +02:00
Georg Brandl
d1830c422d
merge with 3.3
2013-10-06 09:50:49 +02:00
Georg Brandl
d2914ce0f7
Fix prefix_chars not being applied in help text example (reported by John Kooker on docs@)
2013-10-06 09:50:36 +02:00
Georg Brandl
808ddaa3ec
merge with 3.3
2013-10-06 09:49:18 +02:00
Georg Brandl
74883a3751
Fix markup to not add parens to the "hashlib.md5" constructor when the object is meant, not the call.
2013-10-06 09:48:47 +02:00
Georg Brandl
7cf231f695
merge with 3.3
2013-10-06 09:42:52 +02:00
Georg Brandl
a0ec296599
Remove newline in method that makes it possible to copy example to the interactive interpreter.
2013-10-06 09:42:46 +02:00
Georg Brandl
e678f51e23
merge with 3.3
2013-10-06 09:32:15 +02:00
Georg Brandl
a84d473f02
Remove dead link to effbot Tkinter introduction material (reported by Ralf Ganswindt from docs@)
2013-10-06 09:32:03 +02:00
Georg Brandl
834a73bf4f
merge with 3.3
2013-10-06 09:23:19 +02:00
Georg Brandl
bdaee3ac95
Fix: Element.text is an attribute, not a method (report by Cameron Laird on docs@)
2013-10-06 09:23:03 +02:00
Georg Brandl
dcd4555242
merge with 3.3
2013-10-06 09:17:52 +02:00
Georg Brandl
c2b17b2eba
Fix "customer timer" -> "custom timer" (reported by Kirk Strauser on docs@)
2013-10-06 09:17:43 +02:00
Georg Brandl
4f00dc570c
merge with 3.3
2013-10-06 09:17:07 +02:00
Georg Brandl
53bf15af47
Fix ZeroDivisionError message (reported by Pavel Fedotov on docs@)
2013-10-06 09:11:14 +02:00
Eric Snow
dcd01b4932
[issue 19152] Add versionadded for ExtensionFileLoader.get_filename().
2013-10-04 20:35:34 -06:00
Ezio Melotti
17f1eddcfe
Add missing comma.
2013-10-05 04:26:06 +03:00
Ezio Melotti
93d7dda914
#19148 : fix markup errors and wording in enum docs. Patch by Esa Peuha.
2013-10-05 04:13:18 +03:00
Brett Cannon
1448ecf470
Issue #18716 : Deprecate the formatter module
2013-10-04 11:38:59 -04:00
Jesus Cea
cc5d49e3da
MERGE: Close #19160 : Inconsistent size for GIL release in hashlib
2013-10-04 04:21:02 +02:00
Jesus Cea
5b22dd87aa
Close #19160 : Inconsistent size for GIL release in hashlib
2013-10-04 04:20:37 +02:00
Jesus Cea
5f0f51239b
MERGE: Close #19160 : Inconsistent size for GIL release in hashlib
2013-10-04 04:15:48 +02:00
Jesus Cea
f5c499e16c
Close #19160 : Inconsistent size for GIL release in hashlib
2013-10-04 04:15:06 +02:00
Eric Snow
5c4b4c530f
[issue19152] Revert 832579dbafd6.
2013-10-03 15:03:29 -06:00
Eric Snow
af8566c847
[issue19152] Add ExtensionFileLoader.get_filename().
2013-10-03 12:08:55 -06:00
Eric Snow
5179445520
[issue19152] Add ExtensionFileLoader.get_filename().
2013-10-03 12:08:55 -06:00
Serhiy Storchaka
09bb846b01
Issue #19132 : Add versionchanged tags.
2013-10-02 21:40:21 +03:00
Nick Coghlan
fdf239a855
Close #17839 : support bytes-like objects in base64 module
...
This mostly affected the encodebytes and decodebytes function
(which are used by base64_codec)
Also added a test to ensure all bytes-bytes codecs can handle
memoryview input and tests for handling of multidimensional
and non-bytes format input in the modern base64 API.
2013-10-03 00:43:22 +10:00
Nick Coghlan
45163ccce4
Close #18690 : register memoryview with Sequence ABC
2013-10-02 22:31:47 +10:00
Vinay Sajip
dff9e2535f
Closes #19139 : Changed usage of __VENV_NAME__ and added __VENV_PROMPT__.
2013-10-02 11:36:16 +01:00
Serhiy Storchaka
7c411a4041
Issue #19132 : The pprint module now supports compact mode.
2013-10-02 11:56:18 +03:00
Nick Coghlan
f05d981f58
Close #10042 : functools.total_ordering now handles NotImplemented
...
(Patch by Katie Miller)
2013-10-02 00:02:03 +10:00
Senthil Kumaran
65870835a0
merge from 3.3. Minor urllib.parse.rst docs fix.
2013-09-30 22:12:51 -07:00
Senthil Kumaran
21b2933456
Minor doc fix in urllib.parse.rst
2013-09-30 22:12:16 -07:00
Antoine Pitrou
c8fb4fc96e
Add a "skull and crossbones" to Py_AddPendingCall.
2013-09-30 21:38:49 +02:00
Antoine Pitrou
1a67bee701
Add a "skull and crossbones" to Py_AddPendingCall.
2013-09-30 21:35:44 +02:00
Antoine Pitrou
20b85557f2
Issue #19095 : SSLSocket.getpeercert() now raises ValueError when the SSL handshake hasn't been done.
2013-09-29 19:50:53 +02:00
Nick Coghlan
4cc2afa0ec
Close #18990 : remove root attribute from XMLPullParser
...
- this was an internal implementation detail for iterparse
- this has been changed to use a new private method instead
- XMLPullParser.close docs are now more explicit about not
returning a root element and instead direct users towards
read_events
- also added missing docstrings and clarified some details
related to exactly *when* events are consumed from the
internal queue
(Initial patch by Stefan Behnel)
2013-09-28 23:50:35 +10:00
Ethan Furman
9a1daf5765
Close #19011 : Add documentation on some of the non-standard Enum behavior.
...
Issues such as iterating and containment on Enum classes, why Enum member
instances do not show up on other Enum members, and how __new__ should
be used.
2013-09-27 22:58:06 -07:00
Vinay Sajip
5421f35d5e
logging: added support for Unix domain sockets to SocketHandler and DatagramHandler.
2013-09-27 18:18:28 +01:00
Jason R. Coombs
0c47f34385
Issue #18978 : Update docs to reflect explicitly the ability to set the attribute at the class level.
2013-09-22 09:33:45 -04:00
Nick Coghlan
f94a16b494
Close #18626 : add a basic CLI for the inspect module
2013-09-22 22:46:49 +10:00
Nick Coghlan
4c7fe6a5ad
Avoid inconsistent use of 'finalizer'
2013-09-22 21:32:12 +10:00
Nick Coghlan
be57ab8a34
Close #19047 : weakref doc cleanups
...
- be clear finalizers survive automatically
- update for PEP 442 __del__ changes
- mention module cleanup changes and weakref.finalize in What's New
2013-09-22 21:26:30 +10:00
Georg Brandl
a2838878fa
merge with 3.3
2013-09-22 11:46:51 +02:00
Georg Brandl
587b30571d
Closes #19043 : remove detailed listing of versions from license files
...
Since all versions since 2.2 are under the same licensing terms,
this saves the release manager from touching the two files for
very new minor release.
2013-09-22 11:45:52 +02:00
Senthil Kumaran
3af4fad555
Correcting the mistake in 678e3c0d2d99
...
Merge from 3.3
Addresses Issue #18553 : isatty is not Unix only.
2013-09-19 00:10:17 -07:00
Senthil Kumaran
2a97cee5ed
Correcting the mistake in 14ba90816930
...
Addresses Issue #18553 : isatty is not Unix only.
2013-09-19 00:08:56 -07:00
R David Murray
4750fa8369
Merge #14984 : On POSIX, enforce permissions when reading default .netrc.
2013-09-17 21:28:17 -04:00
R David Murray
fb9dc0b3ae
Merge #14984 : On POSIX, enforce permissions when reading default .netrc.
2013-09-17 21:04:50 -04:00
R David Murray
8270a2c209
Merge #14984 : On POSIX, enforce permissions when reading default .netrc.
2013-09-17 20:32:54 -04:00
R David Murray
104aab956f
#14984 : On POSIX, enforce permissions when reading default .netrc.
...
Initial patch by Bruno Piguet.
This is implemented as if a useful .netrc file could exist without passwords,
which is possible in the general case; but in fact our netrc implementation
does not support it. Fixing that issue will be an enhancement.
2013-09-17 20:30:02 -04:00
Serhiy Storchaka
3c41154331
Issue #17003 : Unified the size argument names in the io module with common
...
practice.
2013-09-16 23:18:10 +03:00
Georg Brandl
c6ebbef6bd
One more markup fix.
2013-09-16 04:03:12 +02:00
Andrew Kuchling
173a157e72
#1565525 : Add traceback.clear_frames() helper function to clear locals ref'd by a traceback
2013-09-15 18:15:56 -04:00
Raymond Hettinger
8408dc581e
Issue 18771: Make it possible to set the number linear probes at compile-time.
2013-09-15 14:57:15 -07:00
Ethan Furman
101e0746d3
Close #18989 : enum members will no longer overwrite other attributes, nor be overwritten by them.
2013-09-15 12:34:36 -07:00
Senthil Kumaran
defe7f4c62
Expose --bind argument for http.server, enable http.server to bind to a user
...
specified network interface.
Patch contributed by Malte Swart. Addresses issue #17764 .
HG :Enter commit message. Lines beginning with 'HG:' are removed.
2013-09-15 09:37:27 -07:00
Georg Brandl
5642ff9d8e
Fixup reST syntax errors and streamline docs of PEP 446.
2013-09-15 10:37:57 +02:00
Ethan Furman
668dede7e9
Close #18929 : inspect.classify_class_attrs will now search the metaclasses (last) to find where an attr was defined.
2013-09-14 18:53:26 -07:00
Antoine Pitrou
7c89ae206e
Address Terry's comments
2013-09-15 02:01:39 +02:00
Antoine Pitrou
0715b9fad3
Issue #18937 : Add an assertLogs() context manager to unittest.TestCase to ensure that a block of code emits a message using the logging module.
2013-09-14 19:45:47 +02:00
Brett Cannon
a87e31ca52
Issue #18955 : clarify what is removed by importlib.util.module_for_loader.
2013-09-13 16:52:19 -04:00
Ezio Melotti
92ed89081e
#18951 : merge with 3.3.
2013-09-13 22:18:02 +03:00
Ezio Melotti
560a77881b
#18951 : use consistent names in unittest docs.
2013-09-13 22:17:40 +03:00
Serhiy Storchaka
bf28d2dcad
Issue #18818 : The "encodingname" part of PYTHONIOENCODING is now optional.
2013-09-13 11:46:24 +03:00
Senthil Kumaran
aa1004da97
merge from 3.3
...
Clarify mmap.close method behavior. Addresses issue #18815
Patch contributed by Anoop Thomas Mathew.
2013-09-09 22:40:13 -07:00
Senthil Kumaran
b9183950d8
Clarify mmap.close method behavior. Addresses issue #18815
...
Patch contributed by Anoop Thomas Mathew.
2013-09-09 22:39:28 -07:00
Senthil Kumaran
8a7687a631
merge from 3.3
...
Document Fraction's numerator and denominator properties.
Addresses issue #18800
2013-09-09 19:58:20 -07:00
Senthil Kumaran
b505a6ac91
Document Fraction's numerator and denominator properties.
...
Addresses issue #18800
2013-09-09 19:57:37 -07:00
Raymond Hettinger
fb92f393b0
Issue 18752: Make chain.from_iterable() more visible in the documentation.
2013-09-09 02:01:35 -05:00
Raymond Hettinger
223b9c36ad
merge
2013-09-09 01:55:31 -05:00
Raymond Hettinger
ee09458e08
merge
2013-09-09 01:55:07 -05:00
Raymond Hettinger
1e21ebcc2a
Issue 18301: The classmethod decorator didn't fit well with the rough-equivalent example code.
2013-09-09 01:54:27 -05:00
Ethan Furman
455bfdea2f
Close #18980 : Enum doc fixes. Patch from Elazar Gershuni.
2013-09-08 23:48:34 -07:00
Raymond Hettinger
8df58f7ae8
Issue 18752: Make chain.from_iterable() more visible in the documentation.
2013-09-09 01:29:40 -05:00
Victor Stinner
8898350076
Close #18957 : The PYTHONFAULTHANDLER environment variable now only enables the
...
faulthandler module if the variable is non-empty. Same behaviour than other
variables like PYTHONDONTWRITEBYTECODE.
2013-09-08 11:36:23 +02:00
Nick Coghlan
ff6382b40d
Merge #18952 fix from 3.3
2013-09-08 12:49:53 +10:00
Nick Coghlan
0494c2ae7f
Close #18952 : correctly download test support data
...
When test.support was converted to a package, it started silently
skipping the tests which needed to download support data to run.
This change refactors the affected code, and also tidies up
test.support.findfile to remove the unused *here* parameter, document
the *subdir* parameter and rename the *filename* parameter to avoid
shadowing the file builtin and be consistent with the documentation.
The unexpected skips were noticed and reported by Zachary Ware
2013-09-08 11:40:34 +10:00
Senthil Kumaran
b1424a2908
merge from 3.3
...
Correct Profile class usage example. Addresses issue #18033 .
Patch contributed by Olivier Hervieu and Dmi Baranov.
2013-09-07 17:52:38 -07:00
Senthil Kumaran
21101f7038
Correct Profile class usage example. Addresses issue #18033 .
...
Patch contributed by Olivier Hervieu and Dmi Baranov.
2013-09-07 17:51:58 -07:00
Senthil Kumaran
59b74ec5e3
merge from 3.3
...
Removing the mention of os.isatty mention as Unix only
Correct the wrong documentation.
2013-09-07 11:30:04 -07:00
Senthil Kumaran
1b90227c0d
Removing the mention of os.isatty mention as Unix only
...
Correct the wrong documentation.
2013-09-07 11:28:58 -07:00
Ezio Melotti
84eadd8651
#18895 : merge with 3.3.
2013-09-07 15:24:01 +03:00
Ezio Melotti
e64a91a890
#18895 : split a sentence in unittest docs.
2013-09-07 15:23:36 +03:00
Ezio Melotti
0cd94428ad
#18894 : merge with 3.3.
2013-09-07 15:20:03 +03:00
Ezio Melotti
e2202365ed
#18894 : remove mention of deprecated fail* methods.
2013-09-07 15:19:30 +03:00
Ethan Furman
ed0bf8a729
Close #18908 : Keep Enum docs in their own section. Patch by Elazar Gershuni.
2013-09-06 19:53:30 -07:00
Eli Bendersky
96d848ace4
Update whatsnew/3.4 wrt. --version going to stdout. #18338 , #18920 , #18922
2013-09-06 06:55:58 -07:00
Vinay Sajip
e2549df82e
Closes #18939 : Merged documentation update from 3.3.
2013-09-06 09:51:27 +01:00
Vinay Sajip
a704582002
Issue #18939 : Updated venv documentation with some clarifications.
2013-09-06 09:50:43 +01:00
Vinay Sajip
db2c6819ba
Closes #18933 : Merged update from 3.3.
2013-09-05 23:02:45 +01:00
Vinay Sajip
31b862d40b
Issue #18933 : Added links to source code.
2013-09-05 23:01:07 +01:00
Serhiy Storchaka
34d201374c
Issue #18878 : sunau.open now supports the context manager protocol. Based on
...
patches by Claudiu Popa and R. David Murray.
2013-09-05 17:01:53 +03:00
Victor Stinner
73821c47dc
Issue #16853 : Mention the new selectors module in the select module
2013-09-04 20:40:13 +02:00
Victor Stinner
4aea4a0c89
Issue #16853 : Mention the new selectors module in What's New in Python 3.4
2013-09-04 20:30:34 +02:00
Charles-François Natali
243d8d85de
Issue #16853 : Add new selectors module.
2013-09-04 19:02:49 +02:00
Andrew Svetlov
58b5c5ad14
Issue #18882 : Add threading.main_thread() function.
2013-09-04 07:01:07 +03:00
Serhiy Storchaka
e06a89655a
Issue #18901 : The sunau getparams method now returns a namedtuple rather than
...
a plain tuple. Patch by Claudiu Popa.
2013-09-04 00:43:03 +03:00
Ethan Furman
ec15a826ce
Close #18738 : Route __format__ calls to mixed-in type for mixed Enums (such as IntEnum).
2013-08-31 19:17:41 -07:00
Eli Bendersky
34567ec94b
Update whatsnew/3.4.rst wrt. the socket constants switch to IntEnum
...
[issue #18730 ]
2013-08-31 15:18:48 -07:00
Eli Bendersky
2c68e300e5
Fix XMLPullParser documentation to say "non-blocking" instead of "asynchronous".
...
The latter is more ambiguous.
Related to issue #17741
2013-08-31 07:37:23 -07:00
Eli Bendersky
b586934f0e
Issue #17741 : Rename IncrementalParser and its methods.
...
The new names are hopefully more descriptive and consistent. If you feel you
don't agree with this change, *please* read issue 17741 first - there's a lot of
discussion in there.
2013-08-30 05:51:20 -07:00
Serhiy Storchaka
a8c2a8aa8d
Issue #18760 : Improved cross-references in the xml package.
2013-08-29 10:29:30 +03:00
Serhiy Storchaka
15e6590774
Issue #18760 : Improved cross-references in the xml package.
2013-08-29 10:28:44 +03:00
Andrew Svetlov
eb97368451
Issue #11798 : TestSuite now drops references to own tests after execution.
2013-08-28 21:28:38 +03:00
Victor Stinner
daf455554b
Issue #18571 : Implementation of the PEP 446: file descriptors and file handles
...
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
2013-08-28 00:53:59 +02:00
Serhiy Storchaka
46e1ce214b
Issue #18783 : Removed existing mentions of Python long type in docstrings,
...
error messages and comments.
2013-08-27 20:17:03 +03:00
Serhiy Storchaka
9594942716
Issue #18783 : Removed existing mentions of Python long type in docstrings,
...
error messages and comments.
2013-08-27 19:40:23 +03:00
Victor Stinner
14e461d5b9
Close #11619 : The parser and the import machinery do not encode Unicode
...
filenames anymore on Windows.
2013-08-26 22:28:21 +02:00
Eli Bendersky
8d26a56f3e
Clarify pyexpat documentation in StartElementHandler
2013-08-25 19:06:16 -07:00
Eli Bendersky
ca4d97ea8a
Clarify pyexpat documentation in StartElementHandler
2013-08-25 19:05:55 -07:00
Eli Bendersky
c020e7f8cb
Merge doc fix from 3.3
2013-08-25 15:30:39 -07:00
Eli Bendersky
bf8ab77f94
Update XMLParser.close documentation and fix formatting.
...
Using ``method`` markup because the method is on a callback object, not an
explicitly documented method. :meth: markup creates links within the current
class which is incorrect.
In addition, indent the paragraph correctly.
2013-08-25 15:27:36 -07:00
Ezio Melotti
74eba65fb6
Fix markup in elementtree docs.
2013-08-26 01:05:57 +03:00
Eli Bendersky
bfd78370a5
Clarify the documentation of XMLParser.close
...
The return value of close() is not always a toplevel element. It depends on
what the underlying target returns. By default, TreeBuilder returns the
toplevel document element.
2013-08-24 15:11:44 -07:00
Serhiy Storchaka
96d5c54130
Issue #18757 : Improved cross-references in the concurrent package.
2013-08-24 00:27:59 +03:00
Serhiy Storchaka
9e0ae53980
Issue #18757 : Improved cross-references in the concurrent package.
2013-08-24 00:23:38 +03:00
Ezio Melotti
6e6c6ac3d7
#18796 : improve documentation of the file argument of dis.show_code. Initial patch by Vajrasky Kok.
2013-08-23 22:41:39 +03:00
Brett Cannon
f9f0458961
merge emphasized discouragement of overriding __import__
2013-08-23 11:00:04 -04:00
Brett Cannon
f5ebd26403
Emphasize that people should not override __import__.
...
With importlib getting used more and more, changing __import__ will
not work as well as people used to hope as it will potentially bypass
importers, etc. It also will not work with importlib.import_module()
as it uses "importlib.__import__" (i.e. importlib's implementation of
import) directly and not builtins.__import__.
2013-08-23 10:58:49 -04:00
Victor Stinner
13423c3726
Close #18794 : Add a fileno() method and a closed attribute to select.devpoll
...
objects.
Add also tests on fileno() method and closed attribute of select.epoll and select.kqueue.
2013-08-22 00:19:50 +02:00