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] Python install layout and the PATH on win32

2012-03-21 Thread Tim Golden
On 21/03/2012 23:03, Paul Moore wrote: On 21 March 2012 22:43, Mark Hammond wrote: On 22/03/2012 1:22 AM, Lindberg, Van wrote: Mark, MAL, Martin, Tarek, Could you comment on this? Eric is correct - tools will be broken by this change. However, people seem willing to push forward on this

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

2012-03-21 Thread Éric Araujo
Le 06/03/2012 15:31, Giampaolo Rodolà a écrit : > That's why I once proposed to include whatsnew.rst changes every time > a new feature is added/committed. > Assigning that effort to the release manager or whoever is supposed to > take care of this, is both impractical and prone to forgetfulness.

Re: [Python-Dev] GSoC 2012: Python Core Participation?

2012-03-21 Thread Éric Araujo
Good evening, > If you are a core committer and volunteer as GSoC > mentor for 2012, please let me know by Friday > (March 23rd). There is a number of interesting things to implement in packaging, and at least one student who manifested their interest, but unfortunately I am presently unable to sa

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

2012-03-21 Thread Victor Stinner
> On the other hand, exposing the existing read-only dict proxy as a > built-in type sounds good to me.  (It would need to be changed to > allow calling the constructor.) I wrote a small patch to implement this request: http://bugs.python.org/issue14386 I also opened the following issue to suppor

Re: [Python-Dev] New PEP

2012-03-21 Thread Nick Coghlan
On Thu, Mar 22, 2012 at 10:28 AM, Huan Do wrote: > I was not completely familiar with itertools but itertools.islice() seems to > have the functionality that I propose. It is great that  there already exist > a solution that does not change python's syntax. Unless anyone wants to > pursue this pro

Re: [Python-Dev] New PEP

2012-03-21 Thread Ethan Furman
Huan Do wrote: *Hi, I am a graduating Berkeley student that loves python and would like to propose an enhancement to python. My proposal introduces a concept of slicing generator. For instance, if one does x[:] it returns a list which is a copy of x. Sometimes programmers would want to iterat

Re: [Python-Dev] Python install layout and the PATH on win32

2012-03-21 Thread Stephen J. Turnbull
Cleaning up the absurd CC line On Thu, Mar 22, 2012 at 8:03 AM, Paul Moore wrote: > I agree on all points here. I don't understand quite why backward > compatibility is being treated so lightly here. But equally, I've made > my points and have little further to add. As a non-Windows user wh

Re: [Python-Dev] New PEP

2012-03-21 Thread Huan Do
@Ethan Furman each call to x(:) would return a different iterator, so both sides will have their own information about where they are. Also it is the case that checking for equality of generators does not make the generators to expand out, so checking for equality becomes to checking if they are t

Re: [Python-Dev] New PEP

2012-03-21 Thread Victor Stinner
> My proposed syntax is x(:) Change the Python syntax is not a good start. You can already experiment your idea using the slice() type. > We would have to do something like this. > sum(x[:-20:2]) Do you know the itertools module? It looks like itertools.islice(). Victor

Re: [Python-Dev] New PEP

2012-03-21 Thread Etienne Robillard
On 03/21/2012 07:39 PM, Huan Do wrote: *Hi, I am a graduating Berkeley student that loves python and would like to propose an enhancement to python. My proposal introduces a concept of slicing generator. For instance, if one does x[:] it returns a list which is a copy of x. Sometimes programmers

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

2012-03-21 Thread Victor Stinner
2012/3/22 Guido van Rossum : > To close the loop, I've rejected the PEP, adding the following rejection > notice: > > """ > I'm rejecting this PEP. (...) Hum, you may specify who is "I" in the PEP. Victor ___ Python-Dev mailing list Python-Dev@python.o

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

2012-03-21 Thread Guido van Rossum
To close the loop, I've rejected the PEP, adding the following rejection notice: """ I'm rejecting this PEP. A number of reasons (not exhaustive): * According to Raymond Hettinger, use of frozendict is low. Those that do use it tend to use it as a hint only, such as declaring global or c

[Python-Dev] New PEP

2012-03-21 Thread Huan Do
*Hi, I am a graduating Berkeley student that loves python and would like to propose an enhancement to python. My proposal introduces a concept of slicing generator. For instance, if one does x[:] it returns a list which is a copy of x. Sometimes programmers would want to iterate over a slice of x,

Re: [Python-Dev] Python install layout and the PATH on win32

2012-03-21 Thread Paul Moore
On 21 March 2012 22:43, Mark Hammond wrote: > On 22/03/2012 1:22 AM, Lindberg, Van wrote: >> >> Mark, MAL, Martin, Tarek, >> >> Could you comment on this? > > > Eric is correct - tools will be broken by this change.  However, people seem > willing to push forward on this and accept such breakage a

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

2012-03-21 Thread INADA Naoki
+10 for new design. +1 for respecting default font size rather than "div.body {font-size: smaller;}" Users loving smaller font can set their browser's default font size. On Wed, Mar 21, 2012 at 7:38 AM, Georg Brandl wrote: > Hi all, > > recently I've grown a bit tired of seeing our default Sphinx

Re: [Python-Dev] Python install layout and the PATH on win32

2012-03-21 Thread Mark Hammond
On 22/03/2012 1:22 AM, Lindberg, Van wrote: Mark, MAL, Martin, Tarek, Could you comment on this? Eric is correct - tools will be broken by this change. However, people seem willing to push forward on this and accept such breakage as the necessary cost. MAL, in his followup, asks what the

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

2012-03-21 Thread Greg Ewing
Ned Batchelder wrote: Any of the tweaks people are suggesting could be applied individually using this technique. We could just as easily choose to make the site left-justified, and let the full-justification fans use custom stylesheets to get it. Is it really necessary for the site to speci

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

2012-03-21 Thread Victor Stinner
>> 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 speed >> up the decimal module. Performance gains of

Re: [Python-Dev] Issue 13524: subprocess on Windows

2012-03-21 Thread Brad Allen
I tripped over this one trying to make one of our Python at work Windows compatible. We had no idea that a magic 'SystemRoot' environment variable would be required, and it was causing issues for pyzmq. It might be nice to reflect the findings of this email thread on the subprocess documentation p

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

2012-03-21 Thread R. David Murray
On Wed, 21 Mar 2012 12:39:18 -0700, Guido van Rossum wrote: > On Wed, Mar 21, 2012 at 12:12 PM, Ned Batchelder > wrote: > > Personally, I think two Python projects that have focused on docs and done a > > good job of it are Django and readthedocs.org.  Perhaps we could follow > > their lead? >

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

2012-03-21 Thread Ned Batchelder
On 3/21/2012 4:38 PM, Fred Drake wrote: On Wed, Mar 21, 2012 at 3:13 PM, Ned Batchelder wrote: There are bad designers, or more to the point, designers who favor the overall look of the page at the expense of the utility of the page. That doesn't mean all designers are bad, or that "design" is

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

2012-03-21 Thread Fred Drake
On Wed, Mar 21, 2012 at 3:13 PM, Ned Batchelder wrote: > There are bad designers, or more to the point, designers who favor the > overall look of the page at the expense of the utility of the page.  That > doesn't mean all designers are bad, or that "design" is bad.  Don't throw > out the baby wit

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

2012-03-21 Thread Ethan Furman
Guido van Rossum wrote: On Wed, Mar 21, 2012 at 7:18 AM, Ned Batchelder wrote: The challenge for the maintainer of the docs site is to choose a good design that most people will see. We're bound to disagree on what that design should be, and I suggest that probably none of us are designer enou

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

2012-03-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/21/2012 03:13 PM, Ned Batchelder wrote: > On 3/21/2012 3:06 PM, Fred Drake wrote: >> On Wed, Mar 21, 2012 at 2:46 PM, Guido van Rossum >> wrote: >>> That doesn't mean the web designer shouldn't think at least twice >>> before specifying a smalle

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

2012-03-21 Thread Ned Batchelder
On 3/21/2012 3:45 PM, Ethan Furman wrote: Guido van Rossum wrote: On Wed, Mar 21, 2012 at 7:18 AM, Ned Batchelder wrote: The challenge for the maintainer of the docs site is to choose a good design that most people will see. We're bound to disagree on what that design should be, and I sugges

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

2012-03-21 Thread Guido van Rossum
On Wed, Mar 21, 2012 at 12:12 PM, Ned Batchelder wrote: > On 3/21/2012 2:46 PM, Guido van Rossum wrote: >> >> On Wed, Mar 21, 2012 at 11:40 AM, Ned Batchelder >>  wrote: >>> >>> You can use Ctrl-+ to increase the size of the text, and modern browsers >>> remember that for the next time you visit t

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

2012-03-21 Thread PJ Eby
On Mar 21, 2012 12:00 PM, "Guido van Rossum" wrote: > > On Mar 21, 2012 5:44 AM, "Ned Batchelder" wrote: > > The best thing to do is to set a max-width in ems, say 50em. This leaves the text at a reasonable width, but adapts naturally for people with larger fonts. > > Please, no, not even this "i

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

2012-03-21 Thread Ned Batchelder
On 3/21/2012 3:06 PM, Fred Drake wrote: On Wed, Mar 21, 2012 at 2:46 PM, Guido van Rossum wrote: That doesn't mean the web designer shouldn't think at least twice before specifying a smaller font than the browser default. Yet 90% of designers (or more) insist on making text insanely small, com

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

2012-03-21 Thread Ned Batchelder
On 3/21/2012 2:46 PM, Guido van Rossum wrote: On Wed, Mar 21, 2012 at 11:40 AM, Ned Batchelder wrote: You can use Ctrl-+ to increase the size of the text, and modern browsers remember that for the next time you visit the site. That doesn't mean the web designer shouldn't think at least twice b

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

2012-03-21 Thread Oleg Broytman
On Wed, Mar 21, 2012 at 02:40:04PM -0400, Ned Batchelder wrote: > You can use Ctrl-+ to increase the size of the text, and modern > browsers remember that for the next time you visit the site. Browsers usually remember the setting for the entire site, not only documentation. Oleg. -- Ole

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

2012-03-21 Thread Fred Drake
On Wed, Mar 21, 2012 at 2:46 PM, Guido van Rossum wrote: > That doesn't mean the web designer shouldn't think at least twice > before specifying a smaller font than the browser default. Yet 90% of designers (or more) insist on making text insanely small, commonly specifying the size in pixles or

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

2012-03-21 Thread Guido van Rossum
On Wed, Mar 21, 2012 at 11:40 AM, Ned Batchelder wrote: > You can use Ctrl-+ to increase the size of the text, and modern browsers > remember that for the next time you visit the site. That doesn't mean the web designer shouldn't think at least twice before specifying a smaller font than the brow

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

2012-03-21 Thread Ned Batchelder
On 3/21/2012 1:04 PM, Serhiy Storchaka wrote: If I can get my five cents, I will tell about my impressions. I really liked the background of allocated blocks (such as notes and code snippets) has become less diverse (but still visible). The border around these blocks have become more accurate a

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

2012-03-21 Thread Terry Reedy
On 3/21/2012 7:09 AM, Antoine Pitrou wrote: On Tue, 20 Mar 2012 21:39:41 -0400 Terry Reedy wrote: On 3/20/2012 6:38 PM, Georg Brandl wrote: The current green on the front page is too heavy. Green? hmm... you mean blue, right? :) Yeh, a muddy slightly greenish blue. I would prefer what I ca

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

2012-03-21 Thread Serhiy Storchaka
21.03.12 18:00, Guido van Rossum написав(ла): (Can you see why I invented a whitespace-sensitive language? I have a whitespace-sensitive brain. :-) It should be added to favorite quotes. ___ Python-Dev mailing list Python-Dev@python.org http://mail.p

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

2012-03-21 Thread Serhiy Storchaka
If I can get my five cents, I will tell about my impressions. I really liked the background of allocated blocks (such as notes and code snippets) has become less diverse (but still visible). The border around these blocks have become more accurate and more pleasant to emphasize blocks. It is ve

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

2012-03-21 Thread Guido van Rossum
On Wed, Mar 21, 2012 at 7:18 AM, Ned Batchelder wrote: > The challenge for the maintainer of the docs site is to choose a good design > that most people will see.  We're bound to disagree on what that design > should be, and I suggest that probably none of us are designer enough to > come up with

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

2012-03-21 Thread Oleg Broytman
On Tue, Mar 20, 2012 at 11:38:53PM +0100, Georg Brandl wrote: > 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/~gbra

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

2012-03-21 Thread Guido van Rossum
On Mar 21, 2012 5:44 AM, "Ned Batchelder" wrote: > The best thing to do is to set a max-width in ems, say 50em. This leaves the > text at a reasonable width, but adapts naturally for people with larger fonts. Please, no, not even this "improved" version of coddling. If you're formatting e.g. a n

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

2012-03-21 Thread Yury Selivanov
On 2012-03-21, at 11:06 AM, Łukasz Rekucki wrote: > FYI, the current paragraph font size on docs.python.org is 16px, while > for http://www.python.org/~gbrandl/build/html/ it's 13px, so > increasing that should help readability :) You can use @media queries > to adjust it to screen resolution, whic

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

2012-03-21 Thread Serhiy Storchaka
21.03.12 16:18, Ned Batchelder написав(ла): We could just as easily choose to make the site left-justified, and let the full-justification fans use custom stylesheets to get it. I find justified text convenient and pleasant for the eyes. Many people hate left-aligned text. I think that the bes

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

2012-03-21 Thread Łukasz Rekucki
On 21 March 2012 13:38, Ned Batchelder wrote: > On 3/21/2012 6:16 AM, Oleg Broytman wrote: >> >> On Wed, Mar 21, 2012 at 09:33:13AM +, Jonathan Hartley wrote: >>> >>> On 21/03/2012 08:25, Dirkjan Ochtman wrote: On Wed, Mar 21, 2012 at 07:00, Georg Brandl   wrote: > > OK, that

Re: [Python-Dev] Python install layout and the PATH on win32

2012-03-21 Thread M.-A. Lemburg
Lindberg, Van wrote: > Mark, MAL, Martin, Tarek, > > Could you comment on this? > > This is in the context of changing the name of the 'Scripts' directory > on windows to 'bin'. Éric brings up the point (explained more below) > that if we make this change, packages made/installed the new pack

Re: [Python-Dev] Python install layout and the PATH on win32

2012-03-21 Thread Lindberg, Van
Mark, MAL, Martin, Tarek, Could you comment on this? This is in the context of changing the name of the 'Scripts' directory on windows to 'bin'. Éric brings up the point (explained more below) that if we make this change, packages made/installed the new packaging infrastructure and those made/

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

2012-03-21 Thread Ned Batchelder
On 3/21/2012 9:44 AM, Serhiy Storchaka wrote: 21.03.12 03:58, Ned Batchelder написав(ла): Books, magazines, and newspapers look good with full justification, web pages do not. Can we switch to left-justified instead? You can add line p {text-align: left !important} to your browser custom sty

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

2012-03-21 Thread Serhiy Storchaka
21.03.12 03:58, Ned Batchelder написав(ла): Books, magazines, and newspapers look good with full justification, web pages do not. Can we switch to left-justified instead? You can add line p {text-align: left !important} to your browser custom stylesheet. If you are using Firefox or Chrome (C

Re: [Python-Dev] PEP 405 (built-in virtualenv) status

2012-03-21 Thread Kristján Valur Jónsson
> -Original Message- > From: Carl Meyer [mailto:c...@oddbird.net] > Sent: 19. mars 2012 19:19 > To: Kristján Valur Jónsson > Cc: Python-Dev (python-dev@python.org) > Subject: Re: [Python-Dev] PEP 405 (built-in virtualenv) status > > Hello Kristján, > I think there's one important (albeit

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

2012-03-21 Thread Serhiy Storchaka
21.03.12 14:38, Ned Batchelder написав(ла): The best thing to do is to set a max-width in ems, say 50em. This leaves the text at a reasonable width, but adapts naturally for people with larger fonts. It's good for books, magazines, and newspapers, but not for technical site. ;) _

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

2012-03-21 Thread R. David Murray
On Wed, 21 Mar 2012 06:58:21 +0100, Georg Brandl wrote: > 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 u

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

2012-03-21 Thread Ned Batchelder
On 3/21/2012 6:16 AM, Oleg Broytman wrote: On Wed, Mar 21, 2012 at 09:33:13AM +, Jonathan Hartley wrote: On 21/03/2012 08:25, Dirkjan Ochtman wrote: On Wed, Mar 21, 2012 at 07:00, Georg Brandl wrote: OK, that seems to be the main point people make... let me see if I can come up with a be

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

2012-03-21 Thread Chris Withers
On 21/03/2012 09:33, Jonathan Hartley wrote: On 21/03/2012 08:25, Dirkjan Ochtman wrote: On Wed, Mar 21, 2012 at 07:00, Georg Brandl wrote: OK, that seems to be the main point people make... let me see if I can come up with a better compromise. Would it be possible to limit the width of the

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

2012-03-21 Thread Antoine Pitrou
On Tue, 20 Mar 2012 21:58:57 -0400 Ned Batchelder wrote: > On 3/20/2012 6:38 PM, Georg Brandl wrote: > > Let me know what you think, or play around and send some improvements. > > (The collapsible sidebar is not adapted to it yet, but will definitely > > be integrated before I consider applying a

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

2012-03-21 Thread Antoine Pitrou
On Tue, 20 Mar 2012 21:39:41 -0400 Terry Reedy wrote: > On 3/20/2012 6:38 PM, Georg Brandl wrote: > > The current green on the front page is too heavy. Green? hmm... you mean blue, right? :) Antoine. ___ Python-Dev mailing list Python-Dev@python.org

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

2012-03-21 Thread Ben Finney
Dirkjan Ochtman writes: > On Wed, Mar 21, 2012 at 07:00, Georg Brandl wrote: > > OK, that seems to be the main point people make... let me see if I > > can come up with a better compromise. > > Would it be possible to limit the width of the page? On my 1920px > monitor, the lines get awfully lon

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

2012-03-21 Thread Oleg Broytman
On Wed, Mar 21, 2012 at 09:33:13AM +, Jonathan Hartley wrote: > On 21/03/2012 08:25, Dirkjan Ochtman wrote: > >On Wed, Mar 21, 2012 at 07:00, Georg Brandl wrote: > >>OK, that seems to be the main point people make... let me see if I can > >>come up with a better compromise. > >Would it be poss

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

2012-03-21 Thread Jonathan Hartley
On 21/03/2012 08:25, Dirkjan Ochtman wrote: On Wed, Mar 21, 2012 at 07:00, Georg Brandl wrote: OK, that seems to be the main point people make... let me see if I can come up with a better compromise. Would it be possible to limit the width of the page? On my 1920px monitor, the lines get awful

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

2012-03-21 Thread Matt Joiner
Turn your monitor portrait or make the window smaller :) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

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

2012-03-21 Thread Dirkjan Ochtman
On Wed, Mar 21, 2012 at 07:00, Georg Brandl wrote: > OK, that seems to be the main point people make... let me see if I can > come up with a better compromise. Would it be possible to limit the width of the page? On my 1920px monitor, the lines get awfully long, making them harder to read. Cheer

[Python-Dev] GSoC 2012: Python Core Participation?

2012-03-21 Thread martin
I'm wondering whether Python Core should participate in GSoC 2012 or not, as core contributors have shown little interest in acting as mentors in the past. If you are a core committer and volunteer as GSoC mentor for 2012, please let me know by Friday (March 23rd). Regards, Martin __