jaredly / jaredly/css

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

オープン
#2 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
17
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

説明

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'

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。