Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [Python-Dev] [RELEASED] Python 3.3.0

123 views
Skip to first unread message

Amit Saha

unread,
Sep 29, 2012, 8:23:49 AM9/29/12
to Georg Brandl, pytho...@python.org, python-...@python.org, pytho...@python.org
On Sat, Sep 29, 2012 at 10:18 PM, Georg Brandl <ge...@python.org> wrote:
> 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

Redirects to http://docs.python.org/py3k/whatsnew/3.3.html: 404 Not Found.

Cheers,
Amit.

--
http://echorand.me

Dave Angel

unread,
Sep 29, 2012, 8:37:16 AM9/29/12
to Amit Saha, pytho...@python.org, python-...@python.org, Georg Brandl, pytho...@python.org
On 09/29/2012 08:23 AM, Amit Saha wrote:
> On Sat, Sep 29, 2012 at 10:18 PM, Georg Brandl <ge...@python.org> wrote:
>> <snip>
>>
>> For a more extensive list of changes in 3.3.0, see
>>
>> http://docs.python.org/3.3/whatsnew/3.3.html
> Redirects to http://docs.python.org/py3k/whatsnew/3.3.html: 404 Not Found.
>
>
Works for me. Perhaps a momentary glitch.



--

DaveA

Amit Saha

unread,
Sep 29, 2012, 8:45:45 AM9/29/12
to d...@davea.name, pytho...@python.org, python-...@python.org, Georg Brandl, pytho...@python.org
Yes, I clicked too soon, i guess..

-Amit.
--
http://echorand.me

Hans Mulder

unread,
Sep 29, 2012, 9:02:06 AM9/29/12
to
On 29/09/12 14:23:49, Amit Saha wrote:
> On Sat, Sep 29, 2012 at 10:18 PM, Georg Brandl <ge...@python.org> wrote:
>> On behalf of the Python development team, I'm delighted to announce the
>> Python 3.3.0 final release.

Thank you!!!

>> For a more extensive list of changes in 3.3.0, see
>>
>> http://docs.python.org/3.3/whatsnew/3.3.html
>
> Redirects to http://docs.python.org/py3k/whatsnew/3.3.html: 404 Not Found.

Somebody has fixed it.

-- HansM




Eli Bendersky

unread,
Sep 29, 2012, 9:24:46 AM9/29/12
to Georg Brandl, pytho...@python.org, python-...@python.org, pytho...@python.org
On Sat, Sep 29, 2012 at 5:18 AM, Georg Brandl <ge...@python.org> wrote:
> On behalf of the Python development team, I'm delighted to announce the
> Python 3.3.0 final release.
>

Yay :)

Ramchandra Apte

unread,
Sep 29, 2012, 9:28:04 AM9/29/12
to Georg Brandl, pytho...@python.org, python-...@python.org
+1

Ramchandra Apte

unread,
Sep 29, 2012, 9:28:04 AM9/29/12
to comp.lan...@googlegroups.com, pytho...@python.org, python-...@python.org, Georg Brandl
On Saturday, 29 September 2012 18:55:36 UTC+5:30, eliben wrote:
+1

Stefan Behnel

unread,
Sep 29, 2012, 9:37:45 AM9/29/12
to pytho...@python.org
Georg Brandl, 29.09.2012 14:18:
> On behalf of the Python development team, I'm delighted to announce the
> Python 3.3.0 final release.
> [...]
> * PEP 380, syntax for delegating to a subgenerator ("yield from")

Ah, you're so late! Cython has shipped its implementation almost a month
ago! ;)

Stefan


Ramchandra Apte

unread,
Sep 29, 2012, 9:43:14 AM9/29/12
to pytho...@python.org
Where did Cython get shipped to?
LOL

Andriy Kornatskyy

unread,
Sep 29, 2012, 9:42:09 AM9/29/12
to ge...@python.org, pytho...@python.org

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: ge...@python.org
> To: python-...@python.org; pytho...@python.org; pytho...@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")
> 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

Ramchandra Apte

unread,
Sep 29, 2012, 9:43:14 AM9/29/12
to comp.lan...@googlegroups.com, pytho...@python.org
On Saturday, 29 September 2012 19:08:25 UTC+5:30, Stefan Behnel wrote:

Paul Moore

unread,
Sep 29, 2012, 9:51:28 AM9/29/12
to Eli Bendersky, pytho...@python.org, python-...@python.org, Georg Brandl, pytho...@python.org
On 29 September 2012 14:24, Eli Bendersky <eli...@gmail.com> wrote:
> On Sat, Sep 29, 2012 at 5:18 AM, Georg Brandl <ge...@python.org> wrote:
>> On behalf of the Python development team, I'm delighted to announce the
>> Python 3.3.0 final release.
>>
>
> Yay :)

Agreed - this is a really nice release, thanks to all who put it together.
Paul

Christian Heimes

unread,
Sep 29, 2012, 10:06:10 AM9/29/12
to pytho...@python.org
Am 29.09.2012 15:42, schrieb Andriy Kornatskyy:
>
> 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.

Yes, it's caused by the hash randomization. From now on you can't rely
on the order of an unordered type like dict or set. You could replace d
with sorted(d.items()).

Christian


Stefan Behnel

unread,
Sep 29, 2012, 10:17:51 AM9/29/12
to pytho...@python.org
Christian Heimes, 29.09.2012 16:06:
> From now on you can't rely
> on the order of an unordered type like dict or set.

Tautologies tend to be true even without a temporal qualification.

Stefan


Chris Angelico

unread,
Sep 29, 2012, 10:25:02 AM9/29/12
to pytho...@python.org
Technically people shouldn't ever have relied on the order, but until
hash randomization came in, the order in CPython was actually
predictable - for a given set of dictionary operations, the internal
structure was determinate, and the consequent iteration order would be
consistent. Now that that's no longer the case, "unordered" really
means "unordered", and the order can change from one run of a program
to another.

So it may be a tautology in theory, but not in practice..... until
now. Truth has become true.

ChrisA

pyt...@bdurham.com

unread,
Sep 29, 2012, 11:14:18 AM9/29/12
to pytho...@python.org, python-...@python.org, Georg Brandl, pytho...@python.org
> Agreed - this is a really nice release, thanks to all who put it together.

+1

Thank you!
Malcolm

Georg Brandl

unread,
Sep 30, 2012, 9:19:50 AM9/30/12
to pytho...@python.org, pytho...@python.org
On 09/29/2012 06:53 PM, Antoine Pitrou wrote:
>
> Hello,
>
> I've created a 3.3 category on the buildbots:
> http://buildbot.python.org/3.3/
> http://buildbot.python.org/3.3.stable/
>
> Someone will have to update the following HTML page:
> http://python.org/dev/buildbot/

Should be done now.

Georg


0 new messages