Skip to content

super call on FrozenList seems broken #13789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kayibal opened this issue Jul 25, 2016 · 1 comment
Closed

super call on FrozenList seems broken #13789

kayibal opened this issue Jul 25, 2016 · 1 comment
Labels
Duplicate Report Duplicate issue or pull request

Comments

@kayibal
Copy link

kayibal commented Jul 25, 2016

This seems like a bug to me. Can't really figure out why this is happening. Calling sys.getsizeof on a FrozenList returns TypeError: must be type, not FrozenList

Code Sample, a copy-pastable example if possible

from pandas.core.base import FrozenList
import sys

fl = FrozenList()
sys.getsizeof(fl)

Expected Output

Some Integer

output of pd.show_versions()

INSTALLED VERSIONS
------------------
commit: None
python: 3.4.3.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-74-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8

pandas: 0.18.0
nose: 1.3.7
pip: 8.1.2
setuptools: 19.7
Cython: 0.24
numpy: 1.11.0
scipy: 0.17.0
statsmodels: None
xarray: None
IPython: 4.1.1
sphinx: 1.4.1
patsy: None
dateutil: 2.5.2
pytz: 2016.3
blosc: None
bottleneck: None
tables: 3.2.2
numexpr: 2.5.2
matplotlib: 1.5.1
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: 1.0.11
pymysql: 0.7.4.None
psycopg2: None
jinja2: 2.8
boto: 2.39.0
@jorisvandenbossche
Copy link
Member

Thanks for reporting. This is already fixed in master and will be in 0.19.0. See #12924

@jorisvandenbossche jorisvandenbossche added the Duplicate Report Duplicate issue or pull request label Jul 25, 2016
@jorisvandenbossche jorisvandenbossche added this to the No action milestone Jul 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate Report Duplicate issue or pull request
Projects
None yet
Development

No branches or pull requests

2 participants