[Python-Dev] import screwiness (original) (raw)

Tim Peters tim.peters at gmail.com
Thu Jul 6 07:55:01 CEST 2006


[Neal]

Then later on we do PyStringGETSIZE and PyStringASSTRING. That doesn't work, does it? What am I missing?

[Tim]

The conceptual type of the object returned by PyUnicodeEncode().

[Neal]

Phew, I sure am glad I was missing that. :-)

I saw as the first line in PyUnicodeEncode that it was creating a unicode string. I then went to look at PyStringEncode and saw the same. There I realized that the string created initially wasn't the string returned (it's the object from AsEncodedString). Which naturally tells me what you just did. Thanks.

Good! You're welcome.

Now can you fix testsubprocess hanging? :-)

Sure: break it on Windows and I'll fix it tonight :-)

Please, I'll even buy you lunch and a coke at the sprints at Google. You are coming, right?

Sorry, doesn't look like it. I'm living on investment income this year, and the markets haven't been kind so far -- I don't want to go more in the hole than is truly necessary. I even switched from Campbell's soup to the store generic brand last week ;-)



More information about the Python-Dev mailing list