Commit graph

15431 commits

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