Commit Graph

58 Commits

Author SHA1 Message Date
Georg Brandl badc7abc10 Use :samp: role. 2008-12-05 18:31:51 +00:00
Guido van Rossum f519523f47 Tweak verbiage and markup for relative/absolute import. Backport candidate.
(I guess *all* changes to this file should be backported to the 3.0 branch.)
2008-12-05 05:49:12 +00:00
Georg Brandl 83ebf383d7 #4521: fix getcwdu() vs getcwdb(). 2008-12-04 18:21:46 +00:00
Georg Brandl a2361d908e #4526: fix typo. 2008-12-04 18:19:41 +00:00
Fred Drake 9baee31a44 - fix markup error
- remove silly emoticon
2008-12-04 15:28:51 +00:00
Andrew M. Kuchling 2982c32a00 Wording change (flaunt -> disobey); markup fixes. The largest edit is to the paragraph on relative imports; please review. (Backport candidate) 2008-12-04 15:07:14 +00:00
Guido van Rossum 815427c481 Remove remark about NaN==NaN, I misunderstood that issue. 2008-12-03 15:24:50 +00:00
Raymond Hettinger ab4c51c2b3 Minor edits. 2008-12-03 15:04:01 +00:00
Christian Heimes 6e72b9e619 Fixed a warning on whatsnew/3.0.rst 2008-12-03 13:39:03 +00:00
Georg Brandl ffd1a759da Use the :mod: role. 2008-12-03 06:44:59 +00:00
Guido van Rossum 08388ef361 Some textual tweaks, and fixed a few typos found by a spell checker. 2008-12-03 05:39:28 +00:00
Guido van Rossum b768d4f759 Fix bad markup. 2008-12-03 04:18:17 +00:00
Guido van Rossum fedd14051b More cleanup. Moved all Unicode and str/bytes info to the text/data
subsection in common pitfalls, rather than spreading it out.  Made
this the last subsection of common pitfalls.  All XXX comments are now
gone.  I'm sure much is still missing, we'll have to clean that up
post 3.0.  At least all PEPs and all implemented items in PEP 3100
have at least one mention.
2008-12-03 04:15:35 +00:00
Guido van Rossum 67d75ba7e7 Another checkpoint.
(A bit of a mess, a previous submit apparently didn't go through.)
2008-12-03 02:31:31 +00:00
Guido van Rossum 3828768f45 Another checkpoint -- some stuff I managed to do on the train. 2008-12-03 02:03:19 +00:00
Guido van Rossum 7396135b90 Another checkpoint. 2008-12-03 00:54:52 +00:00
Gregory P. Smith f3655c439d interators -> iterators (thanks Taggnostr) 2008-12-02 23:52:53 +00:00
Guido van Rossum c46ee546ee Finished what I'm going to write about the standard library. 2008-12-02 23:46:46 +00:00
Guido van Rossum 56076dab76 Finished the "porting to 3.0" section. Had to add a label to
howto/cporting.rst.
2008-12-02 22:58:36 +00:00
Guido van Rossum 715287f12f Another checkpoint. More XXXes added...
Also add some labels to 2.6.rst and howto/unicode.rst so I can refer
to them.  (Somehow a label named 'module-contextlib' couldn't be
referenced -- why???)
2008-12-02 22:34:15 +00:00
Guido van Rossum 5b78dd9fad Another checkpoint to switch machines. 2008-12-02 17:31:14 +00:00
Walter Dörwald eab34c954d Add missing bracket. 2008-12-02 11:58:09 +00:00
Walter Dörwald a443856935 Fix typo. 2008-12-02 11:55:30 +00:00
Benjamin Peterson cc163bb5db fix markup 2008-12-02 01:12:04 +00:00
Guido van Rossum eb3d8d4665 Checkpoint. Added some stuff. Mostly XXX notes for myself. :-) 2008-12-02 00:56:25 +00:00
Georg Brandl b66708741a #4372: add bullet point for __cmp__ removal. 2008-11-22 08:35:59 +00:00
Guido van Rossum 4a98a2a57b A few tiny improvements that I had sitting in an edit buffer. More to come.
Much, much more. :-)
2008-11-21 18:35:43 +00:00
Benjamin Peterson f10a79aad4 merge from trunk 2008-10-11 00:49:57 +00:00
Gregory P. Smith 7b9a222f1b Mention that bsddb is gone and include a link to jcea's website where
it is being maintained.
2008-09-04 05:07:03 +00:00
Raymond Hettinger 6a883844a2 Fix spelling. 2008-07-22 19:27:12 +00:00
Mark Summerfield 9557f60f91 - removed sentence about the new free format floating-point representation
since I believe that's been abandoned.
- added __round__() to datamodel page's list of numeric special methods.
2008-07-01 14:42:30 +00:00
Georg Brandl e06de8b3cc #2762: remove 2.x remnants and patch up some new documentation. 2008-05-05 21:42:51 +00:00
Benjamin Peterson a2f837f751 Document the fact that '\U' and '\u' escapes are not treated specially in 3.0 (see issue 2541) 2008-04-28 21:05:10 +00:00
Georg Brandl 67b8cad16a Clarify xrange() entry. 2008-04-09 07:32:07 +00:00
Trent Nelson 428de65ca9 - Issue #719888: Updated tokenize to use a bytes API. generate_tokens has been
renamed tokenize and now works with bytes rather than strings. A new
  detect_encoding function has been added for determining source file encoding
  according to PEP-0263. Token sequences returned by tokenize always start
  with an ENCODING token which specifies the encoding used to decode the file.
  This token is used to encode the output of untokenize back to bytes.

Credit goes to Michael "I'm-going-to-name-my-first-child-unittest" Foord from Resolver Systems for this work.
2008-03-18 22:41:35 +00:00
Georg Brandl 0327e60dc1 Clarification. 2008-02-18 22:20:55 +00:00
Kurt B. Kaiser 9d0d616c3b typo 2008-02-14 02:47:50 +00:00
Kurt B. Kaiser 2bc6b5eb36 Improve formatting for arg names in previous checkin. 2008-02-13 18:03:11 +00:00
Kurt B. Kaiser a140101216 list.sort() and builtin.sorted() no longer accept 'cmp' argument. 2008-02-13 16:09:27 +00:00
Georg Brandl ec17d204f9 Update whatsnew document to use specific markup for identifiers, thus enabling cross-linking. 2008-02-02 10:44:37 +00:00
Georg Brandl 396ef80f0d Some new 3.0 whatsnew items, written for GHOP by Andreas Freund. 2008-02-02 10:30:18 +00:00
Walter Dörwald 32f523ee94 Fix typo. 2008-01-25 11:33:18 +00:00
Christian Heimes bad17e7b17 Added comment about sys.maxint to whatsnew. Issue #1930 2008-01-25 11:10:11 +00:00
Christian Heimes f534f7b74a Document that basestring has been replaced by str. Issue #1931. 2008-01-25 11:02:28 +00:00
Georg Brandl 7274858234 Fix markup. 2008-01-20 10:59:44 +00:00
Georg Brandl cc595bd546 #1571: clarify removal of ``L`` suffix from long int repr. 2007-12-09 09:04:01 +00:00
Christian Heimes f78b1c6573 I've moved the remains of PyInt_ to the longobject.h header file and removed the inclusing of intobject.h from Python.h. Now the intobject.h exists only to provide some aliases for porters from Python 2.x. 2007-12-02 16:52:32 +00:00
Guido van Rossum 98297ee781 Merging the py3k-pep3137 branch back into the py3k branch.
No detailed change log; just check out the change log for the py3k-pep3137
branch.  The most obvious changes:

  - str8 renamed to bytes (PyString at the C level);
  - bytes renamed to buffer (PyBytes at the C level);
  - PyString and PyUnicode are no longer compatible.

I.e. we now have an immutable bytes type and a mutable bytes type.

The behavior of PyString was modified quite a bit, to make it more
bytes-like.  Some changes are still on the to-do list.
2007-11-06 21:34:58 +00:00
Guido van Rossum dff1c31fb4 In response to issue 1101, place vastly more emphasis on the new print()
function.
2007-09-06 14:46:41 +00:00
Guido van Rossum afe0cd194f Correction an issue reported by Mark Summerfeld. 2007-09-04 16:23:16 +00:00