Re: [Python-Dev] PEP 407: New release cycle and introducing long-term support versions

2012-01-17 Thread Georg Brandl
Am 18.01.2012 01:24, schrieb Jeff Hardy: > On Tue, Jan 17, 2012 at 3:50 PM, Ezio Melotti wrote: >> * What is the effect on PyPy/Jython/IronPython? Can they just skip the >> feature releases and focus on the LTS ones? > > At least for IronPython it's unlikely we'd be able track the feature > rele

Re: [Python-Dev] PEP 407: New release cycle and introducing long-term support versions

2012-01-17 Thread Georg Brandl
Am 18.01.2012 00:50, schrieb Ezio Melotti: > Hi, > > On 17/01/2012 22.34, Antoine Pitrou wrote: >> [...] >> >> Proposal >> >> >> Under the proposed scheme, there would be two kinds of feature >> versions (sometimes dubbed "minor versions", for example 3.2 or 3.3): >> normal feature versio

Re: [Python-Dev] PEP 407: New release cycle and introducing long-term support versions

2012-01-18 Thread Georg Brandl
Am 18.01.2012 16:25, schrieb Stephen J. Turnbull: > Antoine Pitrou writes: > > > You claim people won't use stable releases because of not enough > > alphas? That sounds completely unrelated. > > Surely testing is related to user perceptions of stability. More > testing helps reduce bugs in r

Re: [Python-Dev] PEP 407 / splitting the stdlib

2012-01-18 Thread Georg Brandl
Am 18.01.2012 18:56, schrieb Brett Cannon: > IOW we would have a language moratorium every 2 years (i.e. between LTS > releases) while switching to a 6 month release cycle for language/VM bugfixes > and full stdlib releases? That is certainly a possibility (it's listed as an open issue in the PEP

Re: [Python-Dev] PEP 407: New release cycle and introducing long-term support versions

2012-01-19 Thread Georg Brandl
Am 19.01.2012 01:12, schrieb Steven D'Aprano: > One on-going complaint is that Python-Dev doesn't have the manpower or time > to > do everything that needs to be done. Bugs languish for months or years > because > nobody has the time to look at it. Will going to a more rapid release cycle > g

Re: [Python-Dev] Counting collisions for the win

2012-01-20 Thread Georg Brandl
Am 20.01.2012 19:15, schrieb Guido van Rossum: > OTOH, if you change dictionary order and *that* breaks the application, > then > the bugs submitted to the application's tracker will be legitimate bugs > that > have to be fixed even if nothing else changed. > > > There are lots of

Re: [Python-Dev] PEP 407: New release cycle and introducing long-term support versions

2012-01-20 Thread Georg Brandl
Am 20.01.2012 00:54, schrieb "Martin v. Löwis": >> I can't help noticing that so far, worries about the workload came mostly >> from >> people who don't actually bear that load (this is no accusation!), while >> those >> that do are the proponents of the PEP... > > Ok, so let me add then that I'

Re: [Python-Dev] PEP 407: New release cycle and introducing long-term support versions

2012-01-20 Thread Georg Brandl
Am 20.01.2012 21:08, schrieb Tim Golden: > On 20/01/2012 19:14, Georg Brandl wrote: >> Am 20.01.2012 00:54, schrieb "Martin v. Löwis": >>>> I can't help noticing that so far, worries about the workload came mostly >>>> from >>>> peo

Re: [Python-Dev] exception chaining

2012-01-20 Thread Georg Brandl
Am 20.01.2012 21:05, schrieb Ethan Furman: > Benjamin Peterson wrote: >> 2012/1/20 Ethan Furman : >>> Summary: >>> >>> Exception Chaining is cool, unless you are writing libraries that want to >>> transform from Exception X to Exception Y as the the previous exception >>> context is unnecessary, po

Re: [Python-Dev] 2.7 now uses Sphinx 1.0

2012-01-20 Thread Georg Brandl
Am 20.01.2012 20:05, schrieb Chris Withers: > On 14/01/2012 16:14, Sandro Tosi wrote: >> Hello, >> just a heads-up: documentation for 2.7 branch has been ported to use >> sphinx 1.0, so now the same syntax can be used for 2.x and 3.x >> patches, hopefully easying working on both python stacks. > >

Re: [Python-Dev] exception chaining

2012-01-23 Thread Georg Brandl
Am 23.01.2012 15:49, schrieb Łukasz Langa: [graphics] > Pomyśl o środowisku naturalnym zanim wydrukujesz tę wiadomość! > Please consider the environment before printing out this e-mail. Oh please?! Georg ___ Python-Dev mailing list Python-Dev@python.o

Re: [Python-Dev] devguide: Use -j0 to maximimze parallel execution.

2012-01-24 Thread Georg Brandl
Am 24.01.2012 18:58, schrieb brett.cannon: > http://hg.python.org/devguide/rev/a34e4a6b89dc > changeset: 489:a34e4a6b89dc > user:Brett Cannon > date:Tue Jan 24 12:58:01 2012 -0500 > summary: > Use -j0 to maximimze parallel execution. > > files: > runtests.rst | 2 +- > 1 f

Re: [Python-Dev] plugging the hash attack

2012-01-28 Thread Georg Brandl
Am 28.01.2012 02:19, schrieb Benjamin Peterson: > Hello everyone, > In effort to get a fix out before Perl 6 goes mainstream, Barry and I > have decided to pronounce on what we want for our stable releases. > What we have decided is that > 1. Simple hash randomization is the way to go. We think thi

Re: [Python-Dev] PEP for allowing 'raise NewException from None'

2012-01-29 Thread Georg Brandl
Am 29.01.2012 08:42, schrieb Ethan Furman: > Benjamin Peterson wrote: >> 2012/1/26 Ethan Furman : >>> PEP: XXX >> >> Congratulations, you are now PEP 409. > > Thanks, Benjamin! > > So, how do I make changes to it? Please send PEP updates to the PEP editors at p...@python.org. Georg __

Re: [Python-Dev] Store timestamps as decimal.Decimal objects

2012-01-30 Thread Georg Brandl
Am 31.01.2012 00:50, schrieb Matt Joiner: > Sounds good, but I also prefer Alexander's method. The type information is > already encoded in the class object. This way you don't need to maintain a > mapping of strings to classes, and other functions/third party can join in the > fun without needing

Re: [Python-Dev] Python 3 optimizations, continued, continued again...

2012-01-30 Thread Georg Brandl
Am 30.01.2012 20:06, schrieb stefan brunthaler: >> Do you have a public repository for the code, so we can take a look? >> > I have created a patch (as Benjamin wanted) and put all of the > resources (i.e., benchmark results and the patch itself) on my home > page: > http://www.ics.uci.edu/~sbrunt

Re: [Python-Dev] Store timestamps as decimal.Decimal objects

2012-01-31 Thread Georg Brandl
Am 31.01.2012 13:08, schrieb Victor Stinner: >> This way you don't need to maintain a >> mapping of strings to classes, and other functions/third party can join in >> the fun without needing access to the latest canonical mapping. Lastly there >> will be no confusion or contention for duplicate ke

Re: [Python-Dev] Python 3 optimizations, continued, continued again...

2012-01-31 Thread Georg Brandl
Am 31.01.2012 16:46, schrieb stefan brunthaler: >> If I read the patch correctly, most of it is auto-generated (and there >> is probably a few spurious changes that blow it up, such as the >> python-gdb.py file). > > Hm, honestly I don't know where the python-gdb.py file comes from, I > thought it

Re: [Python-Dev] peps: Update with bugfix releases.

2012-02-05 Thread Georg Brandl
Am 06.02.2012 00:01, schrieb Barry Warsaw: > On Feb 05, 2012, at 02:25 PM, Benjamin Peterson wrote: > >>The reason 3.2.3 is so soon is the need to patch the hash collision attack. > > Also remember that we are coordinating releases between several versions of > Python for this issue, some of whic

Re: [Python-Dev] How to round timestamps and durations?

2012-02-14 Thread Georg Brandl
Am 13.02.2012 13:59, schrieb Victor Stinner: > Hi, > > My work on the PEP 410 tries to unify the code to manipulate > timestamps. The problem is that I'm unable to decide how to round > these numbers. > > Functions using a resolution of 1 second (e.g. time.mktime) expects > rounding towards zero

Re: [Python-Dev] PEP 410 (Decimal timestamp): the implementation is ready for a review

2012-02-16 Thread Georg Brandl
Am 16.02.2012 11:14, schrieb "Martin v. Löwis": > Am 16.02.2012 10:51, schrieb Victor Stinner: >> 2012/2/16 "Martin v. Löwis" : Maybe an alternative PEP could be written that supports the filesystem copying use case only, using some specialized ns APIs? I really think that all you ne

Re: [Python-Dev] PEP 410 (Decimal timestamp): the implementation is ready for a review

2012-02-17 Thread Georg Brandl
Am 17.02.2012 10:28, schrieb Steven D'Aprano: > Georg Brandl wrote: >> Am 16.02.2012 11:14, schrieb "Martin v. Löwis": >>> Am 16.02.2012 10:51, schrieb Victor Stinner: >>>> 2012/2/16 "Martin v. Löwis" : >>>>>> Maybe an alt

Re: [Python-Dev] cpython: add generic implementation of a __dict__ descriptor for C types

2012-02-19 Thread Georg Brandl
Am 20.02.2012 02:04, schrieb benjamin.peterson: > http://hg.python.org/cpython/rev/78f93eb7dd75 > changeset: 75050:78f93eb7dd75 > user:Benjamin Peterson > date:Sun Feb 19 19:59:10 2012 -0500 > summary: > add generic implementation of a __dict__ descriptor for C types > > files

Re: [Python-Dev] cpython (2.7): use set

2012-02-20 Thread Georg Brandl
Am 21.02.2012 05:13, schrieb benjamin.peterson: > http://hg.python.org/cpython/rev/98732d20b6d1 > changeset: 75112:98732d20b6d1 > branch: 2.7 > user:Benjamin Peterson > date:Mon Feb 20 23:11:19 2012 -0500 > summary: > use set > > files: > Lib/re.py | 5 + > 1 file

Re: [Python-Dev] PEP 413: Faster evolution of the Python Standard Library

2012-02-24 Thread Georg Brandl
Am 24.02.2012 18:46, schrieb Antoine Pitrou: > > Hello, > > On Sat, 25 Feb 2012 03:24:27 +1000 > Nick Coghlan wrote: >> To allow the PEP 407 authors to focus on making the case for doing >> full CPython releases every 6 months (including language spec >> updates), I've created PEP 413 as a compe

Re: [Python-Dev] PEP 413: Faster evolution of the Python Standard Library

2012-02-25 Thread Georg Brandl
On 02/25/2012 05:55 PM, Antoine Pitrou wrote: > On Fri, 24 Feb 2012 19:23:36 +0100 > Georg Brandl wrote: >> >> > I also think the branches and releases management should be even >> > simpler: >> > >> > - 2.7: as today >> > - 3.3:

Re: [Python-Dev] cpython (3.2): Issue #14123: Explicitly mention that old style % string formatting has caveats

2012-02-26 Thread Georg Brandl
On 02/26/2012 10:13 PM, Nick Coghlan wrote: On Mon, Feb 27, 2012 at 5:23 AM, Eli Bendersky wrote: It would be nice to call it something else than "printf-style formatting". While it is certainly modelled on printf(), knowledge of C or printf is not required to understand %-style formatting

Re: [Python-Dev] Add a frozendict builtin type

2012-02-29 Thread Georg Brandl
On 01.03.2012 02:45, Raymond Hettinger wrote: > > On Feb 29, 2012, at 4:23 PM, Victor Stinner wrote: > >> One of my colleagues implemented recently its own frozendict class >> (which the "frozendict" name ;-) > > I write new collection classes all the time. > That doesn't mean they warrant inclu

[Python-Dev] [RELEASED] Python 3.3.0 alpha 1

2012-03-04 Thread Georg Brandl
s such as "sendfile()" 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/ Please consider trying Python 3.3.0a1 with your code and reporting any bugs you

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

2012-03-06 Thread Georg Brandl
On 05.03.2012 14:27, Ned Batchelder wrote: For a more extensive list of changes in 3.3.0, see http://docs.python.org/3.3/whatsnew/3.3.html The 3.3 whatsnews page doesn't seem to mention PEP 414 or Unicode literals at all. Indeed. Thanks to Nick, this is now fixed. Georg ___

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

2012-03-06 Thread Georg Brandl
On 07.03.2012 08:08, Stefan Behnel wrote: Jim J. Jewett, 06.03.2012 20:43: Hash Randomization (issue 13703) is now on by default. Unfortunately, this does break some tests; it can be temporarily turned off by setting the environment variable PYTHONHASHSEED to "0" before launching python. I

Re: [Python-Dev] 2012 Language Summit Report

2012-03-14 Thread Georg Brandl
On 14.03.2012 15:12, Brian Curtin wrote: As with last year, I've put together a summary of the Python Language Summit which took place last week at PyCon 2012. This was compiled from my notes as well as those of Eric Snow and Senthil Kumaran, and I think we got decent coverage of what was said th

Re: [Python-Dev] cpython: PEP 417: Adding unittest.mock

2012-03-14 Thread Georg Brandl
On 14.03.2012 20:25, michael.foord wrote: http://hg.python.org/cpython/rev/2fda048ee32a changeset: 75632:2fda048ee32a user:Michael Foord date:Wed Mar 14 12:24:34 2012 -0700 summary: PEP 417: Adding unittest.mock files: Lib/unittest/mock.py | 215

Re: [Python-Dev] cpython: Issue #14200: Idle shell crash on printing non-BMP unicode character.

2012-03-14 Thread Georg Brandl
On 14.03.2012 21:46, andrew.svetlov wrote: diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py --- a/Lib/idlelib/rpc.py +++ b/Lib/idlelib/rpc.py @@ -196,8 +196,12 @@ return ("ERROR", "Unsupported message type: %s" % how) except SystemExit: raise +

Re: [Python-Dev] cpython (3.1): - rename configure.in to configure.ac

2012-03-15 Thread Georg Brandl
On 15.03.2012 17:33, Matthias Klose wrote: On 15.03.2012 11:31, Antoine Pitrou wrote: On Wed, 14 Mar 2012 23:27:24 +0100 matthias.klose wrote: http://hg.python.org/cpython/rev/55ab7a272f0a changeset: 75659:55ab7a272f0a branch: 3.1 parent: 75199:df3b2b5db900 user:Mat

Re: [Python-Dev] cpython: Issue #10278: Add an optional strict argument to time.steady(), False by default

2012-03-17 Thread Georg Brandl
On 03/15/2012 01:17 AM, victor.stinner wrote: > http://hg.python.org/cpython/rev/27441e0d6a75 > changeset: 75672:27441e0d6a75 > user:Victor Stinner > date:Thu Mar 15 01:17:09 2012 +0100 > summary: > Issue #10278: Add an optional strict argument to time.steady(), False by > def

Re: [Python-Dev] cpython (3.2): 3.2 explain json.dumps for non-string keys in dicts. closes issue6566. Patch

2012-03-17 Thread Georg Brandl
On 03/17/2012 08:41 AM, senthil.kumaran wrote: > http://hg.python.org/cpython/rev/613919591a05 > changeset: 75778:613919591a05 > branch: 3.2 > parent: 75771:32d3ecacdabf > user:Senthil Kumaran > date:Sat Mar 17 00:40:34 2012 -0700 > summary: > 3.2 explain json.dumps f

Re: [Python-Dev] [Python-checkins] cpython (3.2): this stuff will actually be new in 3.2.4

2012-03-17 Thread Georg Brandl
On 03/17/2012 06:20 PM, Éric Araujo wrote: > Hi, > >> changeset: 509b222679e8 >> branch: 3.2 >> user:Benjamin Peterson >> date:Wed Mar 07 18:49:43 2012 -0600 >> summary: >> this stuff will actually be new in 3.2.4 > >> diff --git a/Misc/NEWS b/Misc/NEWS >> --- a/Misc/NEW

Re: [Python-Dev] cpython: Issue #10278: Add an optional strict argument to time.steady(), False by default

2012-03-17 Thread Georg Brandl
On 03/17/2012 09:47 PM, Michael Foord wrote: > > On 17 Mar 2012, at 08:49, Georg Brandl wrote: > >> On 03/15/2012 01:17 AM, victor.stinner wrote: >>> http://hg.python.org/cpython/rev/27441e0d6a75 changeset: >>> 75672:27441e0d6a75 user:Victor Stinner >

Re: [Python-Dev] cpython (2.6): Added tag v2.6.8rc2 for changeset bd9e1a02e3e3

2012-03-17 Thread Georg Brandl
On 03/18/2012 12:15 AM, Éric Araujo wrote: > Hi, > > Le 17/03/2012 19:03, Georg Brandl a écrit : >> On 03/17/2012 11:43 PM, Barry Warsaw wrote: >> I'm afraid it's the latter: tags are entries in .hgtags. So when you >> completely >> null-merge y

[Python-Dev] Playing with a new theme for the docs

2012-03-20 Thread Georg Brandl
Hi all, recently I've grown a bit tired of seeing our default Sphinx theme, especially as so many other projects use it. I decided to play around with something "clean" this time, and this is the result: http://www.python.org/~gbrandl/build/html/ The corresponding sandbox repo is at http:/

Re: [Python-Dev] Playing with a new theme for the docs

2012-03-20 Thread Georg Brandl
On 20.03.2012 23:45, Guido van Rossum wrote: > Nice and clean, but looks too similar to newer Google properties... > Also I see that (like Google) you're falling for the fallacy of using > less contrast. From an accessibility perspective that's questionable > -- and I don't mean the legally blind,

Re: [Python-Dev] Playing with a new theme for the docs

2012-03-20 Thread Georg Brandl
On 21.03.2012 00:17, R. David Murray wrote: > On Tue, 20 Mar 2012 23:38:53 +0100, Georg Brandl wrote: >> Hi all, >> >> recently I've grown a bit tired of seeing our default Sphinx theme, >> especially as so many other projects use it. I decided to play around >

Re: [Python-Dev] Playing with a new theme for the docs

2012-03-20 Thread Georg Brandl
On 21.03.2012 01:57, Raymond Hettinger wrote: > > On Mar 20, 2012, at 5:37 PM, Antoine Pitrou wrote: > >> Georg Brandl mailto:g.bra...@gmx.net>> wrote: >>> Hi all, >>> >>> recently I've grown a bit tired of seeing our default Sphinx theme

Re: [Python-Dev] Playing with a new theme for the docs

2012-03-21 Thread Georg Brandl
On 21.03.2012 20:39, Guido van Rossum wrote: >> Guido, you encouraged us to use science, but only after describing my >> science-based maximum line-length suggestion as "coddling," then said we >> should let Georg get on with it, but only after reiterating your personal >> favorite tweak (which I

Re: [Python-Dev] Playing with a new theme for the docs

2012-03-22 Thread Georg Brandl
On 22.03.2012 20:05, Russell E. Owen wrote: >> I like the overall design, but one thing seems to be missing is an >> overview of what Python is (hence what the page is about). Naturally we >> don't need that, but a one-line overview with a link to more information >> would be helpful. >> >> --

Re: [Python-Dev] [Python-checkins] cpython: Issue #7652: Integrate the decimal floating point libmpdec library to speed

2012-03-22 Thread Georg Brandl
On 21.03.2012 23:22, Victor Stinner wrote: >>> http://hg.python.org/cpython/rev/730d5357 >>> changeset: 75850:730d5357 >>> user:Stefan Krah >>> date:Wed Mar 21 18:25:23 2012 +0100 >>> summary: >>> Issue #7652: Integrate the decimal floating point libmpdec library to spee

[Python-Dev] Playing with a new theme for the docs, iteration 2

2012-03-24 Thread Georg Brandl
Here's another try, mainly with default browser font size, more contrast and collapsible sidebar again: http://www.python.org/~gbrandl/build/html2/ I've also added a little questionable gimmick to the sidebar (when you collapse it and expand it again, the content is shown at your current scroll l

Re: [Python-Dev] Playing with a new theme for the docs, iteration 2

2012-03-25 Thread Georg Brandl
On 25.03.2012 09:19, Ben Finney wrote: > Georg Brandl writes: > >> Here's another try, mainly with default browser font size, more >> contrast and collapsible sidebar again: >> >> http://www.python.org/~gbrandl/build/html2/ > > Great! You've impro

Re: [Python-Dev] Playing with a new theme for the docs, iteration 2

2012-03-25 Thread Georg Brandl
On 25.03.2012 17:26, Ned Batchelder wrote: > On 3/25/2012 2:34 AM, Georg Brandl wrote: >> Here's another try, mainly with default browser font size, more contrast and >> collapsible sidebar again: >> >> http://www.python.org/~gbrandl/build/html2/ > Georg

Re: [Python-Dev] Playing with a new theme for the docs, iteration 2

2012-03-25 Thread Georg Brandl
On 25.03.2012 10:06, Peter Otten wrote: > Georg Brandl wrote: > >> Here's another try, mainly with default browser font size, more contrast >> and collapsible sidebar again: >> >> http://www.python.org/~gbrandl/build/html2/ > > Nice! Lightweight

Re: [Python-Dev] Playing with a new theme for the docs, iteration 2

2012-03-25 Thread Georg Brandl
On 25.03.2012 17:54, Terry Reedy wrote: > On 3/25/2012 2:34 AM, Georg Brandl wrote: >> Here's another try, mainly with default browser font size, more contrast > > Untrue. You still changed the high contrast dark blue to the same low > contrast light blue for builtin name

Re: [Python-Dev] Playing with a new theme for the docs, iteration 2

2012-03-25 Thread Georg Brandl
On 25.03.2012 13:09, Stephen J. Turnbull wrote: > On Sun, Mar 25, 2012 at 11:04 AM, Stefan Krah wrote: > >> Do you mean a fixed search box like this one? >> >> http://coq.inria.fr/documentation >> >> Please don't do this, I find scrolling exceptionally distracting in the >> presence of fixed elem

Re: [Python-Dev] Playing with a new theme for the docs, iteration 2

2012-03-25 Thread Georg Brandl
On 25.03.2012 08:34, Georg Brandl wrote: > Here's another try, mainly with default browser font size, more contrast and > collapsible sidebar again: > > http://www.python.org/~gbrandl/build/html2/ > > I've also added a little questionable gimmick to the sidebar (w

Re: [Python-Dev] Playing with a new theme for the docs, iteration 2

2012-03-25 Thread Georg Brandl
On 25.03.2012 21:09, Matt Joiner wrote: > Not sure if you addressed this in your answers to other comments... > > Scroll down the page. Minimize the nav bar on the left. Bring it back > out again. Now the text in the nav bar permanently starts at an offset > from the top of the page. Yes, that wa

Re: [Python-Dev] Playing with a new theme for the docs, iteration 2

2012-03-25 Thread Georg Brandl
On 25.03.2012 21:11, Steven D'Aprano wrote: > Georg Brandl wrote: > >> Thanks everyone for the overwhelmingly positive feedback. I've committed the >> new design to 3.2 and 3.3 for now, and it will be live for the 3.3 docs >> momentarily (3.2 isn't rebui

Re: [Python-Dev] cpython: Adding unittest.mock documentation

2012-03-26 Thread Georg Brandl
On 26.03.2012 00:13, michael.foord wrote: > http://hg.python.org/cpython/rev/adc1fc2dc872 > changeset: 75938:adc1fc2dc872 > user:Michael Foord > date:Sun Mar 25 23:12:55 2012 +0100 > summary: > Adding unittest.mock documentation > > files: > Doc/library/development.rst

Re: [Python-Dev] PEP 418: Add monotonic clock

2012-03-27 Thread Georg Brandl
On 28.03.2012 06:45, Nick Coghlan wrote: > On Wed, Mar 28, 2012 at 10:36 AM, Victor Stinner > wrote: >> If QueryPerformanceCounter() is monotonic, the API can be simplified to: >> >> * time.time() = system clock >> * time.monotonic() = monotonic clock >> * time.hires() = monotonic clock or fall

[Python-Dev] [RELEASED] Python 3.3.0 alpha 1

2012-04-01 Thread Georg Brandl
ython.org/ Enjoy! (*) Please note that this document is usually finalized late in the release cycle and therefore may have stubs and missing entries at this point. - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and 3.3's cont

[Python-Dev] [RELEASED] Python 3.3.0 alpha 2

2012-04-01 Thread Georg Brandl
any bugs you may notice to: http://bugs.python.org/ Enjoy! (*) Please note that this document is usually finalized late in the release cycle and therefore may have stubs and missing entries at this point. - - -- Georg Brandl, Release Manager georg at python

Re: [Python-Dev] an alternative to embedding policy in PEP 418 (was: PEP 418: Add monotonic clock)

2012-04-04 Thread Georg Brandl
Am 04.04.2012 18:18, schrieb Ethan Furman: > Lennart Regebro wrote: >> On Tue, Apr 3, 2012 at 18:07, Ethan Furman wrote: >>> What's unclear about returning None if no clocks match? >> >> Nothing, but having to check error values on return functions are not >> what you typically do in Python. Usua

Re: [Python-Dev] cpython: use assertWarns instead of check_warnings - Issue14341

2012-04-11 Thread Georg Brandl
On 11.04.2012 17:06, senthil.kumaran wrote: http://hg.python.org/cpython/rev/751c7b81f6ee changeset: 76241:751c7b81f6ee parent: 76232:8a47d2322df0 user:Senthil Kumaran date:Wed Apr 11 23:05:49 2012 +0800 summary: use assertWarns instead of check_warnings - Issue14341 fi

Re: [Python-Dev] [RELEASED] Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3

2012-04-11 Thread Georg Brandl
On 12.04.2012 06:47, Terry Reedy wrote: On 4/11/2012 3:37 PM, Benjamin Peterson wrote: Downloads are at http://python.org/download/releases/2.6.8/ http://python.org/download/releases/2.7.3/ This page lists 'program databases' after the normal msi installers for Windows. I am puz

Re: [Python-Dev] importlib is now bootstrapped (and what that means)

2012-04-14 Thread Georg Brandl
On 14.04.2012 20:12, Brett Cannon wrote: My multi-year project -- started in 2006 according to my blog -- to rewrite import in pure Python and then bootstrap it into CPython as *the* implementation of __import__() is finally over (mostly)! Hopefully I didn't break too much code in the process. =)

Re: [Python-Dev] cpython: Rebuild importlib.h to incorporate added comments.

2012-04-15 Thread Georg Brandl
On 15.04.2012 14:53, Antoine Pitrou wrote: On Sun, 15 Apr 2012 03:50:06 +0200 brett.cannon wrote: http://hg.python.org/cpython/rev/6a77697d2a63 changeset: 76311:6a77697d2a63 user:Brett Cannon date:Sat Apr 14 21:18:48 2012 -0400 summary: Rebuild importlib.h to incorpora

Re: [Python-Dev] cpython: Issue #10576: Add a progress callback to gcmodule

2012-04-16 Thread Georg Brandl
On 15.04.2012 13:42, kristjan.jonsson wrote: http://hg.python.org/cpython/rev/88f8ef5785d7 changeset: 76319:88f8ef5785d7 user:Kristján Valur Jónsson date:Sun Apr 15 11:41:32 2012 + summary: Issue #10576: Add a progress callback to gcmodule files: Doc/library/gc.rst |

Re: [Python-Dev] cpython: Add documentation for the new PyErr_SetFromImport* functions

2012-04-16 Thread Georg Brandl
On 16.04.2012 22:14, brian.curtin wrote: http://hg.python.org/cpython/rev/5cc8b717b38c changeset: 76363:5cc8b717b38c user:Brian Curtin date:Mon Apr 16 15:14:36 2012 -0500 summary: Add documentation for the new PyErr_SetFromImport* functions files: Doc/c-api/exceptions.rst

Re: [Python-Dev] importlib is now bootstrapped (and what that means)

2012-04-16 Thread Georg Brandl
On 16.04.2012 18:15, R. David Murray wrote: On Mon, 16 Apr 2012 11:21:34 -0400, Brett Cannon wrote: On Mon, Apr 16, 2012 at 10:07, "Martin v. Löwis" wrote: > > We have other instances of this (e.g. the Objects/typeslots.inc file > > is generated and checked in), but in the case of imp

Re: [Python-Dev] Suggested addition to PEP 8 for context managers

2012-04-18 Thread Georg Brandl
On 18.04.2012 17:47, Chris Angelico wrote: On Thu, Apr 19, 2012 at 12:47 AM, Guido van Rossum wrote: I don't believe PEP 8 requires whitespace around all binary operators. Where do you read that? Quoting from http://www.python.org/dev/peps/pep-0008/#other-recommendations (with elision): Us

Re: [Python-Dev] cpython (2.7): #14538: HTMLParser can now parse correctly start tags that contain a bare /.

2012-04-24 Thread Georg Brandl
On 19.04.2012 03:36, ezio.melotti wrote: > http://hg.python.org/cpython/rev/36c901fcfcda > changeset: 76413:36c901fcfcda > branch: 2.7 > user:Ezio Melotti > date:Wed Apr 18 19:08:41 2012 -0600 > summary: > #14538: HTMLParser can now parse correctly start tags that contain

Re: [Python-Dev] cpython (2.7): #14538: HTMLParser can now parse correctly start tags that contain a bare /.

2012-04-24 Thread Georg Brandl
On 24.04.2012 20:34, Benjamin Peterson wrote: > 2012/4/24 Georg Brandl : >> On 19.04.2012 03:36, ezio.melotti wrote: >>> http://hg.python.org/cpython/rev/36c901fcfcda >>> changeset: 76413:36c901fcfcda >>> branch: 2.7 >>> user:Ezio Melot

Re: [Python-Dev] cpython (2.7): Issue #14448: mention pytz; patch by Andrew Svetlov

2012-04-25 Thread Georg Brandl
On 24.04.2012 19:48, sandro.tosi wrote: > http://hg.python.org/cpython/rev/e0e421133d0f > changeset: 76532:e0e421133d0f > branch: 2.7 > parent: 76527:22767284de99 > user:Sandro Tosi > date:Tue Apr 24 19:43:33 2012 +0200 > summary: > Issue #14448: mention pytz; patch b

Re: [Python-Dev] cpython (2.7): Issue #14448: mention pytz; patch by Andrew Svetlov

2012-04-25 Thread Georg Brandl
On 25.04.2012 19:21, Sandro Tosi wrote: > On Wed, Apr 25, 2012 at 11:55, Nick Coghlan wrote: >> On Wed, Apr 25, 2012 at 6:21 PM, Sandro Tosi wrote: >>> On Wed, Apr 25, 2012 at 09:37, Georg Brandl wrote: >>>> Also, I'm not sure everybody knows what the "

Re: [Python-Dev] Building against system expat

2012-04-25 Thread Georg Brandl
On 25.04.2012 15:42, Bohuslav Kabrda wrote: > Hi, I'm trying to build Python 3.2.3 against system expat library, that lies > out of the ordinary directory structure (under /opt). I also have an older > version of expat library in the system. No matter what shell variables or > options I pass to con

Re: [Python-Dev] Building against system expat

2012-04-25 Thread Georg Brandl
On 25.04.2012 20:44, Georg Brandl wrote: > On 25.04.2012 15:42, Bohuslav Kabrda wrote: >> Hi, I'm trying to build Python 3.2.3 against system expat library, that lies >> out of the ordinary directory structure (under /opt). I also have an older >> version of expat librar

Re: [Python-Dev] Changes in html.parser may cause breakage in client code

2012-04-26 Thread Georg Brandl
On 26.04.2012 21:10, Vinay Sajip wrote: > Following recent changes in html.parser, the Python 3 port of Django I'm > working > on has started failing while parsing HTML. > > The reason appears to be that Django uses some module-level data in > html.parser, > for example tagfind, which is a regul

Re: [Python-Dev] cpython: Issue #14428: Use the new time.perf_counter() and time.process_time() functions

2012-04-30 Thread Georg Brandl
On 29.04.2012 03:04, victor.stinner wrote: > http://hg.python.org/cpython/rev/bd195749c0a2 > changeset: 76599:bd195749c0a2 > user:Victor Stinner > date:Sun Apr 29 03:01:20 2012 +0200 > summary: > Issue #14428: Use the new time.perf_counter() and time.process_time() > functions

Re: [Python-Dev] cpython: Issue #14428: Use the new time.perf_counter() and time.process_time() functions

2012-05-01 Thread Georg Brandl
On 01.05.2012 10:35, Victor Stinner wrote: >>> diff --git a/Lib/timeit.py b/Lib/timeit.py >>> --- a/Lib/timeit.py >>> +++ b/Lib/timeit.py >>> @@ -15,8 +15,8 @@ >>>-n/--number N: how many times to execute 'statement' (default: see below) >>>-r/--repeat N: how many times to repeat the timer (

[Python-Dev] Open PEPs and large-scale changes for 3.3

2012-05-01 Thread Georg Brandl
With 3.3a3 tagged and the beta stage currently 2 months away, I would like to draw your attention to the following list of possible features for 3.3 as specified by PEP 398: Candidate PEPs: * PEP 362: Function Signature Object * PEP 395: Qualified Names for Modules * PEP 397: Python launcher for

Re: [Python-Dev] Open PEPs and large-scale changes for 3.3

2012-05-01 Thread Georg Brandl
On 01.05.2012 16:26, Yury Selivanov wrote: > On 2012-05-01, at 7:57 AM, Georg Brandl wrote: > >> With 3.3a3 tagged and the beta stage currently 2 months away, I would like >> to draw your attention to the following list of possible features for 3.3 >> as specified by P

Re: [Python-Dev] Open PEPs and large-scale changes for 3.3

2012-05-01 Thread Georg Brandl
On 01.05.2012 17:48, "Martin v. Löwis" wrote: >> * PEP 397: Python launcher for Windows > > I hope to submit a rewrite of this PEP RSN. Good to hear. >> Also, if I missed any obvious candidate PEP or change, please let me know. > > A big pending change is the switch to a new Visual Studio relea

Re: [Python-Dev] Open PEPs and large-scale changes for 3.3

2012-05-01 Thread Georg Brandl
On 01.05.2012 15:30, Nick Coghlan wrote: > On Tue, May 1, 2012 at 9:57 PM, Georg Brandl wrote: >> With 3.3a3 tagged and the beta stage currently 2 months away, I would like >> to draw your attention to the following list of possible features for 3.3 >> as specified by PEP 398

[Python-Dev] [RELEASED] Python 3.3.0 alpha 3

2012-05-01 Thread Georg Brandl
3.0 visit: http://www.python.org/download/releases/3.3.0/ Please consider trying Python 3.3.0 with your code and reporting any bugs you may notice to: http://bugs.python.org/ Enjoy! (*) Please note that this document is usually finalized late in the release cycle and therefore

Re: [Python-Dev] [Python-checkins] cpython: Issue #14127: Add ns= parameter to utime, futimes, and lutimes.

2012-05-04 Thread Georg Brandl
On 05/04/2012 08:04 AM, Larry Hastings wrote: > > On 05/03/2012 10:07 PM, Benjamin Peterson wrote: >>> +if (times && ns) { >>> +PyErr_Format(PyExc_RuntimeError, >> Why not a ValueError or TypeError? > > Well it's certainly not a TypeError. The 3.2 documentation defines TypeError > a

Re: [Python-Dev] cpython: Issue #14127: Fix two bugs with the Windows implementation.

2012-05-04 Thread Georg Brandl
On 05/04/2012 11:32 AM, larry.hastings wrote: > http://hg.python.org/cpython/rev/fc5d2f4291ac > changeset: 76747:fc5d2f4291ac > user:Larry Hastings > date:Fri May 04 02:31:57 2012 -0700 > summary: > Issue #14127: Fix two bugs with the Windows implementation. Would be nice to m

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

2012-05-07 Thread Georg Brandl
On 05/07/2012 11:00 AM, Mark Shannon wrote: > Martin v. Löwis wrote: >>> The What's New document also starts with a long list of PEPs. >>> This seems to be the standard format as What's New for 3.2 follows the >>> same layout. >>> >>> Perhaps adding an overview or highlights at the start would be a

Re: [Python-Dev] Adding types.build_class for 3.3

2012-05-07 Thread Georg Brandl
On 05/07/2012 01:10 PM, Nick Coghlan wrote: > A while back I pointed out that there's no easy PEP 3115 compliant way > to dynamically create a class (finding the right metaclass, calling > __prepare__, etc). > > I initially proposed providing this as operator.build_class, and > Daniel Urban create

Re: [Python-Dev] Adding types.build_class for 3.3

2012-05-07 Thread Georg Brandl
On 05/07/2012 02:15 PM, Nick Coghlan wrote: > On Mon, May 7, 2012 at 9:54 PM, Georg Brandl wrote: >> As for build_class: at the moment the types module really only has types, >> and to add build_class there is just about as weird as in operator IMO. > > Oh no, types is defin

Re: [Python-Dev] Assigning copyright...

2012-05-07 Thread Georg Brandl
On 05/07/2012 09:23 PM, stefan brunthaler wrote: > Hello, > >> http://www.python.org/psf/contrib/ > > I took care of the formalities. > > I am not sure how to proceed further. Would python-dev want me to draft a PEP? > > Regards, > --stefan > > PS: Personally, I am not a 100pct convinced that

Re: [Python-Dev] sys.implementation

2012-05-10 Thread Georg Brandl
On 10.05.2012 10:57, Antoine Pitrou wrote: > On Thu, 10 May 2012 11:33:14 +1000 > Nick Coghlan wrote: >> >> The original concern (that sys.implementation may differ in length >> across implementations) has been eliminated by moving all >> implementation specific values into sys.implementation.met

Re: [Python-Dev] Allow use of sphinx-autodoc in the standard library documentation?

2012-05-10 Thread Georg Brandl
On 10.05.2012 07:02, Nick Coghlan wrote: > One of the requirements for acceptance of PEP 3144 if the provision of > a reStructuredText API reference. > > The current plan for dealing with that is to use Spinx apidoc to > create a skeleton, and then capture the rewritten ReST produced by > autodoc.

Re: [Python-Dev] WSGI paranoia with stdout/stderr

2012-05-13 Thread Georg Brandl
Am 13.05.2012 13:09, schrieb Antoine Pitrou: > On Sun, 13 May 2012 14:02:50 +0300 > anatoly techtonik wrote: >> There is fear and uncertainty in this pull request to PyPI - >> https://bitbucket.org/techtonik/pypi-techtonik/changeset/5396f8c60d49#comment-18915 >> - which is about that writing to st

Re: [Python-Dev] docs.python.org pointing to Python 3 by default?

2012-05-21 Thread Georg Brandl
On 05/21/2012 03:23 AM, Guido van Rossum wrote: > I suggest that we add a separate (virtual) subdomain, e.g. docs3.python.org. Here are the time machine keys: this subdomain has existed for a few years now :) Georg ___ Python-Dev mailing list Python-D

Re: [Python-Dev] docs.python.org pointing to Python 3 by default?

2012-05-21 Thread Georg Brandl
On 05/21/2012 11:09 AM, Łukasz Langa wrote: > Wiadomość napisana przez Nick Coghlan w dniu 21 maj 2012, o godz. 09:24: > >> The following >> would be using docs.python.org as a namespace (and is what I think we >> should move towards): >> >> docs.python.org/latest >> docs.python.org/dev >> docs.p

Re: [Python-Dev] docs.python.org pointing to Python 3 by default?

2012-05-21 Thread Georg Brandl
On 05/21/2012 02:14 PM, R. David Murray wrote: > On Mon, 21 May 2012 11:41:29 +0200, Georg Brandl wrote: >> On 05/21/2012 03:23 AM, Guido van Rossum wrote: >> > I suggest that we add a separate (virtual) subdomain, e.g. >> > docs3.python.org. >> >> Here ar

Re: [Python-Dev] cpython: Close #13585: add contextlib.ExitStack to replace the ill-fated

2012-05-21 Thread Georg Brandl
Am 21.05.2012 14:54, schrieb nick.coghlan: > http://hg.python.org/cpython/rev/8ef66c73b1e1 > changeset: 77095:8ef66c73b1e1 > user:Nick Coghlan > date:Mon May 21 22:54:43 2012 +1000 > summary: > Close #13585: add contextlib.ExitStack to replace the ill-fated > contextlib.nested

Re: [Python-Dev] cpython (3.2): #14766: Add correct algorithm for when a 'time' object is naive.

2012-05-21 Thread Georg Brandl
Am 15.05.2012 04:33, schrieb r.david.murray: > diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst > --- a/Doc/library/datetime.rst > +++ b/Doc/library/datetime.rst > @@ -15,16 +15,23 @@ > formatting and manipulation. For related > functionality, see also the :mod:`time` and :mod:`c

Re: [Python-Dev] cpython: Close #14588: added a PEP 3115 compliant dynamic type creation mechanism

2012-05-21 Thread Georg Brandl
Am 19.05.2012 18:34, schrieb nick.coghlan: > diff --git a/Doc/library/types.rst b/Doc/library/types.rst > --- a/Doc/library/types.rst > +++ b/Doc/library/types.rst > @@ -1,5 +1,5 @@ > -:mod:`types` --- Names for built-in types > -= > +:mod:`types` --- Dynami

Re: [Python-Dev] cpython (3.2): Issue12541 - Add UserWarning for unquoted realms

2012-05-21 Thread Georg Brandl
Am 15.05.2012 18:08, schrieb senthil.kumaran: > diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py > --- a/Lib/urllib/request.py > +++ b/Lib/urllib/request.py > @@ -95,6 +95,7 @@ > import sys > import time > import collections > +import warnings > > from urllib.error import URLError,

Re: [Python-Dev] Python db2 installation error

2012-05-23 Thread Georg Brandl
Am 24.05.2012 01:45, schrieb Terry Reedy: > On 5/23/2012 7:00 PM, PremAnand Lakshmanan wrote: >> I want to install python db2 package for Python but Im unable to install it. > > pydev list is for development of future python releases. Ask questions > about using existing python releases on python

<    8   9   10   11   12   13   14   15   16   >