[Python-3000] Python 3.0 - what's new

Oleg Broytmann phd at phd.pp.ru
Thu Dec 4 12:29:04 CET 2008


http://docs.python.org/dev/3.0/whatsnew/3.0.html

> os.getcwdu() returns the current working directory as a bytes instance

   getcwdb(), I suppose?

> New binary literals, e.g. 0b1010 (already in 2.6).
> Bytes literals are introduced with a leading b or B, and there is a new
> corresponding builtin function, bin().

   I think, the last sentence should say "builtin function, bytes()", and
bin() should be mentioned in the previous entry about binary literals.

   It seems there are a few conversion errors like this:
> The only acceptable syntax for relative imports is from .``[*module*] :keyword:`import` *name*; :keyword:`import`
   Seems like bacticks are not handled properly.

   Can I also ask to move Table of Content to the beginning for text-mode
browsers (lynx/links/elinks)?

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-3000 mailing list