From 9f0f4ed77c731bb16cc7ee775dd3bca8a207c788 Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Sun, 25 Feb 2007 22:54:58 +0000 Subject: [PATCH] Update warn-for-py3k list after review of py3k changelist. --- pep-0361.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pep-0361.txt b/pep-0361.txt index 98f190e62..4b6f98c62 100644 --- a/pep-0361.txt +++ b/pep-0361.txt @@ -102,6 +102,7 @@ Possible features for 2.6 * float args to PyArgs_ParseTuple * float args to xrange * coerce and all its friends + * comparing by default comparison * __cmp__? * other comparison changes? * int division? @@ -110,9 +111,18 @@ Possible features for 2.6 * using zip() result as a list * input() * apply() - * xreadlines + * reduce() + * the exec statement (use function syntax) + * file.xreadlines * function attributes that start with func_* (should use __*__) * softspace removal for print() function + * the L prefix for long literals + * removal of the sets module + * renaming of __nonzero__ to __bool__ + * multiple inheritance with classic classes? (MRO might change) + * properties and classic classes? (instance attrs shadow property) + + - use __bool__ method if available and there's no __nonzero__ - with/as will be keywords