Python 2 (legacy)

GPTKB entity

Statements (64)
Predicate Object
gptkbp:instanceOf gptkb:programming_language
gptkbp:developer gptkb:Python_Software_Foundation
gptkbp:discontinued true
2020-01-01
gptkbp:finalReleaseVersion 2.7.18
https://www.w3.org/2000/01/rdf-schema#label Python 2 (legacy)
gptkbp:influenced gptkb:Python_3
many modern scripting languages
gptkbp:influencedBy gptkb:Java
gptkb:Lisp
gptkb:Perl
gptkb:Modula-3
gptkb:ABC_(programming_language)
gptkb:C_(programming_language)
gptkbp:license gptkb:Python_Software_Foundation_License
gptkbp:notableFeature integer division returns integer
no f-strings
no type annotations
print is a statement
unicode support is limited
no built-in async/await
no built-in f-strings
no built-in lru_cache
no built-in matrix multiplication operator
no built-in secrets module
no built-in statistics module
no built-in typing module
no matrix multiplication operator
no nonlocal keyword
no pathlib module
no yield from
old-style and new-style classes
no async/await
no built-in with statement for open files by default
no built-in asyncio module
no built-in dataclasses module
no built-in enum module
no built-in memoryview
no built-in nonlocal keyword
no built-in pathlib module
no built-in yield from
no built-in zip_longest
no comprehensions for sets and dictionaries
no with statement for open files by default
raw_input function
xrange function
no built-in comprehensions for sets and dictionaries
gptkbp:notableRelease 2.0
2.7
gptkbp:paradigm object-oriented programming
functional programming
imperative programming
procedural programming
gptkbp:partOf gptkb:Python_(programming_language)
gptkbp:platform Cross-platform
gptkbp:predecessor gptkb:Python_1
gptkbp:releaseDate 2000-10-16
2020-04-20
gptkbp:successor gptkb:Python_3
gptkbp:typingDiscipline dynamic typing
duck typing
gptkbp:website https://www.python.org/doc/legacy/
gptkbp:bfsParent gptkb:setuptools
gptkbp:bfsLayer 7