Commit Graph

307 Commits

Author SHA1 Message Date
Ezio Melotti 8429b6784b #15831: merge with 3.2 2012-09-14 06:35:09 +03:00
Alexander Belopolsky e8677c038f Issue #15855: updated related manual entries. 2012-09-03 17:29:22 -04:00
Stefan Krah a3b84fb2f9 Issue #15814: Documentation: disallow hashing of multi-dimensional memoryviews. 2012-09-02 14:50:56 +02:00
Stefan Krah dbf56c2ef3 Issue #15814: Document planned restrictions for memoryview hashes in 3.3.1. 2012-09-01 14:34:45 +02:00
Stefan Krah ab0c3c7183 Issue #15724: Add versionchanged tags to the memoryview documentation. 2012-08-30 12:09:09 +02:00
Nick Coghlan 06e1ab0a6b Close #15573: use value-based memoryview comparisons (patch by Stefan Krah) 2012-08-25 17:59:50 +10:00
Nick Coghlan 83c0ae5de6 Address most of Ezio's comments. str/bytes/bytearray docs still need consolidation 2012-08-21 17:42:52 +10:00
Nick Coghlan 273069cf7d Close #4966: revamp the sequence docs in order to better explain the state of modern Python 2012-08-20 17:14:07 +10:00
R David Murray 27bbcfb8ff Merge #15543: glossary entry for and 'universal newlines', and links to it.
Patch by Chris Jerdonek.
2012-08-15 11:11:27 -04:00
R David Murray 1b00f25bf9 #15543: glossary entry for and 'universal newlines', and links to it.
Patch by Chris Jerdonek.
2012-08-15 10:43:58 -04:00
Sandro Tosi 5a5e8dd931 merge with 3.2 2012-08-12 12:35:31 +02:00
Sandro Tosi 82a509ca75 add missing quote in splitlines() example; thanks to Yevgen Yampolskiy from docs@ 2012-08-12 12:35:14 +02:00
R David Murray 638de338e6 Merge #15554: clarify splitlines/split differences.
Patch by Chris Jerdonek.
2012-08-06 16:08:40 -04:00
R David Murray 05c35a6a6b #15554: clarify splitlines/split differences.
Patch by Chris Jerdonek.
2012-08-06 16:08:09 -04:00
R David Murray f4b26ef250 #14957: fix doc typo. 2012-06-02 11:20:53 -04:00
R David Murray 554b3481fa #14957: fix doc typo. 2012-06-02 11:20:29 -04:00
R David Murray 5a0d439126 #14957: clarify splitlines docs.
Initial patch by Michael Driscoll, I added the example.
2012-06-01 16:20:26 -04:00
R David Murray ae1b94b6e4 #14957: clarify splitlines docs.
Initial patch by Michael Driscoll, I added the example.
2012-06-01 16:19:36 -04:00
Benjamin Peterson d5a1c44455 PEP 415: Implement suppression of __context__ display with an exception attribute
This replaces the original PEP 409 implementation. See #14133.
2012-05-14 22:09:31 -07:00
Antoine Pitrou 9a2349030a Issue #14417: Mutating a dict during lookup now restarts the lookup instead of raising a RuntimeError (undoes issue #14205). 2012-05-13 20:48:01 +02:00
Sandro Tosi 708d88c334 merge with 3.2 2012-05-13 11:01:36 +02:00
Sandro Tosi 3918b1ebfb Issue #14793: fix grammar in bytes object paragraph; patch by Tshepang Lekhonkhobe 2012-05-13 11:01:20 +02:00
Ezio Melotti fd7aaab184 #14763: merge with 3.2. 2012-05-10 15:33:13 +03:00
Ezio Melotti bf3165b971 #14763: document default maxsplit value for str.split. 2012-05-10 15:30:42 +03:00
Sandro Tosi 89c4eef435 Issue #14691: indent the traceback so the example is highlighted 2012-04-29 20:33:28 +02:00
Victor Stinner 0db176f8f6 Issue #14386: Expose the dict_proxy internal type as types.MappingProxyType 2012-04-16 00:16:30 +02:00
Georg Brandl 226ed7ecbd Fix indentation. 2012-03-24 08:12:41 +01:00
Georg Brandl 2ac82f8dc9 Fix indentation. 2012-03-22 22:20:21 +01:00
Victor Stinner 50dbb3f2cf Issue #14205: document the change of dict[key] behaviour if dict is modified
during the lookup
2012-03-08 02:50:17 +01:00
Gregory P. Smith c45a8a153b Issue #14123: Explicitly mention that old style % string formatting has caveats but is not going away any time soon. 2012-02-26 01:54:46 -08:00
Gregory P. Smith 3bbdc8e822 Issue #14123: Explicitly mention that old style % string formatting has caveats
but is not going away any time soon.
2012-02-26 01:54:07 -08:00
Nick Coghlan ab7bf2143e Close issue #6210: Implement PEP 409 2012-02-26 17:49:52 +10:00
Ezio Melotti cda6b6d60d #14081: The sep and maxsplit parameter to str.split, bytes.split, and bytearray.split may now be passed as keyword arguments. 2012-02-26 09:39:55 +02:00
Stefan Krah 9a2d99e28a - Issue #10181: New memoryview implementation fixes multiple ownership
and lifetime issues of dynamically allocated Py_buffer members (#9990)
  as well as crashes (#8305, #7433). Many new features have been added
  (See whatsnew/3.3), and the documentation has been updated extensively.
  The ndarray test object from _testbuffer.c implements all aspects of
  PEP-3118, so further development towards the complete implementation
  of the PEP can proceed in a test-driven manner.

  Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review
  and many ideas.

- Issue #12834: Fix incorrect results of memoryview.tobytes() for
  non-contiguous arrays.

- Issue #5231: Introduce memoryview.cast() method that allows changing
  format and shape without making a copy of the underlying memory.
2012-02-25 12:24:21 +01:00
Sandro Tosi 1ee86a1515 merge with 3.2 2012-02-19 12:28:18 +01:00
Sandro Tosi 76dea27421 Indent 'File' in memoryview example, so it is correctly highlighted 2012-02-19 12:28:01 +01:00
Sandro Tosi b5d271073f merge with 3.2 2012-02-18 16:06:39 +01:00
Sandro Tosi c33ae06cbf fix error in memoryview example; thanks to kan lianlian from docs@ 2012-02-18 16:05:34 +01:00
Benjamin Peterson a5f6d0e030 merge 3.2 2012-01-25 16:31:56 -05:00
Benjamin Peterson b4b0b354dd kill extra word 2012-01-25 16:30:18 -05:00
Benjamin Peterson e9fca253d0 say bitwise (because I have no idea what a bit-string is) 2012-01-25 16:29:03 -05:00
Georg Brandl 5b45a013bc merge from 3.2 2012-01-23 20:19:46 +01:00
Georg Brandl 3b65fd7e97 #13816: fix two minor style issues. Thanks to Justin Wehnes for the patch. 2012-01-23 20:19:33 +01:00
Benjamin Peterson 94303549c4 improve casefold/lower/upper docs 2012-01-18 23:09:32 -05:00
Benjamin Peterson d5890c8db5 add str.casefold() (closes #13752) 2012-01-14 13:23:30 -05:00
Terry Jan Reedy f4ec3c5a92 #13754 String returned if less than *or equal to* x 3
Close *13753 'seq' now 'iterable'
2012-01-11 03:29:42 -05:00
Benjamin Peterson 22ef4fa7e9 merge heads 2012-01-11 18:17:40 -05:00
Benjamin Peterson b2bf01d824 use full unicode mappings for upper/lower/title case (#12736)
Also broaden the category of characters that count as lowercase/uppercase.
2012-01-11 18:17:06 -05:00
Terry Jan Reedy 610e8140de Merge with 3.2
#13754 String returned if less than *or equal to* x 3
*13753 'seq' now 'iterable'
2012-01-11 03:32:43 -05:00
Ezio Melotti c42512dfc6 #13494: merge with 3.2. 2011-12-02 19:49:02 +02:00