python-peps/pep-3099.txt

90 lines
2.2 KiB
Plaintext
Raw Normal View History

PEP: 3099
Title: Things that will Not Change in Python 3000
Version: $Revision$
Last-Modified: $Date$
Author: Georg Brandl <g.brandl@gmx.net>
Status: Draft
Type: Informational
Content-Type: text/x-rst
Created: 04-Apr-2006
Abstract
========
This PEP tries to list all BDFL pronouncements on Python 3000 that
refer to changes that will not happen and new features that will not
be introduced, sorted by topics, along with a short explanation or a
reference to the relevant thread on the python-3000 mailing list.
Core language
=============
* Python will not have programmable syntax.
Thread: "It's a statement! It's a function! It's BOTH!",
http://mail.python.org/pipermail/python-3000/2006-April/000286.html
* There won't be a syntax for ``zip()``-style parallel iteration.
Thread: "Parallel iteration syntax",
http://mail.python.org/pipermail/python-3000/2006-March/000210.html
2006-04-27 05:47:03 -04:00
* Strings will stay iterable.
Thread: "Making strings non-iterable",
http://mail.python.org/pipermail/python-3000/2006-April/000759.html
2006-04-27 06:13:55 -04:00
* There will be no syntax to sort the result of a generator expression
or list comprehension. ``sorted()`` covers all use cases.
Thread: "Adding sorting to generator comprehension",
http://mail.python.org/pipermail/python-3000/2006-April/001295.html
2006-04-04 13:50:24 -04:00
Builtins
========
* ``hash()`` won't become an attribute since attributes should be cheap
to compute, which isn't necessarily the case for a hash.
2006-04-04 13:50:24 -04:00
Thread: "hash as attribute/property",
http://mail.python.org/pipermail/python-3000/2006-April/000362.html
Standard types
==============
* Iterating over a dictionary will continue to yield the keys.
Thread: "Iterating over a dict",
http://mail.python.org/pipermail/python-3000/2006-April/000283.html
Coding style
============
* The (recommended) maximum line width will remain 80 characters,
for both C and Python code.
Thread: "C style guide",
http://mail.python.org/pipermail/python-3000/2006-March/000131.html
Copyright
=========
This document has been placed in the public domain.
..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
sentence-end-double-space: t
fill-column: 70
coding: utf-8
End: