...Python 2.1.1 (final) ?
The following bugs were fixed:
[ #441664 ] Python crash on del of a slice of a mmap
[ #438050 ] configure doesn't look for poll.h in sys
[ #437487 ] 2.1 build on Solaris fails if CC is set
[ #441527 ] unixccompiler preprocessor broken
What's New in Python 2.1.1c1 ?
Python 2.1.1 comes with the new, GPL-compatible PSF licence.
Several insecurities in dict comparison as well as a scoping bug,
that could lead to the Python interpreter crashing were fixed.
Python should ...
Python Success Stories
First published in Linux Journal, May 2000.
Copyright 2000 Specialized Systems Consultants, Inc. All rights reserved.
My first look at Python was an accident, and I didn't much like what I
saw at the time. It was early 1997, and Mark Lutz's book Programming
Python from O'Reilly & Associates had recently come out. O'Reilly books
occasionally land on my doorstep, selected from among the new releases
by some mysterious benefactor inside the organization u...
...Python identifier, not a string.
The East Asian word for ten looks like a plus sign,
so 十= 10 is a complete Python statement. (The “十” is a word: “ten”
rather than “10”.)
The converse also applies – some symbols look like letters – but since
Python does not allow arbitrary symbols in identifiers, this is not an
Numeric literals in Python only use the ASCII digits 0-9 (and non-digits such
as . or e).
However, when numbers are converted from strings, such as in ...
argparse in IPython
argparse in Debian
(1, 2) 2007-01-03 request for argparse in the standard library
2009-06-09 request for argparse in the standard library
BDFL-Delegate:Guido van Rossum <guido at python.org>
Post-History:01-Mar-2019, 16-Oct-2019, 02-Dec-2019, 04-Feb-2020,
showing people comparison operators etc. in the interactive shell,
I think this is a bit ugly:
>>> a = 13
>>> b = 12
>>> a > b
If this was:
>>> a > b
it would require a millisecond less thinking each time a 0 or 1
There's also the issue (which I've seen baffling even experienced
Pythonistas who had been away from the language for a while) that
if you see:
>>> cmp(a, b)
...Python-2.1.2 | gzip -9 > Python-2.1.2.tgz
% tar -cf - Python-2.1.2 | bzip2 -9 > Python-2.1.2.tar.bz2
Calculate the MD5 checksum of the tgz and tar.bz2 files you
% md5sum Python-2.1.2.tgz
Note that if you don't have the md5sum program, there is a
Python replacement in the Tools/scripts/md5sum.py file.
Create GPG keys for each of the files.
% gpg -ba Python-2.1.2.tgz
% gpg -ba Python-2.1.2.tar.bz2
% gpg -ba Python-2.1.2.exe
Now you want to perform the very important step...
"path module v1.0 released", Orendorff, 2003
"Some RFE for review", Birkenfeld, 2005
"path module", Orendorff, 2003
"PRE-PEP: new Path class", Roth, 2004
setuptools, the de facto Python package build system
flit, a simple way to put packages in PyPI
PyPI, the Python Package Index
Shellvars, an implementation of shell variable rules for Python.
The kick-off thread.
...Python 3.4 repository and released with Python 3.4-alpha-4, with
"provisional" API status. This is an expression of confidence and
intended to increase early feedback on the API, and not intended to
force acceptance of the PEP. The expectation is that the package will
keep provisional status in Python 3.4 and progress to final status in
Python 3.5. Development continues to occur primarily in the Tulip
repo, with changes occasionally merged into the CPython repo.
Python 3.3 is r...
...Python Library Reference - String formatting operations
Python Library References - Template strings
[Python-3000] String formatting operations in python 3k
Composite Formatting - [.Net Framework Developer's Guide]
Language reference for imports
This document has been placed in the public domain.
Avoid locals() and globals()
String literal description
Start of python-ideas discussion
...pythonw" that runs your script
with an interpreter living in such a .app bundle, this interpreter should
be used to run any Python script using the window manager (including
Tkinter or wxPython scripts).
Most of Mac/Lib has moved to Lib/plat-mac, which is again used both in
MacPython-OSX and MacPython-OS9. The only modules remaining in Mac/Lib
are specifically for MacPython-OS9 (CFM support, preference resources, etc).
A new utility PythonLauncher will start a Python interpreter when a .py ...
Here is a spurious collection of semi to totally unserious stuff,
mostly postings found wafting gently in the comp.lang.python
newsgroup (a.k.a. the python-list mailing
See also Andrew Kuchling's collection of Python quotations, containing in a
condensed form some sterling examples of the wit and wisdom
encountered in the Python world.
The Zen of Python
Shooting Yourself in the Foot
Python vs Tcl vs Perl5
Python Object Orie...
Python 3.5 running on Linux kernel 3.17+ can block at startup or on
importing the random module on getrandom()
"import random" blocks on entropy collection on Linux with low entropy
os.urandom() doesn't block on Linux anymore
Proposal to add os.getrandom()
Discussion thread 3 (python-dev)
Discussion thread 4 (python-dev)
Discussion thread 5 (python-dev)
pip/requests certificate management concerns
Discussions-To:python-dev at python.org
Pattern Matching and OO
Patterns and Functional Style
Overview and Terminology
The Match Statement
...Python and Python-related application. Question was somewhat unclear, but clarified that screenshots of Python interpreter and the like are not in any way protected by PSF, though any code displayed within a shell might belong to someone else.
November 2012. Tom Rouse <tom.rouse at aol.co.uk> inquired about nominative use of word mark and logo on a website code-python.com. No objections from TC.
November 2012. Chris Wayne <chris.wayne at canonical.com> inquired about using Python l...