pypi / support

Issue tracker for support requests related to using https://pypi.org
94 stars 48 forks source link

PEP 541 Request: as #3081

Open ilixindri opened 1 year ago

ilixindri commented 1 year ago

Project to be claimed

as: https://pypi.org/project/as

Your PyPI username

alexandrogonsan: https://pypi.org/user/alexandrogonsan

Reasons for the request

The name "as" is just the package name and not a library name so it doesn't impact the python infrastructure because python also doesn't have any package named as as in fact the as is a key inside python but as informed the as is just a package name and not the module name so you don't use a package with import as but with import module.

Maintenance or replacement?

None

Source code repositories URLs

There are currently no packages named "as" and the repository of the package I want to put in "as" is https://github.com/ilixindri/libpy.

Contact and additional research

There are currently no packages named "as" however "as" is an inappropriately reserved name that I come here to ask for as my repository name.

Code of Conduct

DanielNoord commented 1 year ago
>>> as = "1"
  File "<stdin>", line 1
    as = "1"
    ^^
SyntaxError: invalid syntax

as is a reserved keyword for import ... as .... I don't think this should or will be released and suggest closing the issue.

zanieb commented 1 year ago

I agree I don't see why you would release this with a library name that differs from the package name and as seems like something that could be easily installed by mistake.