'AnsiTerm' object has no attribute 'buffer'

Gary E. Miller gem at rellim.com
Wed Jan 30 04:17:06 UTC 2019


Yo Matthew!

On Wed, 30 Jan 2019 03:56:13 +0000
Matthew Selsky <Matthew.Selsky at twosigma.com> wrote:

THis is weird:

> > https://secure-web.cisco.com/1zPMHyXmnA2gt7hRrEsrSfZlzlA9KP9LRUJ4l78jZyR9GyKASS4D4Dl-imylIypoW9cc27We390WVl4SPRE3J_6Z2Jsb7lGG4CG4ZpjxYVazLDCnE0eGyB3V1F4w6Mlgh40QjP2R5ujoYRdjSoZ-PQRZqpcZKZdTGaX55WaccmEL4SzVxaN2r4W5E3TAmtnTcAbk3xFihp1z6LKJgjgNlTy0wyKvKzfIcRJyFmR9rpyuO4BZ9X8R3GL01Vxn2CI6rOb6Wqmbq5UCmL5WAOELjzA/https%3A%2F%2Fgitlab.com%2Fesr%2Fpractical-python-porting%2Fblob%2Fmaster%2Fpolystr-inclusion.py

That is NOT the link I sent!  Someone's email is messing with links!

Why would something called "secure-web" be doing non-secure things???

I'm not sure whose email did that, but not mine...

> > > It can probably be worked around by prefixing the build command
> > > with "NOSYNC=1", which disables waf's AnsiTerm hackery.  
> > 
> > That worked.  Thanks!    
> 
> Is this a waf bug, or a 'Practical Python Porting' bug?

I think it is a 'Practical Python Porting' bug.  The python
man page, cited earlier, says that what that code does is not
always going to work.

> Btw, I tried to reproduce this failure with 3.5.6, 3.6.7, and 3.7.1,

For me 3.6.6 works, but not 3.6.5.  But it may be something else
as one is Gentoo Stable, and the other is Gentoo Unstable.

> Do you have any tips for reproducing?

I just flipped between different Pythons until it works/fails.

Here is my script:

./waf clean
./waf configure --refclock=all --enable-doc && \
./waf build  && \
./waf install


RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190129/2048db71/attachment.bin>


More information about the devel mailing list