Commit graph

4447 commits

Author SHA1 Message Date
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
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
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
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
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
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