[Python-3000] The grand renaming
Georg Brandl
g.brandl at gmx.net
Mon Dec 31 07:46:43 CET 2007
Christian Heimes schrieb:
> Python 3.0a2 is out and some people are working on backports of Python
> 3.0 features to 2.6. Shouldn't we start to rename the new API functions
> and files to their final names before we back merge code to 2.6?
>
> I'm proposing to change the names and files as following. I'm willing to
> make the necessary changes myself.
>
> API methods:
> PyUnicode - keep the name
> PyBytes - PyByteArray
> PyString - PyBytes
> PyBuffer - PyMemoryView
>
> Files:
> bytesobject.[ch] - bytearrayobject.[ch]
> memoryobject.[ch] - memoryviewobject.[ch]
> stringobject.[ch] - bytesobject.[ch]
Also for this list:
classobject -> methodobject
Georg
--
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.
More information about the Python-3000
mailing list