jaredly / jaredly/css

error in pypi package: AttributeError: type object 'ClassHolder' has no attribute 'start'

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
17
Forks
2
PR merge metrics
No merged PRs in 30d

Description

After grabbing codetalker from github and css from pypi:

> Python 2.7 (r27:82500, Sep 29 2010, 23:01:31)
> [GCC 4.5.1 20100924 (Red Hat 4.5.1-4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> # from css import css
>
> Traceback (most recent call last):
> File "", line 1, in
> File "/home/sirpengi/virtualenv/zanderloo/lib/python2.7/site-packages/css/**init**.py", line 2, in
> from grammar import grammar, t as css
> File "/home/sirpengi/virtualenv/zanderloo/lib/python2.7/site-packages/css/grammar.py", line 64, in
> @t.translates(ast.start)
> AttributeError: type object 'ClassHolder' has no attribute 'start'

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Python 2.7 import using the css package from PyPI and the codetalker version from GitHub. Inspect css/__init__.py and css/grammar.py, especially the ast.start reference at grammar.py line 64; done means importing css no longer raises this AttributeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.