Tag: cpython

62 votes
6 answers
1.1K views
What are some strategies to write python code that works in CPython, Jython and IronPython

Having tries to target two of these environments at the same time I can safely say the if you have to use a da

avatar
Hildegard
0 1 0 9
asked 07 September, 2021
54 votes
5 answers
1.6K views
Using NumPy and Cpython with Jython

I must use a commercial Java library, and would like to do it from Python. Jython is robust and I am fine with

avatar
Nereida
0 1 0 9
asked 07 September, 2021
56 votes
6 answers
2.5K views
Migrating from CPython to Jython

I'm considering moving my code (around 30K LOC) from CPython to Jython, so that I could have better integ

avatar
Benton
0 1 0 9
asked 07 September, 2021
60 votes
7 answers
1.9K views
Boolean identity == True vs is True

It is standard convention to use if foo is None rather than if foo == None to test if a value is specifically

avatar
Cortez
0 1 0 9
asked 07 September, 2021
57 votes
6 answers
2.3K views
How is set() implemented?

I've seen people say that set objects in python have O(1) membership-checking. How are they implemented i

avatar
Dusty
0 1 0 9
asked 07 September, 2021