Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #30494

RE: [RELEASED] Python 3.3.0

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <andriy.kornatskyy@live.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'exception': 0.03; 'package,': 0.03; 'syntax': 0.03; 'subject:Python': 0.05; '"""': 0.05; 'attribute': 0.05; 'context': 0.05; '"__main__":': 0.07; '__name__': 0.07; 'doctest': 0.07; 'parsing': 0.07; 'api': 0.09; 'python': 0.09; '(it': 0.09; 'namespace': 0.09; 'okay': 0.09; 'pep': 0.09; 'porting': 0.09; 'release,': 0.09; 'release.': 0.09; 'sep': 0.09; 'url:releases': 0.09; 'sfxlen:2': 0.10; 'sat,': 0.15; '3.3.': 0.16; 'b=2)': 0.16; 'clocks': 0.16; 'crashes': 0.16; 'delegating': 0.16; 'delighted': 0.16; 'distinction': 0.16; 'hierarchy': 0.16; 'literals': 0.16; 'modules,': 0.16; 'posix': 0.16; 'suppressing': 0.16; 'url:whatsnew': 0.16; 'wrappers': 0.16; "{'a':": 0.16; 'string': 0.17; 'module,': 0.17; 'switched': 0.17; 'unicode': 0.17; 'team,': 0.18; '>>>': 0.18; 'memory': 0.18; 'subject:] ': 0.19; 'windows': 0.19; 'module': 0.19; 'changes': 0.20; '+0200': 0.20; 'are:': 0.20; 'to:name:python-list@python.org': 0.20; 'skip:- 40': 0.21; 'import': 0.21; 'earlier': 0.21; '(on': 0.22; '2.x': 0.22; '3.x': 0.22; 'explicit': 0.22; 'to:2**1': 0.23; 'header': 0.24; 'url:bugs': 0.24; 'header:In-Reply-To:1': 0.25; 'skip:" 20': 0.26; '(see': 0.27; 'bugs': 0.27; 'core': 0.27; 'environment': 0.29; 'dictionary': 0.29; 'hash': 0.29; 'releases,': 0.29; 'date:': 0.29; 'url:mailman': 0.29; 'url:download': 0.29; 'class': 0.29; "i'm": 0.29; 'classes': 0.30; 'framework': 0.30; 'saves': 0.30; 'code': 0.31; 'url:python': 0.32; 'url:listinfo': 0.32; 'from:addr:live.com': 0.33; 'to:addr:python-list': 0.33; 'list': 0.35; 'adds': 0.35; 'something': 0.35; 'subject:': 0.36; 'url:org': 0.36; 'announce': 0.36; 'email addr:python.org': 0.36; 'useful': 0.36; 'skip:p 20': 0.36; 'python.org': 0.37; 'virtual': 0.37; 'unit': 0.38; 'from:': 0.38; 'easier': 0.38; 'object': 0.38; 'url:docs': 0.38; 'to:addr:python.org': 0.39; 'release': 0.39; 'skip:" 10': 0.40; 'help': 0.40; 'url:mail': 0.40; 'qualified': 0.60; 'range': 0.60; 'email name:python-list': 0.62; 'improved': 0.62; 'policy': 0.62; 'visit:': 0.62; 'between': 0.63; 'helps': 0.63; 'production': 0.63; 'series': 0.63; 'more': 0.63; 'improvements': 0.65; 'url:0': 0.67; 'diagnosing': 0.84; 'email name:python-dev': 0.84; 'python-dev': 0.84; 'total,': 0.91; 'charset:windows-1251': 0.97
X-Originating-IP [213.130.16.2]
From Andriy Kornatskyy <andriy.kornatskyy@live.com>
To <georg@python.org>, "python-list@python.org" <python-list@python.org>
Subject RE: [RELEASED] Python 3.3.0
Date Sat, 29 Sep 2012 16:42:09 +0300
Importance Normal
In-Reply-To <5066E72E.2010100@python.org>
References <5066E72E.2010100@python.org>
Content-Type text/plain; charset="windows-1251"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-OriginalArrivalTime 29 Sep 2012 13:42:09.0182 (UTC) FILETIME=[38D353E0:01CD9E48]
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1625.1348926196.27098.python-list@python.org> (permalink)
Lines 106
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1348926196 news.xs4all.nl 6847 [2001:888:2000:d::a6]:35812
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:30494

Show key headers only | View raw


The following doctest fails with python3.3 (it is okay for python2.4-2.7, 3.2).

class adict(dict):                                                                                            
    """                                                                                                      
        >>> d = adict(a=1, b=2)                                                                              
        >>> d                                                                                                
        {'a': 1, 'b': 2}                                                                                      
    """                                                                                                      
                                                                                                             
if __name__ == "__main__":                                                                                    
    import doctest                                                                                            
    doctest.testmod() 

Please advise if that is something known.

Andriy


----------------------------------------
> Date: Sat, 29 Sep 2012 14:18:54 +0200
> From: georg@python.org
> To: python-announce@python.org; python-dev@python.org; python-list@python.org
> Subject: [RELEASED] Python 3.3.0
>
> On behalf of the Python development team, I'm delighted to announce the
> Python 3.3.0 final release.
>
> Python 3.3 includes a range of improvements of the 3.x series, as well
> as easier porting between 2.x and 3.x. Major new features and changes
> in the 3.3 release series are:
>
> * PEP 380, syntax for delegating to a subgenerator ("yield from")
> * PEP 393, flexible string representation (doing away with the
> distinction between "wide" and "narrow" Unicode builds)
> * A C implementation of the "decimal" module, with up to 120x speedup
> for decimal-heavy applications
> * The import system (__import__) now based on importlib by default
> * The new "lzma" module with LZMA/XZ support
> * PEP 397, a Python launcher for Windows
> * PEP 405, virtual environment support in core
> * PEP 420, namespace package support
> * PEP 3151, reworking the OS and IO exception hierarchy
> * PEP 3155, qualified name for classes and functions
> * PEP 409, suppressing exception context
> * PEP 414, explicit Unicode literals to help with porting
> * PEP 418, extended platform-independent clocks in the "time" module
> * PEP 412, a new key-sharing dictionary implementation that
> significantly saves memory for object-oriented code
> * PEP 362, the function-signature object
> * The new "faulthandler" module that helps diagnosing crashes
> * The new "unittest.mock" module
> * The new "ipaddress" module
> * The "sys.implementation" attribute
> * A policy framework for the email package, with a provisional (see
> PEP 411) policy that adds much improved unicode support for email
> header parsing
> * A "collections.ChainMap" class for linking mappings to a single unit
> * Wrappers for many more POSIX functions in the "os" and "signal"
> modules, as well as other useful functions such as "sendfile()"
> * Hash randomization, introduced in earlier bugfix releases, is now
> switched on by default
>
> In total, almost 500 API items are new or improved in Python 3.3.
> For a more extensive list of changes in 3.3.0, see
>
> http://docs.python.org/3.3/whatsnew/3.3.html
>
> To download Python 3.3.0 visit:
>
> http://www.python.org/download/releases/3.3.0/
>
> This is a production release, please report any bugs to
>
> http://bugs.python.org/
>
>
> Enjoy!
>
> --
> Georg Brandl, Release Manager
> georg at python.org
> (on behalf of the entire python-dev team and 3.3's contributors)
> --
> http://mail.python.org/mailman/listinfo/python-list
 		 	   		  

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

RE: [RELEASED] Python 3.3.0 Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-09-29 16:42 +0300

csiph-web