Commit graph

68714 commits

Author SHA1 Message Date
Ezio Melotti
4e2005dc0d Merge heads. 2012-11-03 21:18:57 +02:00
Chris Jerdonek
b9829fca71 Backport from 3.2: link to mapping glossary entry in docs. 2012-11-03 12:13:46 -07:00
Ezio Melotti
67dc4a87fc #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an error. 2012-11-03 21:10:45 +02: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
0941d9fc64 #12759: sre_parse now raises a proper error when the name of the group is missing. Initial patch by Serhiy Storchaka. 2012-11-03 20:33:08 +02:00
Ezio Melotti
ef3173877c #12759: sre_parse now raises a proper error when the name of the group is missing. Initial patch by Serhiy Storchaka. 2012-11-03 20:31:12 +02:00
Ezio Melotti
dedfa9bfae #4711: break long words in the docs sidebar to avoid overflow. 2012-11-03 18:25:04 +02:00
Ezio Melotti
d1076dbef8 #4711: break long words in the docs sidebar to avoid overflow. 2012-11-03 18:25:04 +02:00
Ezio Melotti
cfe446e4f6 Remove trailing whitespace. 2012-11-03 18:24:11 +02:00
Ezio Melotti
2cc3b4ba9f #16152: fix tokenize to ignore whitespace at the end of the code when no newline is found. Patch by Ned Batchelder. 2012-11-03 17:38:43 +02:00
Ezio Melotti
7d24b1698a #16152: fix tokenize to ignore whitespace at the end of the code when no newline is found. Patch by Ned Batchelder. 2012-11-03 17:30:51 +02:00
Georg Brandl
4552e3f95c Grammar touchup. 2012-11-02 07:34:37 +01:00
Georg Brandl
d7bae5e85a Grammar touchup. 2012-11-02 07:34:37 +01:00
Andrew Svetlov
d183767ca4 Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:41:19 +02:00
Andrew Svetlov
5018db76aa Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:39:14 +02:00
Andrew Svetlov
5bb420761f Reword set docs to use *proper subset/superset* terminology. 2012-11-01 21:47:54 +02:00
Andrew Svetlov
2c184c6d75 Reword set docs to use *proper subset/superset* terminology. 2012-11-01 21:47:05 +02:00
Andrew Svetlov
1491cbdf63 Issue #14893: Add function annotation example to function tutorial.
Patch by Zachary Ware.
2012-11-01 21:26:55 +02:00
Antoine Pitrou
0552fc2b8a Issue #16230: Fix a crash in select.select() when one the lists changes size while iterated on.
Patch by Serhiy Storchaka.
2012-11-01 20:13:54 +01:00
Antoine Pitrou
e4ad37e50e Issue #16230: Fix a crash in select.select() when one the lists changes size while iterated on.
Patch by Serhiy Storchaka.
2012-11-01 20:13:54 +01:00
Antoine Pitrou
e9e35c3f6b Issue #16228: Fix a crash in the json module where a list changes size while it is being encoded.
Patch by Serhiy Storchaka.
2012-11-01 20:07:40 +01:00
Antoine Pitrou
9f69e79c45 Issue #16228: Fix a crash in the json module where a list changes size while it is being encoded.
Patch by Serhiy Storchaka.
2012-11-01 19:52:06 +01:00
Andrew Svetlov
42d5c41522 Change docstring for xdrlib.Error to use new style exceptions. 2012-11-01 13:43:06 +02:00
Andrew Svetlov
bcac6ad1f3 Issue #16373: Prevent infinite recursion for ABC Set class operations. 2012-11-01 13:28:54 +02:00
Mark Dickinson
4ca83ec72d Issue #16377: fix missed test due to incorrect indentation in test_bisect. Thanks Yury Selivanov. 2012-10-31 20:38:52 +00:00
Andrew Svetlov
eda1f4cf07 Issue #16377: Fix bisect unittest.
Patch by Yury Selivanov.
2012-10-31 22:37:50 +02:00
Andrew Svetlov
01e1e35f6a merge heads 2012-10-31 22:05:46 +02:00
Andrew Svetlov
5f91ad3550 Issue #14900: document added sort keys for profile stats. 2012-10-31 22:03:28 +02:00
Andrew Svetlov
8a9b401a7d Issue #14900: document added sort keys for profile stats. 2012-10-31 21:54:45 +02:00
Mark Dickinson
6ae568b9df Issue #16348: Fix incorrect documentation for Decimal.remainder_near. 2012-10-31 19:44:36 +00:00
Mark Dickinson
89e8f54045 Issue #16348: Fix incorrect documentation for Decimal.remainder_near. 2012-10-31 19:44:09 +00:00
Benjamin Peterson
9892f52145 avoid a function call with redundant checks for dict size 2012-10-31 14:22:12 -04:00
Benjamin Peterson
47fa4d54e8 avoid a function call with redundant checks for dict size 2012-10-31 14:22:12 -04:00
Benjamin Peterson
37d2c99b22 fix spelling 2012-10-31 14:16:09 -04:00
Benjamin Peterson
c40ddae84c fix spelling 2012-10-31 14:16:09 -04:00
Benjamin Peterson
275c848736 merge heads 2012-10-31 14:06:07 -04:00
Benjamin Peterson
0ec820fc5f only fast-path fromkeys() when the constructor returns a empty dict (closes #16345) 2012-10-31 14:05:55 -04:00
Benjamin Peterson
d1f2cb37a2 only fast-path fromkeys() when the constructor returns a empty dict (closes #16345) 2012-10-31 14:05:55 -04:00
Jesus Cea
64085e3064 Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(...). DOCUMENT IT! 2012-10-31 17:00:59 +01:00
Jesus Cea
bdf1b9e267 Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(...). DOCUMENT IT! 2012-10-31 17:00:19 +01:00
R David Murray
c454fe4509 #16371: fix up the English. 2012-10-31 10:53:13 -04:00
R David Murray
a2959cea3f #16371: fix up the English a bit more. 2012-10-31 10:50:27 -04:00
Andrew Svetlov
ec42255039 Issue #16371: fix typo in ctypes documentation.
Thanks to George Yoshida.
2012-10-31 16:20:54 +02:00
Andrew Svetlov
e1fa22a8ae Issue #16370: Mention Py_SetProgramName in example for very high level embedding. 2012-10-31 16:03:14 +02:00
Andrew Svetlov
6e96e5e966 Issue #16370: Mention Py_SetProgramName in example for very high level embedding. 2012-10-31 16:01:09 +02:00
Andrew Svetlov
4deb16dd75 Remove already dropped function PySys_GetFile from documentation.
Thanks to Daniel Müllner from docs@
2012-10-31 12:02:56 +02:00
Andrew Svetlov
6a5c7c341a Fix docstring for deque ctor to mark iterable parameter optional 2012-10-31 11:50:40 +02:00
Andrew Svetlov
227f59b29c Fix docstring for deque ctor to mark iterable parameter optional 2012-10-31 11:50:00 +02:00
Benjamin Peterson
c43112823b initialize more global type objects (closes #16369) 2012-10-30 23:21:10 -04:00
Benjamin Peterson
6da3ed63d8 initialize more global type objects (closes #16369) 2012-10-30 23:21:10 -04:00