Search code examples
str.__getslice__ is not working as expected with negative stop...


pythonstringpython-2.7indexingpython-internals

Read More
Python Strings are immutable so why does s.split( ) return a list of new strings...


pythonstringsplitpython-internals

Read More
Implementation specific behavior of `groupby` and argument unpacking...


pythonpypypython-internals

Read More
Improving performance of very large dictionary in Python...


pythonperformancedictionaryhashtablepython-internals

Read More
Set Popping (Python)...


pythonalgorithmsethashtablepython-internals

Read More
Integer object identity test: inconsistent behavior between large positive and small negative intege...


pythonpython-internals

Read More
Where to find python source code for built in open()...


pythonpython-internals

Read More
Why two objects created in same line are having same objects but this is not same with lists?...


pythonpython-internals

Read More
Why does hash(None) change across different platforms and in different calls?...


pythonhashpython-internals

Read More
Does CPython implement the mentioned optimizations from PEP 380?...


pythonpython-3.xcpythonpython-internalsyield-from

Read More
How Python dictionaries are executed?...


pythondictionaryinputpython-internals

Read More
How does __slots__ avoid a dictionary lookup?...


pythonslotspython-internals

Read More
What does "del sys.modules[module]" actually do?...


pythonmodulesyspython-internals

Read More
Python's Passing by References...


pythonliteralspython-internals

Read More
Why is a sorted list bigger than an unsorted list...


pythonlistpython-3.xsortingpython-internals

Read More
Why can't I use inspect.getsource() to view the source for list?...


pythonlistintrospectionpython-internals

Read More
Understanding memory allocation for large integers in Python...


pythonpython-3.xintpython-internals

Read More
why python dict update insanely slow?...


pythonperformancedictionarycpythonpython-internals

Read More
Why is checking isinstance(something, Mapping) so slow?...


pythonpython-internals

Read More
What is the free list (that PyDict_ClearFreeList refers to)?...


pythondictionarypython-c-apipython-internals

Read More
When to use `<>` and `!=` operators?...


pythonpython-2.7python-3.xcomparison-operatorspython-internals

Read More
Why is __getitem__ called in Python 3.5 but not in Python 2.7?...


pythonpython-2.7python-3.xpython-3.5python-internals

Read More
How to call tempfile.mkstemp() with "with"? - or why doesn't it return an fd with __ex...


pythonwith-statementtemporary-filespython-internals

Read More
Can I speedup an iterable class when I know it's length in advance?...


pythonperformancepython-internals

Read More
String character identity paradox...


pythonstringpython-internals

Read More
Which standard library modules are required to run the Python 3.5 interpreter?...


pythonpython-3.xpython-3.5python-internalspython-embedding

Read More
Multiple assignment with Numpy arrays and lists, a curious example...


pythonnumpyassignment-operatorpython-internals

Read More
How is sorted(key=lambda x:) implemented behind the scene?...


pythonsortinglambdapython-internals

Read More
python 3.5 type hints: can i check if function arguments match type hints?...


pythonpython-internalspython-3.5

Read More
Why is 'new_file += line + string' so much faster than 'new_file = new_file + line + str...


pythonstringstring-concatenationcpythonpython-internals

Read More
BackNext