Re: [Python-Dev] Emit SyntaxWarning on unrecognized backslash escapes?

2015-02-23 Thread Brett Cannon
On Mon Feb 23 2015 at 10:55:23 AM Chris Angelico ros...@gmail.com wrote: On Tue, Feb 24, 2015 at 2:44 AM, Guido van Rossum gu...@python.org wrote: I think that's a bit too strong. This has been unquestionably valid, correct Python -- it was an intentional feature from the start. It may not

Re: [Python-Dev] [Python-checkins] cpython: Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on

2015-02-21 Thread Brett Cannon
On Sat Feb 21 2015 at 4:23:16 PM Ben Hoyt benh...@gmail.com wrote: When merging some changes while working on scandir, I noticed a minor issue with this commit: https://hg.python.org/cpython/rev/4f6f4aa0d80f The definition of struct win32_stat has been moved to fileutils.h and renamed to

Re: [Python-Dev] TypeError messages

2015-02-21 Thread Brett Cannon
On Sat Feb 21 2015 at 12:15:25 PM Antoine Pitrou solip...@pitrou.net wrote: On Fri, 20 Feb 2015 14:05:11 + Brett Cannon br...@python.org wrote: On Thu Feb 19 2015 at 5:52:07 PM Serhiy Storchaka storch...@gmail.com wrote: Different patterns for TypeError messages are used

Re: [Python-Dev] Generate all Argument Clinic code into separate files

2015-02-21 Thread Brett Cannon
On Sat Feb 21 2015 at 1:50:32 PM Serhiy Storchaka storch...@gmail.com wrote: Currently for some files converted to use Argument Clinic the generated code is written into a separate file, for other files it is inlined. I'm going to make a number of small enhancement to Argument Clinic to

Re: [Python-Dev] TypeError messages

2015-02-20 Thread Brett Cannon
On Thu Feb 19 2015 at 5:52:07 PM Serhiy Storchaka storch...@gmail.com wrote: Different patterns for TypeError messages are used in the stdlib: expected X, Y found expected X, found Y expected X, but Y found expected X instance, Y found X expected, not Y

Re: [Python-Dev] TypeError messages

2015-02-20 Thread Brett Cannon
provided to make it easy to get the same result as constructing the exception with the keyword-only argument. -Brett -Stefan *Gesendet:* Freitag, 20. Februar 2015 um 15:05 Uhr *Von:* Brett Cannon br...@python.org *An:* Serhiy Storchaka storch...@gmail.com, python-dev@python.org *Betreff:* Re

Re: [Python-Dev] str(IntEnum)

2015-02-20 Thread Brett Cannon
On Fri Feb 20 2015 at 11:39:11 AM Demian Brecht demianbre...@gmail.com wrote: While working on a bug in the issue tracker, I came across something that I thought was a little odd around the behaviour of IntEnum. Should the behaviour of an instance of an IntEnum not be symmetric to an int where

Re: [Python-Dev] Update to PEP 11 to clarify garnering platform support

2015-02-20 Thread Brett Cannon
I just realized I actually never committed this change. Assuming no new objections I'll commit this in the near future (promise this time =). On Fri May 16 2014 at 1:51:00 PM Brett Cannon bcan...@gmail.com wrote: Here is some proposed wording. Since it is more of a clarification of what

Re: [Python-Dev] Problem running ./python -m test -v test_whatever

2015-02-11 Thread Brett Cannon
You might want to try asking on python-l...@python.org to get a wider audience as you might find a fellow AIX user there who can help you out. On Wed Feb 11 2015 at 12:29:56 AM Dwight dcrs6...@aceweb.com wrote: Hi, I am primarily a user; but since I can not get a newer version of firefox

Re: [Python-Dev] Workflow PEP proposals are now closed

2015-02-02 Thread Brett Cannon
:47 + Brett Cannon bcan...@gmail.com wrote: The PEPs under consideration are PEPs 474 https://www.python.org/dev/peps/pep-0474/ and 462 https://www.python.org/dev/peps/pep-0462/ from Nick Coghlan to use Kallithea and do self-hosting, and PEP 481 https://www.python.org/dev/peps/pep-0481

[Python-Dev] Workflow PEP proposals are now closed

2015-02-02 Thread Brett Cannon
The PEPs under consideration are PEPs 474 https://www.python.org/dev/peps/pep-0474/ and 462 https://www.python.org/dev/peps/pep-0462/ from Nick Coghlan to use Kallithea and do self-hosting, and PEP 481 https://www.python.org/dev/peps/pep-0481/ from Donald Stufft that proposes using GitHub. At

Re: [Python-Dev] Workflow improvement PEPs 474 462 updated

2015-02-02 Thread Brett Cannon
On Mon Feb 02 2015 at 9:52:29 AM Pierre-Yves David pierre-yves.da...@ens-lyon.org wrote: On 02/02/2015 01:11 AM, Nick Coghlan wrote: On 2 Feb 2015 04:56, francis franci...@email.de mailto:franci...@email.de wrote: [SNIP] PS: Should this be forwarded to python-workflow or is that

Re: [Python-Dev] Workflow PEP proposals are now closed

2015-02-02 Thread Brett Cannon
On Mon Feb 02 2015 at 10:00:30 AM Donald Stufft don...@stufft.io wrote: On Feb 2, 2015, at 9:35 AM, Brett Cannon bcan...@gmail.com wrote: The PEPs under consideration are PEPs 474 https://www.python.org/dev/peps/pep-0474/ and 462 https://www.python.org/dev/peps/pep-0462/ from Nick Coghlan

Re: [Python-Dev] also

2015-01-28 Thread Brett Cannon
You have the wrong mailing list for this sort of request. This is list is about the development *of* Python, not *with* it. And since Python the language is not in the business of providing libraries for such specific needs this kind of request isn't appropriate here. You can try asking somewhere

Re: [Python-Dev] Can Python Be Built Without Distutils

2015-01-24 Thread Brett Cannon
On Fri Jan 23 2015 at 5:45:28 PM Gregory P. Smith g...@krypto.org wrote: On Fri Jan 23 2015 at 11:20:02 AM M.-A. Lemburg m...@egenix.com wrote: On 23.01.2015 19:48, Matthias Klose wrote: On 01/23/2015 06:30 PM, Cyd Haselton wrote: Related to my earlier question regarding building Python on

Re: [Python-Dev] Undefined dlopen When Building Module On Android

2015-01-22 Thread Brett Cannon
A mobile SIG is being formed, but it doesn't have a mailing list yet, else that would be a good place to ask this question. On Wed Jan 21 2015 at 5:54:39 PM Guido van Rossum gu...@python.org wrote: Maybe try a list focused on Android development? Few people in the Python core development

Re: [Python-Dev] How do I ensure that my code is being executed?

2015-01-20 Thread Brett Cannon
This is a mailing to discuss the development *of* Python, not its *use*. You should be able to get help from python-list or #python on IRC. On Tue Jan 20 2015 at 9:44:48 AM Neil Girdhar mistersh...@gmail.com wrote: I get error: TypeError: init_builtin() takes exactly 1 argument (0 given)

Re: [Python-Dev] How do I ensure that my code is being executed?

2015-01-20 Thread Brett Cannon
On Tue Jan 20 2015 at 9:53:52 AM Benjamin Peterson benja...@python.org wrote: On Tue, Jan 20, 2015, at 09:51, Brett Cannon wrote: This is a mailing to discuss the development *of* Python, not its *use*. You should be able to get help from python-list or #python on IRC. To be fair, he's

Re: [Python-Dev] Overriding stdlib http package

2015-01-15 Thread Brett Cannon
On Wed Jan 14 2015 at 4:58:20 PM Demian Brecht demianbre...@gmail.com wrote: On 2015-01-14 1:19 PM, Brett Cannon wrote: But as Guido pointed out, we _like_ it being difficult to do because we don't want this kind of substitution happening as code ends up depending on bugs and quirks

Re: [Python-Dev] Overriding stdlib http package

2015-01-14 Thread Brett Cannon
On Wed Jan 14 2015 at 4:08:52 PM Demian Brecht demianbre...@gmail.com wrote: On 2015-01-14 12:25 PM, Guido van Rossum wrote: I'm not sure how commit privileges would help you -- can't you just fork the CPython (I'm sure there's already a Bitbucket mirror that you can fork easily) and do

Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition

2014-12-16 Thread Brett Cannon
Mark, your tone is no longer constructive and is hurting your case in arguing for anything. Please take it down a notch. On Tue Dec 16 2014 at 1:48:59 PM Mark Roberts wiz...@gmail.com wrote: On Tue, Dec 16, 2014 at 2:45 AM, Antoine Pitrou solip...@pitrou.net wrote: Iterating accross a

Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition

2014-12-16 Thread Brett Cannon
. -Brett -Mark On Tue, Dec 16, 2014 at 10:57 AM, Brett Cannon br...@python.org wrote: Mark, your tone is no longer constructive and is hurting your case in arguing for anything. Please take it down a notch. On Tue Dec 16 2014 at 1:48:59 PM Mark Roberts wiz...@gmail.com wrote: On Tue, Dec 16

Re: [Python-Dev] Python 3.4.2/ PyGame Registry

2014-12-16 Thread Brett Cannon
This mailing list is for the development OF Python, not its use. You should be able to get help on the python-tutor or Python - list mailing lists. On Tue, Dec 16, 2014, 16:42 Matthew Braun matth...@perfumania.com wrote: Good Morning, I installed Python 3.4.2 on my work computer. I was

Re: [Python-Dev] Python 2/3 porting HOWTO has been updated

2014-12-12 Thread Brett Cannon
I have now addressed Nick's comments and backported to Python 2.7. On Sat Dec 06 2014 at 8:40:24 AM Brett Cannon bcan...@gmail.com wrote: Thanks for the feedback. I'll update the doc probably on Friday. On Sat Dec 06 2014 at 12:41:54 AM Nick Coghlan ncogh...@gmail.com wrote: On 6 December

Re: [Python-Dev] My thinking about the development process

2014-12-11 Thread Brett Cannon
to make a final decision by May 1 so that we can try to have the changes ready for Python 3.6 development (currently scheduled for Sep 2015). On Fri Dec 05 2014 at 3:04:48 PM Brett Cannon bcan...@gmail.com wrote: This is a bit long as I espoused as if this was a blog post to try and give

Re: [Python-Dev] My thinking about the development process

2014-12-11 Thread Brett Cannon
Just adapt your current PEP. On Thu Dec 11 2014 at 10:02:23 AM Donald Stufft don...@stufft.io wrote: On Dec 11, 2014, at 9:59 AM, Brett Cannon bcan...@gmail.com wrote: As I didn't hear any objections, I'm officially stating that I expect initial draft PEPs to be in by February 1 to know who

Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition

2014-12-11 Thread Brett Cannon
On Thu Dec 11 2014 at 3:14:42 PM Dan Stromberg drsali...@gmail.com wrote: On Thu, Dec 11, 2014 at 11:35 AM, Mark Roberts wiz...@gmail.com wrote: I disagree. I know there's a huge focus on The Big Libraries (and wholesale migration is all but impossible without them), but the long tail of

Re: [Python-Dev] python compile error on mac os x

2014-12-10 Thread Brett Cannon
It would be better to file a bug at bugs.python.org so it's easier to track the problem. On Wed Dec 10 2014 at 11:37:30 AM 卓一抗 zhuoyik...@gmail.com wrote: hello, everybody ,i occur an ld error in my mac os x python 3.4.2 gcc 4.8.2 /Applications/Xcode.app/Contents/Developer/usr/bin/make

Re: [Python-Dev] My thinking about the development process

2014-12-08 Thread Brett Cannon
On Mon Dec 08 2014 at 3:27:43 PM Jim J. Jewett jimjjew...@gmail.com wrote: Brett Cannon wrote: 4. Contributor creates account on bugs.python.org and signs the [contributor agreement](https://www.python. org/psf/contrib/contrib-form/) Is there an expiration on such forms

Re: [Python-Dev] Python 2/3 porting HOWTO has been updated

2014-12-06 Thread Brett Cannon
Thanks for the feedback. I'll update the doc probably on Friday. On Sat Dec 06 2014 at 12:41:54 AM Nick Coghlan ncogh...@gmail.com wrote: On 6 December 2014 at 14:40, Nick Coghlan ncogh...@gmail.com wrote: On 6 December 2014 at 10:44, Benjamin Peterson benja...@python.org wrote: On Fri,

Re: [Python-Dev] My thinking about the development process

2014-12-06 Thread Brett Cannon
On Fri Dec 05 2014 at 3:24:38 PM Donald Stufft don...@stufft.io wrote: On Dec 5, 2014, at 3:04 PM, Brett Cannon bcan...@gmail.com wrote: words This looks like a pretty good write up, seems to pretty fairly evaluate the various sides and the various concerns. Thanks! It seems like I have

Re: [Python-Dev] My thinking about the development process

2014-12-06 Thread Brett Cannon
On Fri Dec 05 2014 at 8:31:27 PM R. David Murray rdmur...@bitdance.com wrote: On Fri, 05 Dec 2014 15:17:35 -0700, Eric Snow ericsnowcurren...@gmail.com wrote: On Fri, Dec 5, 2014 at 1:04 PM, Brett Cannon bcan...@gmail.com wrote: We don't exactly have a ton of people constantly going I'm

Re: [Python-Dev] My thinking about the development process

2014-12-06 Thread Brett Cannon
On Sat Dec 06 2014 at 2:53:43 AM Terry Reedy tjre...@udel.edu wrote: On 12/5/2014 3:04 PM, Brett Cannon wrote: 1. Contributor clones a repository from hg.python.org http://hg.python.org 2. Contributor makes desired changes 3. Contributor generates a patch 4. Contributor creates

Re: [Python-Dev] My thinking about the development process

2014-12-06 Thread Brett Cannon
On Fri Dec 05 2014 at 5:17:35 PM Eric Snow ericsnowcurren...@gmail.com wrote: Very nice, Brett. Thanks! On Fri, Dec 5, 2014 at 1:04 PM, Brett Cannon bcan...@gmail.com wrote: And we can't forget the people who help keep all of this running as well. There are those that manage the SSH

Re: [Python-Dev] My thinking about the development process

2014-12-06 Thread Brett Cannon
On Sat Dec 06 2014 at 10:07:50 AM Donald Stufft don...@stufft.io wrote: On Dec 6, 2014, at 9:11 AM, Brett Cannon br...@python.org wrote: On Fri Dec 05 2014 at 8:31:27 PM R. David Murray rdmur...@bitdance.com wrote: On Fri, 05 Dec 2014 15:17:35 -0700, Eric Snow ericsnowcurren

Re: [Python-Dev] My thinking about the development process

2014-12-06 Thread Brett Cannon
On Sat Dec 06 2014 at 10:30:54 AM Nick Coghlan ncogh...@gmail.com wrote: On 7 December 2014 at 00:11, Brett Cannon br...@python.org wrote: On Fri Dec 05 2014 at 8:31:27 PM R. David Murray rdmur...@bitdance.com wrote: That's probably the biggest issue with *anyone* contributing to tracker

[Python-Dev] My thinking about the development process

2014-12-05 Thread Brett Cannon
This is a bit long as I espoused as if this was a blog post to try and give background info on my thinking, etc. The TL;DR folks should start at the Ideal Scenario section and read to the end. P.S.: This is in Markdown and I have put it up at

[Python-Dev] Python 2/3 porting HOWTO has been updated

2014-12-05 Thread Brett Cannon
It now promotes using tooling as much as possible to automate the process of making code by Python 2/3 source-compatible: https://docs.python.org/3.5/howto/pyporting.html Blog post about it at http://nothingbutsnark.svbtle.com/commentary-on-getting-your-code-to-run-on-python-23 .

Re: [Python-Dev] Python 2/3 porting HOWTO has been updated

2014-12-05 Thread Brett Cannon
On Fri Dec 05 2014 at 4:07:46 PM Benjamin Peterson benja...@python.org wrote: On Fri, Dec 5, 2014, at 16:04, Brett Cannon wrote: It now promotes using tooling as much as possible to automate the process of making code by Python 2/3 source-compatible: https://docs.python.org/3.5/howto

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-12-02 Thread Brett Cannon
So I was waiting for Nick to say what he wanted to do for the peps repo since I view it as I get 2/3 of the choices and he gets the other third. The way I view it, the options are: 1. Move to GitHub 2. Move to Bitbucket 3. Improve our current tooling (either through new hosting setup

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-12-02 Thread Brett Cannon
AM, Brett Cannon br...@python.org wrote: So I was waiting for Nick to say what he wanted to do for the peps repo since I view it as I get 2/3 of the choices and he gets the other third. The way I view it, the options are: 1. Move to GitHub 2. Move to Bitbucket 3. Improve our current

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-12-02 Thread Brett Cannon
On Tue Dec 02 2014 at 1:52:49 PM Antoine Pitrou solip...@pitrou.net wrote: On Tue, 02 Dec 2014 18:21:39 + Brett Cannon br...@python.org wrote: So if we did have a discussion at the summit and someone decided to argue for FLOSS vs. not as a key factor then I would politely cut them off

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-12-02 Thread Brett Cannon
On Tue Dec 02 2014 at 1:59:20 PM Barry Warsaw ba...@python.org wrote: On Dec 02, 2014, at 06:21 PM, Brett Cannon wrote: Well, if I'm going to be the Great Decider on this then I can say upfront I'm taking a pragmatic view of preferring open but not mandating it, preferring hg over git

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-12-02 Thread Brett Cannon
On Tue Dec 02 2014 at 2:15:09 PM Donald Stufft don...@stufft.io wrote: On Dec 2, 2014, at 2:09 PM, Brett Cannon br...@python.org wrote: On Tue Dec 02 2014 at 1:59:20 PM Barry Warsaw ba...@python.org wrote: On Dec 02, 2014, at 06:21 PM, Brett Cannon wrote: Well, if I'm going

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-12-02 Thread Brett Cannon
I should say I will take a few days to think about this and then I will start a new thread outlining what I think we should be aiming for to help frame the whole discussion and to give proponents something to target. On Tue Dec 02 2014 at 2:20:16 PM Brett Cannon br...@python.org wrote: On Tue

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-12-02 Thread Brett Cannon
On Tue Dec 02 2014 at 3:14:20 PM Barry Warsaw ba...@python.org wrote: On Dec 02, 2014, at 07:20 PM, Brett Cannon wrote: No because only two people have said they like the experiment idea so that's not exactly enough to say it's worth the effort. =) Plus GitHub could be chosen in the end

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-12-01 Thread Brett Cannon
review tool. Arguments about core developers vs. contributors for CPython shouldn't affect the current discussion. Next, two of the three repos mentioned in Donald's PEP 481 are owned by Brett Cannon, according to the Contact column listed on hg.python.org. I propose to let Brett choose whether

Re: [Python-Dev] advice needed: best approach to enabling metamodules?

2014-11-30 Thread Brett Cannon
On Sat, Nov 29, 2014, 21:55 Guido van Rossum gu...@python.org wrote: All the use cases seem to be about adding some kind of getattr hook to modules. They all seem to involve modifying the CPython C code anyway. So why not tackle that problem head-on and modify module_getattro() to look for a

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-11-30 Thread Brett Cannon
On Sat Nov 29 2014 at 7:16:34 PM Alex Gaynor alex.gay...@gmail.com wrote: Donald Stufft donald at stufft.io writes: [words words words] I strongly support this PEP. I'd like to share two pieces of information. Both of these are personal anecdotes: For the past several years, I've

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-11-30 Thread Brett Cannon
On Sun Nov 30 2014 at 10:55:26 AM Ian Cordasco graffatcolmin...@gmail.com wrote: On Sun, Nov 30, 2014 at 7:01 AM, Antoine Pitrou solip...@pitrou.net wrote: On Sun, 30 Nov 2014 16:23:08 +1100 Chris Angelico ros...@gmail.com wrote: Yes, GitHub is proprietary. But all of your actual code

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-11-30 Thread Brett Cannon
On Sun Nov 30 2014 at 12:00:20 PM Donald Stufft don...@stufft.io wrote: On Nov 30, 2014, at 11:44 AM, Brett Cannon br...@python.org wrote: On Sun Nov 30 2014 at 10:55:26 AM Ian Cordasco graffatcolmin...@gmail.com wrote: On Sun, Nov 30, 2014 at 7:01 AM, Antoine Pitrou solip...@pitrou.net

Re: [Python-Dev] advice needed: best approach to enabling metamodules?

2014-11-30 Thread Brett Cannon
On Sun Nov 30 2014 at 2:16:18 PM Guido van Rossum gu...@python.org wrote: On Sun, Nov 30, 2014 at 6:15 AM, Brett Cannon br...@python.org wrote: On Sat, Nov 29, 2014, 21:55 Guido van Rossum gu...@python.org wrote: All the use cases seem to be about adding some kind of getattr hook

Re: [Python-Dev] advice needed: best approach to enabling metamodules?

2014-11-30 Thread Brett Cannon
On Sun Nov 30 2014 at 2:28:31 PM Ethan Furman et...@stoneleaf.us wrote: On 11/30/2014 11:15 AM, Guido van Rossum wrote: On Sun, Nov 30, 2014 at 6:15 AM, Brett Cannon wrote: On Sat, Nov 29, 2014, 21:55 Guido van Rossum wrote: All the use cases seem to be about adding some kind of getattr

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-11-30 Thread Brett Cannon
On Sun Nov 30 2014 at 2:33:35 PM Donald Stufft don...@stufft.io wrote: On Nov 30, 2014, at 2:19 PM, Brett Cannon br...@python.org wrote: All very true, but if we can't improve both sides then we are simply going to end up with even more patches that we take a while to get around to. I want

Re: [Python-Dev] advice needed: best approach to enabling metamodules?

2014-11-30 Thread Brett Cannon
On Sun Nov 30 2014 at 3:55:39 PM Guido van Rossum gu...@python.org wrote: On Sun, Nov 30, 2014 at 11:29 AM, Nathaniel Smith n...@pobox.com wrote: On Sun, Nov 30, 2014 at 2:54 AM, Guido van Rossum gu...@python.org wrote: All the use cases seem to be about adding some kind of getattr hook to

Re: [Python-Dev] Move selected documentation repos to PSF BitBucket account?

2014-11-25 Thread Brett Cannon
On Tue Nov 25 2014 at 1:17:49 AM Nick Coghlan ncogh...@gmail.com wrote: On 25 November 2014 at 13:18, Donald Stufft don...@stufft.io wrote: There’s also the social aspects of it as well which is a big concern too IMO. If you want to attract new contributors, not just keep the ones you

Re: [Python-Dev] Move selected documentation repos to PSF BitBucket account?

2014-11-24 Thread Brett Cannon
On Mon Nov 24 2014 at 2:25:30 AM Nick Coghlan ncogh...@gmail.com wrote: On 24 November 2014 at 02:55, Brett Cannon br...@python.org wrote: On Sun Nov 23 2014 at 6:18:46 AM Nick Coghlan ncogh...@gmail.com wrote: Those features are readily accessible without changing the underlying version

Re: [Python-Dev] Move selected documentation repos to PSF BitBucket account?

2014-11-23 Thread Brett Cannon
On Sun Nov 23 2014 at 6:18:46 AM Nick Coghlan ncogh...@gmail.com wrote: On 23 Nov 2014 18:11, Donald Stufft don...@stufft.io wrote: On Nov 23, 2014, at 2:35 AM, Nick Coghlan ncogh...@gmail.com wrote: In the absence of a proposal to change version control systems (again), the lack

Re: [Python-Dev] Move selected documentation repos to PSF BitBucket account?

2014-11-23 Thread Brett Cannon
On Sun Nov 23 2014 at 1:06:18 PM Ethan Furman et...@stoneleaf.us wrote: On 11/23/2014 08:55 AM, Brett Cannon wrote: Sure, but I would never compare our infrastructure needs to Red Hat. =) You also have to be conservative in order to minimize downtown and impact for cost reasons

Re: [Python-Dev] Move selected documentation repos to PSF BitBucket account?

2014-11-23 Thread Brett Cannon
On Sun Nov 23 2014 at 1:08:58 PM Ethan Furman et...@stoneleaf.us wrote: On 11/23/2014 08:55 AM, Brett Cannon wrote: Fourth, do any core developers feel strongly about not using GitHub? Dous GitHub support hg? If not, I am strongly opposed. Depends on what you mean by support. If you

Re: [Python-Dev] Move selected documentation repos to PSF BitBucket account?

2014-11-23 Thread Brett Cannon
On Sun Nov 23 2014 at 11:56:49 AM Guido van Rossum gu...@python.org wrote: On Sat, Nov 22, 2014 at 10:49 PM, Nick Coghlan ncogh...@gmail.com wrote: More generally, I'm very, very disappointed to see folks so willing to abandon fellow community members for the sake of following the crowd.

Re: [Python-Dev] Move selected documentation repos to PSF BitBucket account?

2014-11-23 Thread Brett Cannon
On Sun Nov 23 2014 at 1:31:36 PM Brett Cannon br...@python.org wrote: On Sun Nov 23 2014 at 11:56:49 AM Guido van Rossum gu...@python.org wrote: On Sat, Nov 22, 2014 at 10:49 PM, Nick Coghlan ncogh...@gmail.com wrote: More generally, I'm very, very disappointed to see folks so willing

Re: [Python-Dev] Move selected documentation repos to PSF BitBucket account?

2014-11-23 Thread Brett Cannon
On Sun Nov 23 2014 at 3:04:05 PM Georg Brandl g.bra...@gmx.net wrote: On 11/23/2014 05:55 PM, Brett Cannon wrote: I guess my question is who and what is going to be disrupted if we go with Guido's suggestion of switching to GitHub for code hosting? Contributors won't be disrupted at all

Re: [Python-Dev] Move selected documentation repos to PSF BitBucket account?

2014-11-23 Thread Brett Cannon
On Sun Nov 23 2014 at 4:18:37 PM Georg Brandl g.bra...@gmx.net wrote: On 11/23/2014 09:42 PM, Brett Cannon wrote: [SNIP] And I'm still in support no matter what of breaking out the HOWTOs and the tutorial into their own repos for easier updating (having to update the Python

Re: [Python-Dev] Move selected documentation repos to PSF BitBucket account?

2014-11-22 Thread Brett Cannon
On Sat Nov 22 2014 at 10:00:03 AM Nick Coghlan ncogh...@gmail.com wrote: On 22 Nov 2014 07:37, Donald Stufft don...@stufft.io wrote: On Nov 21, 2014, at 3:59 PM, Ned Deily n...@acm.org wrote: Sure, I get that. But we're not even talking here about the main Python docs since they are

Re: [Python-Dev] Move selected documentation repos to PSF BitBucket account?

2014-11-21 Thread Brett Cannon
On Fri Nov 21 2014 at 7:37:13 AM Nick Coghlan ncogh...@gmail.com wrote: For those that aren't aware, PEP 474 is a PEP I wrote a while back suggesting we set up a forge.python.org service that provides easier management of Mercurial repos that don't have the complex branching requirements of

Re: [Python-Dev] Move selected documentation repos to PSF BitBucket account?

2014-11-21 Thread Brett Cannon
On Fri Nov 21 2014 at 8:57:15 AM Nick Coghlan ncogh...@gmail.com wrote: On 21 November 2014 23:29, Brett Cannon br...@python.org wrote: On Fri Nov 21 2014 at 7:37:13 AM Nick Coghlan ncogh...@gmail.com wrote: If that must be self-hosted constraint is removed, then the obvious candidate

Re: [Python-Dev] Static checker for common Python programming errors

2014-11-17 Thread Brett Cannon
On Mon Nov 17 2014 at 12:06:15 PM Stefan Bucur stefan.bu...@gmail.com wrote: Mark, thank you for the pointer! I will re-send my message there. Should I include both mailing lists in a single thread if I end up receiving replies from both? No as cross-posting becomes just a nightmare of

Re: [Python-Dev] [Python-checkins] cpython (2.7): #22650: test suite: load Unicode test data files from www.pythontest.net

2014-11-06 Thread Brett Cannon
What is pythontest.net? Is it something we control, and if so how do we add things to it for tests? Did I miss an email on python-dev or python-committers about this? On Thu Nov 06 2014 at 8:57:22 AM georg.brandl python-check...@python.org wrote: https://hg.python.org/cpython/rev/0af36ea1d010

Re: [Python-Dev] [Python-checkins] cpython (2.7): #22650: test suite: load Unicode test data files from www.pythontest.net

2014-11-06 Thread Brett Cannon
Ah, cool! Just an FYI, the index.html file is not being served for me. -Brett On Thu Nov 06 2014 at 9:41:59 AM Benjamin Peterson benja...@python.org wrote: On Thu, Nov 6, 2014, at 09:39, Brett Cannon wrote: What is pythontest.net? Is it something we control, and if so how do we add

Re: [Python-Dev] The role of NotImplemented: What is it for and when should it be used?

2014-11-03 Thread Brett Cannon
On Mon Nov 03 2014 at 5:31:21 AM Ethan Furman et...@stoneleaf.us wrote: Just to be clear, this is about NotImplemented, not NotImplementedError. tl;dr When a binary operation fails, should an exception be raised or NotImplemented returned? The docs for NotImplemented suggest it's only for

Re: [Python-Dev] Interactive Grid for Sorting, Filtering DataFrames in IPython Notebook

2014-10-07 Thread Brett Cannon
Python-dev is for discussing the development *of* Python, not *with* it. This kind of thing is more appropriate for python-list. On Tue Oct 07 2014 at 11:49:37 AM tshawver tshaw...@quantopian.com wrote: As part of the work on our research environment at Quantopian

Re: [Python-Dev] performance delta with .py presence v.s. only pyc on python 2.7.x?

2014-10-07 Thread Brett Cannon
On Tue Oct 07 2014 at 2:24:52 PM Skip Montanaro skip.montan...@gmail.com wrote: On Tue, Oct 7, 2014 at 12:46 PM, John Smith sanspriv...@gmail.com wrote: pyc-only install sees mediocre performance. (pyc's are built using compileall.py, then source .py's removed before packaging) (Warning:

Re: [Python-Dev] cpython and parallel make

2014-09-05 Thread Brett Cannon
Open an issue on bugs.python.org and attach the patch there (it should also ask you so sign the contributor agreement, but if not then please also sign that). On Fri Sep 05 2014 at 12:52:45 PM Jonas Wagner jonas.wag...@epfl.ch wrote: Hi again, the attached Makefile patch seems to fix the

Re: [Python-Dev] cpython and parallel make

2014-09-01 Thread Brett Cannon
On Mon, Sep 1, 2014, 15:16 Victor Stinner victor.stin...@gmail.com wrote: Hi, My bashrc sets MAKEFLAGS to -j9 and Python compilation works fine on Fedora 20 with GNU make and GCC. My computer has 8 cores (4 physical with hyper threading). It looks like your compiler is Clang. What is your OS

Re: [Python-Dev] Bytes path support

2014-08-20 Thread Brett Cannon
On Wed Aug 20 2014 at 9:02:25 AM Antoine Pitrou anto...@python.org wrote: Le 20/08/2014 07:08, Nick Coghlan a écrit : It's not just the JVM that says text and binary APIs should be separate - it's every widely used operating system services layer except POSIX. The POSIX way works well

Re: [Python-Dev] [Python-checkins] Daily reference leaks (09f56fdcacf1): sum=21004

2014-08-07 Thread Brett Cannon
test_codecs is not happy. Looking at the subject lines of commit emails from the past day I don't see any obvious cause. On Thu Aug 07 2014 at 4:35:05 AM solip...@pitrou.net wrote: results for 09f56fdcacf1 on branch default test_codecs leaked

Re: [Python-Dev] Contribute to Python.org

2014-07-29 Thread Brett Cannon
On Tue Jul 29 2014 at 4:52:14 PM agrim khanna khannaag...@gmail.com wrote: Respected Sir/Madam, I have installed the setup on my machine and have compiled and run it as well. I was unable to figure out how to make a patch and how to find a suitable bug for me to fix. I request you to guide

Re: [Python-Dev] Does Zip Importer have to be Special?

2014-07-24 Thread Brett Cannon
On Thu Jul 24 2014 at 1:07:12 PM, Phil Thompson p...@riverbankcomputing.com wrote: I have an importer for use in applications that embed an interpreter that does a similar job to the Zip importer (except that the storage is a C data structure rather than a .zip file). Just like the Zip

Re: [Python-Dev] Does Zip Importer have to be Special?

2014-07-24 Thread Brett Cannon
On Thu Jul 24 2014 at 2:12:20 PM, Phil Thompson p...@riverbankcomputing.com wrote: On 24/07/2014 6:48 pm, Brett Cannon wrote: On Thu Jul 24 2014 at 1:07:12 PM, Phil Thompson p...@riverbankcomputing.com wrote: I have an importer for use in applications that embed an interpreter

Re: [Python-Dev] Remaining decisions on PEP 471 -- os.scandir()

2014-07-20 Thread Brett Cannon
Oh yes. :) The file Antoine is referring to is the implementation of import. On Sun, Jul 20, 2014, 17:34 Ben Hoyt benh...@gmail.com wrote: Have you tried modifying importlib's _bootstrap.py to use scandir() instead of listdir() + stat()? No, I haven't -- I'm not familiar with that code.

Re: [Python-Dev] PEP 3121, 384 Refactoring Issues

2014-07-14 Thread Brett Cannon
On Mon Jul 14 2014 at 11:27:34 AM, Martin v. Löwis mar...@v.loewis.de wrote: Am 12.07.14 17:19, schrieb Nick Coghlan: Using the stable ABI for standard library extensions also serves to decouple them further from the internal details of the CPython runtime, making it more likely they will

Re: [Python-Dev] Python Job Board

2014-07-14 Thread Brett Cannon
On Mon Jul 14 2014 at 12:17:03 PM, Ethan Furman et...@stoneleaf.us wrote: has now been dead for five months. This is the wrong place to ask about this. It falls under the purview of the web site who you can email at webmaster@ or submit an issue at https://github.com/python/pythondotorg . But

Re: [Python-Dev] PEP 3121, 384 Refactoring Issues

2014-07-10 Thread Brett Cannon
[for those that don't know, 3121 is extension module inti/finalization and 384 is the stable ABI] On Thu Jul 10 2014 at 3:47:03 PM, Mark Lawrence breamore...@yahoo.co.uk wrote: I'm just curious as to why there are 54 open issues after both of these PEPs have been accepted and 384 is listed as

[Python-Dev] cpython and python debugger documentation

2014-06-09 Thread Brett Cannon
On Sat Jun 07 2014 at 5:55:29 PM, Le Pa lpan...@gmail.com wrote: Hi, I am interested in learning how the cpython interpreter is designed and implemented, and also how the python debugger works internally. My ultimate purpose is to modify them for my distributed computing needs. Are there

[Python-Dev] Help with the build system and my first patch

2014-06-09 Thread Brett Cannon
On Mon Jun 09 2014 at 2:07:22 AM, Steven Stewart-Gallus sstewartgallu...@mylangara.bc.ca wrote: Hello, I would like some help understanding the build system. I am currently working on an issue (http://bugs.python.org/issue21627) and plan to create some common functionality in

Re: [Python-Dev] Help with the build system and my first patch

2014-06-09 Thread Brett Cannon
On Mon Jun 09 2014 at 1:48:27 PM, Steven Stewart-Gallus sstewartgallu...@mylangara.bc.ca wrote: Do you mean other than potentially detecting something in the configurescript and using an #ifdef guard? Yes, that works on a static function inside a file level but I need to conditionally

Re: [Python-Dev] Division of tool labour in porting Python 2 code to 2/3

2014-06-07 Thread Brett Cannon
On Sat Jun 07 2014 at 9:11:54 AM, Claudiu Popa pcmantic...@gmail.com wrote: On Fri, Jun 6, 2014 at 7:37 PM, Brett Cannon bcan...@gmail.com wrote: After Glyph and Alex's email about their asks for assisting in writing Python 2/3 code, it got me thinking about where in the toolchain various

[Python-Dev] Division of tool labour in porting Python 2 code to 2/3

2014-06-06 Thread Brett Cannon
After Glyph and Alex's email about their asks for assisting in writing Python 2/3 code, it got me thinking about where in the toolchain various warnings and such should go in order to help direct energy to help develop whatever future toolchain to assist in porting. There seems to be three places

Re: [Python-Dev] Division of tool labour in porting Python 2 code to 2/3

2014-06-06 Thread Brett Cannon
On Fri Jun 06 2014 at 2:29:13 PM, Terry Reedy tjre...@udel.edu wrote: On 6/6/2014 12:37 PM, Brett Cannon wrote: After Glyph and Alex's email about their asks for assisting in writing Python 2/3 code, it got me thinking about where in the toolchain various warnings and such should go

Re: [Python-Dev] Moving Python 3.5 on Windows to a new compiler

2014-06-06 Thread Brett Cannon
On Fri Jun 06 2014 at 2:59:24 PM, dw+python-...@hmmz.org wrote: On Fri, Jun 06, 2014 at 10:49:24PM +0400, Brian Curtin wrote: None of the options are particularly good, but yes, I think that's an option we have to consider. We're supporting 2.7.x for 6 more years on a compiler that is

Re: [Python-Dev] use cases for python-config versus pkg-config python

2014-06-02 Thread Brett Cannon
Patches sent to python-dev are typically ignored. Could you open an issue on bugs.python.org and upload it there? On Mon Jun 02 2014 at 2:20:43 PM, Michael Haubenwallner michael.haubenwall...@ssi-schaefer.com wrote: Hi, following up myself with a patch proposal: On 05/28/2014 04:51 PM,

Re: [Python-Dev] [Python-checkins] cpython: Issue #20383: Introduce importlib.util.module_from_spec().

2014-05-30 Thread Brett Cannon
:Brett Cannon br...@python.org date:Fri May 30 14:55:29 2014 -0400 summary: Issue #20383: Introduce importlib.util.module_from_spec(). diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py

[Python-Dev] [Python-checkins] Daily reference leaks (8391f99208f6): sum=181

2014-05-29 Thread Brett Cannon
I think the memory leak was caused by http://hg.python.org/cpython/rev/7d20e30bd540 because http://hg.python.org/cpython/file/0eedac3d0b0a/Python/import.c#l903 sets the 'res' variable and then overwrites it unconditionally w/o PY_DECREF beforehand. On Thu May 29 2014 at 4:02:17 AM,

[Python-Dev] Language Summit Follow-Up

2014-05-29 Thread Brett Cannon
On Wed May 28 2014 at 10:14:39 PM, Glyph Lefkowitz gl...@twistedmatrix.com wrote: At the language summit, Alex and I volunteered to put together some recommendations on what changes could be made to Python (the language) in order to facilitate a smoother transition from Python 2 to Python 3.

Re: [Python-Dev] devguide: Add myself to developer log and as a Windows expert.

2014-05-17 Thread Dr. Brett Cannon
Brett Cannon and I are both in a position to build 2.7 right now, and I hope to simplify the setup required for 3.5 so that anyone can produce and test the installers. (Martin is going to look after the 3.4.x builds.) Obviously I'm also here to help out with Windows in general. I haven't quite

[Python-Dev] Update to PEP 11 to clarify garnering platform support

2014-05-16 Thread Brett Cannon
, +Brett Cannon br...@python.org Status: Active Type: Process Content-Type: text/x-rst Created: 07-Jul-2002 Post-History: 18-Aug-2007 + 16-May-2014 Abstract -This PEP documents operating systems (platforms) which are not -supported in Python anymore

Re: [Python-Dev] Where is our official policy of what platforms we do support?

2014-05-15 Thread Brett Cannon
On Thu May 15 2014 at 10:24:45 AM, Skip Montanaro s...@pobox.com wrote: On Thu, May 15, 2014 at 8:26 AM, Antoine Pitrou solip...@pitrou.net wrote: We already have such buildbots, they are in the unstable category. You can browse through existing buildbots here:

[Python-Dev] Where is our official policy of what platforms we do support?

2014-05-14 Thread Brett Cannon
Over the past week or so there have been 2 patches to add support for various UNIX OSs. Now I thought we had stopped trying to add new esoteric OSs (e.g. I had never heard of MirOS until the patch for it came in), but I can't find a PEP that spells out what it takes to get a platform supported (

Re: [Python-Dev] Where is our official policy of what platforms we do support?

2014-05-14 Thread Brett Cannon
On Wed May 14 2014 at 10:43:18 AM, Antoine Pitrou solip...@pitrou.net wrote: On Wed, 14 May 2014 14:20:26 + Brett Cannon bcan...@gmail.com wrote: Over the past week or so there have been 2 patches to add support for various UNIX OSs. Now I thought we had stopped trying to add new

<    7   8   9   10   11   12   13   14   15   16   >