Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...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. Introduction 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”.) Note The converse also applies – some symbols look like letters – but since Python does not allow arbitrary symbols in identifiers, this is not an issue. Confusable Digits 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 ...
...python.org/library/getopt.html) [3]optparse (http://docs.python.org/library/optparse.html) [4]argparse in IPython (http://mail.scipy.org/pipermail/ipython-dev/2009-April/005102.html) [5]argparse in Debian (http://packages.debian.org/search?keywords=argparse) [6](1, 2) 2007-01-03 request for argparse in the standard library (https://mail.python.org/pipermail/python-list/2007-January/472276.html) [7]2009-06-09 request for argparse in the standard library (http://bugs.pytho...
...python.org> BDFL-Delegate:Guido van Rossum <guido at python.org> Status:Final Type:Standards Track Created:01-Mar-2019 Python-Version:3.9 Post-History:01-Mar-2019, 16-Oct-2019, 02-Dec-2019, 04-Feb-2020, 17-Feb-2020 Resolution:https://mail.python.org/archives/list/python-dev@python.org/thread/6KT2KIOTYXMDCD2CCAOLOI7LUGTN6MBS Contents Abstract Motivation dict.update {**d1, **d2} collections.ChainMap dict(d1, **d2) Rationale Specification Reference Implementation Major Objec...
...Python. When showing people comparison operators etc. in the interactive shell, I think this is a bit ugly: >>> a = 13 >>> b = 12 >>> a > b 1 >>> If this was: >>> a > b True >>> it would require a millisecond less thinking each time a 0 or 1 was printed. 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) 1 >>&g...
...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 just created % 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...
...python.org/pipermail/python-dev/2001-August/016663.html [3]"path module v1.0 released", Orendorff, 2003 https://mail.python.org/pipermail/python-announce-list/2003-January/001984.html [4]"Some RFE for review", Birkenfeld, 2005 https://mail.python.org/pipermail/python-dev/2005-June/054438.html [5]"path module", Orendorff, 2003 https://mail.python.org/pipermail/python-list/2003-July/174289.html [6]"PRE-PEP: new Path class", Roth, 2004 https://mail.python.org/pipermail/python-li...
...Python packages (http://pip.readthedocs.org/en/stable/) [2]setuptools, the de facto Python package build system (https://pythonhosted.org/setuptools/) [3]flit, a simple way to put packages in PyPI (http://flit.readthedocs.org/en/latest/) [4]PyPI, the Python Package Index (https://pypi.python.org/) [5]Shellvars, an implementation of shell variable rules for Python. (https://github.com/testing-cabal/shellvars) [6]The kick-off thread. (https://mail.python.org/pipermail/dist...
...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. Dependencies Python 3.3 is r...
...Python Library Reference - String formatting operations http://docs.python.org/library/stdtypes.html#string-formatting-operations [2]Python Library References - Template strings http://docs.python.org/library/string.html#string.Template [3][Python-3000] String formatting operations in python 3k https://mail.python.org/pipermail/python-3000/2006-April/000285.html [4]Composite Formatting - [.Net Framework Developer's Guide] http://msdn.microsoft.com/library/en-us/cpguide/html/cpconc...
...python.org/issue652586 [10]Language reference for imports http://docs.python.org/3/reference/import.html [11]importlib documentation http://docs.python.org/3/library/importlib.html#module-importlib Copyright This document has been placed in the public domain. Source: https://github.com/python/peps/blob/master/pep-0302.txt
...python.org/pipermail/python-ideas/2015-July/034671.html) [5]Avoid locals() and globals() (https://mail.python.org/pipermail/python-ideas/2015-July/034701.html) [6]String literal description (https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals) [7]ast.parse() documentation (https://docs.python.org/3/library/ast.html#ast.parse) [8]Start of python-ideas discussion (https://mail.python.org/pipermail/python-ideas/2015-July/034657.html) [9]Wikip...
...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 ...
Python Humor 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 list). 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. Contents The Zen of Python Fundamental... Cute Wabbit Shooting Yourself in the Foot Legal Issues Python vs Tcl vs Perl5 Python Object Orie...
...python.org/issue22181) [2]Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom() (http://bugs.python.org/issue26839) [3]"import random" blocks on entropy collection on Linux with low entropy (http://bugs.python.org/issue25420) [4]os.urandom() doesn't block on Linux anymore (https://hg.python.org/cpython/rev/9de508dc4837) [5]Proposal to add os.getrandom() (http://bugs.python.org/issue26839#msg267803) [6]Add os.urando...
...python.org/pipermail/distutils-sig/2013-September/022702.html) [3]Discussion thread 3 (python-dev) (https://mail.python.org/pipermail/python-dev/2013-September/128723.html) [4]Discussion thread 4 (python-dev) (https://mail.python.org/pipermail/python-dev/2013-September/128780.html) [5]Discussion thread 5 (python-dev) (https://mail.python.org/pipermail/python-dev/2013-September/128894.html) [6]pip/requests certificate management concerns (https://mail.python.org/pipermail/pyth...
...python.org> BDFL-Delegate: Discussions-To:python-dev at python.org Status:Final Type:Informational Created:12-Sep-2020 Python-Version:3.10 Post-History:22-Oct-2020, 08-Feb-2021 Resolution:https://mail.python.org/archives/list/python-committers@python.org/message/SQC2FTLFV5A7DV7RCEAR2I2IKJKGK7W3 Contents Abstract Motivation Pattern Matching and OO Patterns and Functional Style Rationale Overview and Terminology The Match Statement Match Semantics Guards Patterns AS Patterns O...
...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...