A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-September/017386.html below:

[Python-Dev] CVS tree doesn't build currently

[Python-Dev] CVS tree doesn't build currentlyTim Peters tim.one@home.com
Mon, 3 Sep 2001 15:57:24 -0400
[Jack Jansen]
> I can't build from the CVS tree right now (confirmed on Irix and OSX):
> setup.py crashes. Here's the stacktrace:
>
> CC='cc' LDSHARED='ld  -shared -all' ./python -E ./setup.py build
> Traceback (most recent call last):
>   File "./setup.py", line 708, in ?
>     main()
>   File "./setup.py", line 702, in main
>     scripts = ['Tools/scripts/pydoc']
>   File "/ufs/jack/src/python/Lib/distutils/core.py", line 101, in setup
>     _setup_distribution = dist = klass(attrs)
>   File"/ufs/jack/src/python/Lib/distutils/dist.py", line 129, in __init__
>     setattr(self, method_name, getattr(self.metadata, method_name))
> AttributeError: DistributionMetadata instance has no attribute
> 'get___doc__'

Unless I miss my bet, Neil fixed this now, and it was due to that
dir(instance) now returns the attributes of instance.__class__ in addition
to the keys in instance.__dict__.  Most relevant here, that means
dir(instance) now contains '__doc__' (really an attribute of its class) but
didn't before (and dist starting synthesizing a non-existent "get"+"__doc__"
method name as a consequence).




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4