Timeline for Checking which pypi packages are Py3k-only
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 26, 2012 at 0:16 | comment | added | Winston Ewert | @Tshepang, ` py2names = [name[0] for classifier in PY2 for name in client.browse([classifier])]` | |
Jan 25, 2012 at 22:07 | comment | added | Winston Ewert |
@Tshepang, yes that's the idea. But you'd be better off to use a list literal instead of the append lines to build PY2 you might also consider using a nested list comprehension in the fetch.
|
|
Jan 25, 2012 at 21:10 | vote | accept | tshepang | ||
Jan 25, 2012 at 14:59 | comment | added | Winston Ewert | @Tshepang, yes on the first comment, not if you do it properly on the second comment. I didn't expressly state how to do it, but you can go through the list, pass each element to the client.browse() one at a time, and then combine the lists. | |
Jan 25, 2012 at 11:20 | comment | added | tshepang | BTW, with your suggested change to put all Python 2 classifiers in one list, the only modules that get excluded are those which match all the Python 2 classifiers. That is, my output includes a lot of packages that also have Python 2 versions. | |
Jan 25, 2012 at 11:17 | comment | added | tshepang |
I think you meant py3only = [name for name in py3names if name not in py2names] ?
|
|
Jan 24, 2012 at 19:49 | history | answered | Winston Ewert | CC BY-SA 3.0 |