ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> types-sig
types-sig
RE: [Types-sig] Re: documenting Python constraints on types
by Tim Peters other posts by this author
Jun 1 2001 8:11PM messages near this date
RE: [Types-sig] Re: documenting Python constraints on types | Re: [Types-sig] Re: documenting Python constraints on types
[Jeremy Hylton]
>  What's a sequence then?  If you say anything that PySequence_Check()
>  says okay for, then there is almost no code that accepts a sequence.

?  Isn't that backwards?  PySequence_Check() says "yes" to every instance,
and in 2.2 even says "yes" to dictionaries too (because Guido filled in
PyDict_Type's tp_as_sequence slot in order to get at sq_contains).
Thread:
Frederic Giacometti
Jeremy Hylton
Tim Peters
Tim Peters
Jeremy Hylton

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved