summaryrefslogtreecommitdiff
path: root/PEP.txt
blob: 3395c7fdb9b4a890a415500379e7d55c1670184f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"""
Abstract

    Python currently has powerful primitives to construct multi-threaded
    applications but parallelizing simple functions requires a lot of
    setup work i.e. explicitly launching threads, constructing a
    work/results queue, and waiting for completion or some other
    termination condition (e.g. exception, success). It is also hard to
    manage the global . This PEP proposes the addition 


    Python currently distinguishes between two kinds of integers
    (ints): regular or short ints, limited by the size of a C long
    (typically 32 or 64 bits), and long ints, which are limited only
    by available memory.  When operations on short ints yield results
    that don't fit in a C long, they raise an error.  There are some
    other distinctions too.  This PEP proposes to do away with most of
    the differences in semantics, unifying the two types from the
    perspective of the Python user.


Abstract

    
"""