Commit graph

20163 commits

Author SHA1 Message Date
Gregory P. Smith
13b55291ac hashlib has two new constant attributes: algorithms_guaranteed and
algorithms_avaiable that respectively list the names of hash algorithms
guaranteed to exist in all Python implementations and the names of hash
algorithms available in the current process.

Renames the attribute new in 3.2a0 'algorithms' to 'algorithms_guaranteed'.
2010-09-06 08:30:23 +00:00
Georg Brandl
c86adb4c5c #9780: both { and } are not valid fill characters. 2010-09-06 06:49:07 +00:00
Georg Brandl
9e75cad234 Remove redundant word. 2010-09-06 06:45:47 +00:00
Éric Araujo
716ac385d9 Revert accidental commit, apologies for the noise 2010-09-06 01:31:11 +00:00
Raymond Hettinger
db9044e065 Fix nits 2010-09-06 01:29:23 +00:00
Éric Araujo
f63a6fc24e Update 2010-09-06 01:27:06 +00:00
Raymond Hettinger
92ba2868b6 More updates to whatsnew3.2 2010-09-06 01:16:46 +00:00
Benjamin Peterson
6db773057e link to docs 2010-09-06 00:32:12 +00:00
Raymond Hettinger
7fefaffcc2 Clean-up example of using fileinput as a context manager. 2010-09-05 23:50:32 +00:00
Éric Araujo
4234ad4266 Fix typos and wording in what’s new 3.2.
- The entry about shutil.copytree is just a revert of r84524 which
looks like an unfinished edition.
- The use of gender-neutral language (s/his/their/) removes the
implicit assumption that programmer == male (change agreed by Antoine).
- Other changes should be uncontroversial fixes.

I haven’t rewrapped under 80 lines to keep the diffs readable; I’ll
rewrap later.
2010-09-05 17:32:25 +00:00
Georg Brandl
a9b51d2a0e #9747: fix copy-paste error in getresgid() doc. 2010-09-05 17:07:12 +00:00
Georg Brandl
da0a2117aa Rewrap and consistency fixes. 2010-09-05 11:28:33 +00:00
Raymond Hettinger
d881f31693 Fill-in sqlite3 stubs 2010-09-05 08:54:32 +00:00
Raymond Hettinger
bcbd69666b Add example of ftplib's new context manager. 2010-09-05 08:46:36 +00:00
Raymond Hettinger
ef2335ca08 Add PEP 391 to whatsnew 2010-09-05 08:35:38 +00:00
Raymond Hettinger
6e8fe9725a More updates to whatsnew. 2010-09-05 06:13:47 +00:00
Raymond Hettinger
bb734c6707 Add an example 2010-09-05 05:56:44 +00:00
Raymond Hettinger
1784ff0249 More updates to whatsnew 2010-09-05 01:00:19 +00:00
Raymond Hettinger
ebea6fae86 Update whatsnew for Pep3149. 2010-09-05 00:27:25 +00:00
Raymond Hettinger
f95b199339 Update whatsnew for Pep3147. 2010-09-04 23:53:24 +00:00
Raymond Hettinger
02566ec89f Adopt more descriptive attribute names as suggested on python-dev. 2010-09-04 22:46:06 +00:00
Antoine Pitrou
74a69fa662 Issue #9225: Remove the ROT_FOUR and DUP_TOPX opcode, the latter replaced
by the new (and simpler) DUP_TOP_TWO.  Performance isn't changed, but
our bytecode is a bit simplified.  Patch by Demur Rumed.
2010-09-04 18:43:52 +00:00
Fred Drake
cc645b9a59 add consistent support for the vars and default arguments on all
configuration parser classes
(http://bugs.python.org/issue9421)
2010-09-04 04:35:34 +00:00
Georg Brandl
0b37b333a8 Fix missing word. 2010-09-03 22:49:27 +00:00
Amaury Forgeot d'Arc
661730e2aa Add an entry in whatsnew about the PyCObject -> PyCapsule move.
(It seems that I am the first SWIG user to try python 3.2...)
2010-09-03 22:43:08 +00:00
Georg Brandl
3387f4887f #9760: clarify what context expression is. 2010-09-03 22:40:02 +00:00
Georg Brandl
0bb73b8be8 #9767: doctest run over json docs. 2010-09-03 22:36:22 +00:00
Georg Brandl
8d58216050 More inclusive title. 2010-09-03 22:33:27 +00:00
Georg Brandl
f11c6c46ac Make PEP section a bit less ugly and at least list implemented PEPs. 2010-09-03 22:20:58 +00:00
Victor Stinner
2b19f35786 Add versionadded tag to PyUnicode_AsUnicodeCopy's doc 2010-09-03 22:13:42 +00:00
Florent Xicluna
0c8414e991 Typo 2010-09-03 20:23:40 +00:00
Daniel Stutzbach
23ef20f461 Merged revisions 84459 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84459 | daniel.stutzbach | 2010-09-03 13:31:07 -0500 (Fri, 03 Sep 2010) | 1 line

  Doc fix: unicode() is now str()
........
2010-09-03 18:37:34 +00:00
Daniel Stutzbach
98c07bde45 Doc fix: unicode() is now str() 2010-09-03 18:31:07 +00:00
Victor Stinner
e4ea994f20 Document PyUnicode_AsUnicodeCopy() 2010-09-03 16:23:29 +00:00
Daniel Stutzbach
045b3ba184 Issue #9212: Added the missing isdisjoint method to the dict_keys and
dict_items views.  The method is required by the collections.Set ABC,
which the views register as supporting.
2010-09-02 15:06:06 +00:00
Raymond Hettinger
ccb90e3ccd Keep contents order the same between versions. 2010-09-02 09:17:31 +00:00
Raymond Hettinger
2f6bd27a7e More descriptive title. 2010-09-01 22:52:25 +00:00
Raymond Hettinger
bd204de454 Glossary cleanup 2010-09-01 22:21:36 +00:00
Raymond Hettinger
f37ca3c8be Glossary cleanup 2010-09-01 22:11:53 +00:00
Raymond Hettinger
6f80b4c8b7 Cleanup heapq docs 2010-09-01 21:27:31 +00:00
Raymond Hettinger
fa16e2c20b Cleanup heapq docs 2010-09-01 21:26:16 +00:00
Georg Brandl
6cb5ad035b #9677: fix link. 2010-09-01 21:02:50 +00:00
Raymond Hettinger
a09dc9e38a 'Using Python' now called 'Python Setup' 2010-09-01 20:31:59 +00:00
Antoine Pitrou
1ce3eb5c5b Issue #8990: array.fromstring() and array.tostring() get renamed to
frombytes() and tobytes(), respectively, to avoid confusion.  Furthermore,
array.frombytes(), array.extend() as well as the array.array()
constructor now accept bytearray objects.  Patch by Thomas Jollans.
2010-09-01 20:29:34 +00:00
Antoine Pitrou
fce7fd6426 Issue #9549: sys.setdefaultencoding() and PyUnicode_SetDefaultEncoding()
are now removed, since their effect was inexistent in 3.x (the default
encoding is hardcoded to utf-8 and cannot be changed).
2010-09-01 18:54:56 +00:00
Raymond Hettinger
996b46a095 Forward port sorting howto 2010-09-01 09:17:24 +00:00
Raymond Hettinger
53c58f8bcc Forward port sorting howto 2010-09-01 09:15:42 +00:00
Raymond Hettinger
9707fd2ec0 More descriptive title. 2010-09-01 08:57:16 +00:00
Raymond Hettinger
293ffcf89d Fixup broken example 2010-09-01 08:27:16 +00:00
Raymond Hettinger
9092d20e0c Clean-up bisect docs 2010-09-01 08:24:40 +00:00