-
-
Notifications
You must be signed in to change notification settings - Fork 54
Change names of ast* modules #18
Comments
|
Let's decide whether we want to rename ast27 -> ast2 as well, or whether we'll stick with that -- in the latter case we can close this issue. |
FYI, currently the source tarball of 1.0.1 contains both ast2.py and ast27.py which makes the bundled tests fail (there's no _ast2, just _ast27). |
That's unfortunate. Will PyPI let me upload a fixed sdist if I remove the old one? |
Not a .tar.gz. Fortunately, there's a trick.
|
Oh, and FWIW my opinion on the matter is to leave the name "ast27", unless GvR is secretly planning to release 2.8 ;) The point of "ast3" is forward-compatibility, not backwards-compatibility, right? |
Well we did move the typeshed subdirs to 2 (from 2.7) to save typing and
for consistency with 3.
…--Guido (mobile)
On Feb 22, 2017 4:29 PM, "Łukasz Langa" ***@***.***> wrote:
Oh, and FWIW my opinion on the matter is to leave the name "ast27", unless
GvR is secretly planning to release 2.8 ;) The point of "ast3" is
forward-compatibility, not backwards-compatibility, right?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACwrMh0WsS7Gs0nKSHjKY-lWCGpNZMjyks5rfO8EgaJpZM4KIR0e>
.
|
@ambv: Fixed using that trick, thanks. |
When changing the names of the modules, please consider moving them out the common namespace, i.e. moving them to |
This happened a while ago |
Note that this hasn't happened yet -- IIUC this is asking to rename the extension modules from toplevel |
Instead of adding a new
ast3x
module for every new Python version, we're now planning on updating theast35
module with the Python changes. Accordingly, theast27
andast35
modules should probably be renamed toast2
andast3
, respectively.The text was updated successfully, but these errors were encountered: