Re: [Python-Dev] 2.7 is here until 2020, please don't call it a waste.

2015-05-29 Thread Ian Cordasco
On Fri, May 29, 2015 at 6:04 PM, Guido van Rossum wrote: > On Fri, May 29, 2015 at 2:52 PM, Ian Cordasco > wrote: >> >> On Fri, May 29, 2015 at 4:14 PM, Gregory P. Smith wrote: >> > >> > On Fri, May 29, 2015 at 12:24 AM Nick Coghlan >> > wro

Re: [Python-Dev] 2.7 is here until 2020, please don't call it a waste.

2015-05-29 Thread Ian Cordasco
On Fri, May 29, 2015 at 4:14 PM, Gregory P. Smith wrote: > > On Fri, May 29, 2015 at 12:24 AM Nick Coghlan wrote: >> >> >> On 29 May 2015 11:01 am, "Victor Stinner" >> wrote: >> > >> > Why not continue to enhance Python 3 instead of wasting our time with >> > Python 2? We have limited resources

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-28 Thread Ian Cordasco
On Thu, May 28, 2015 at 5:08 PM, Paul Sokolovsky wrote: > Hello, > > On Thu, 28 May 2015 23:48:59 +0200 > Matthias Klose wrote: > > [] > >> And the very same place where you are working is investing in getting >> shared libraries working for Go. Single binaries may be popular for >> distributing

Re: [Python-Dev] Free lists

2015-05-09 Thread Ian Cordasco
On May 9, 2015 5:07 PM, "Serhiy Storchaka" wrote: > > On 09.05.15 22:51, Larry Hastings wrote: >> >> On 05/09/2015 12:01 PM, Serhiy Storchaka wrote: >>> >>> Here is a statistic for most called PyObject_INIT or PyObject_INIT_VAR >>> for types (collected during running Python tests on 32-bit Linux).

Re: [Python-Dev] typeshed for 3rd party packages

2015-04-22 Thread Ian Cordasco
On Wed, Apr 22, 2015 at 11:30 AM, Skip Montanaro wrote: > > > On Wed, Apr 22, 2015 at 11:26 AM, Ian Cordasco > wrote: > >> On a separate thread Cory provided an example of what the hints would >> look like for *part* of one function in the requests public function

Re: [Python-Dev] typeshed for 3rd party packages

2015-04-22 Thread Ian Cordasco
On Wed, Apr 22, 2015 at 11:12 AM, Skip Montanaro wrote: > > On Wed, Apr 22, 2015 at 10:43 AM, Guido van Rossum > wrote: > >> For Requests, it looks like it may be better not to have stubs at all. > > > Can you expand on this? Why would Requests be any different than any other > module/package? >

Re: [Python-Dev] Type hints -- a mediocre programmer's reaction

2015-04-20 Thread Ian Cordasco
On Mon, Apr 20, 2015 at 4:00 PM, Harry Percival wrote: > @Lukasz: > > Of course you're right, ugly is a matter of perspective, and I'm sure I > could grow to love them, and they might evolve into a more polished > direction > > > "they start to read more transparently after a while." > > But I'm

Re: [Python-Dev] Aprender Pythton

2015-04-14 Thread Ian Cordasco
On Tue, Apr 14, 2015 at 7:54 PM, Andrew Svetlov wrote: > Python-dev is for development OF Python, not for development WITH Python > or Python LEARNING, BTW. > > On Tue, Apr 14, 2015 at 8:46 PM, Raúl Cumplido > wrote: > >> Hi Andrew, >> >> Is someone asking where to find resources to learn Python

Re: [Python-Dev] Prefixes and namespaces

2015-02-21 Thread Ian Cordasco
On Sat, Feb 21, 2015 at 1:28 PM, Serhiy Storchaka wrote: > /* Namespaces are one honking great idea -- let's do more of those! */ > > There are two ways to avoid name conflicts: prefixes and namespaces. > Programming languages that lacks namespaces (such as C) need to use > prefixes. For example:

Re: [Python-Dev] Fwd: str(IntEnum)

2015-02-20 Thread Ian Cordasco
On Fri, Feb 20, 2015 at 12:36 PM, Florian Bruhin wrote: > * Demian Brecht [2015-02-20 10:24:53 -0800]: >> These and other implementations return a string representation of the >> instance’s value, not a string representation of the object itself. Whereas >> elsewhere in the standard library: >>

Re: [Python-Dev] [PyPI] Why are some packages on pypi.python.org/simple, but have no page?

2015-01-18 Thread Ian Cordasco
Taking one of your examples: https://pypi.python.org/simple/acid/ 404s (I didn't bother checkin the other three). So there are links on /simple but no content for them. So I think your question is better asked, why are there links on /simple that lead to 404s. On Sun, Jan 18, 2015 at 9:08 AM, Mart

Re: [Python-Dev] Overriding stdlib http package

2015-01-14 Thread Ian Cordasco
I think this belongs on python-list, not python-dev. On Wed, Jan 14, 2015 at 10:32 AM, Demian Brecht wrote: > Hi all, > > As part of the work I'm doing on httplib3 (now that I've actually gotten > a bit of time), one of the things I'm trying to get done is injection of > httplib3 over http in ord

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

2014-12-10 Thread Ian Cordasco
On Wed, Dec 10, 2014 at 11:10 AM, Donald Stufft wrote: > > On Dec 10, 2014, at 11:59 AM, Bruno Cauet wrote: > > Hi all, > Last year a survey was conducted on python 2 and 3 usage. > Here is the 2014 edition, slightly updated (from 9 to 11 questions). > It should not take you more than 1 minute to

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

2014-12-05 Thread Ian Cordasco
On Dec 5, 2014 4:18 PM, "Eric Snow" wrote: > > Very nice, Brett. > > On Fri, Dec 5, 2014 at 1:04 PM, Brett Cannon wrote: > > And we can't forget the people who help keep all of this running as well. > > There are those that manage the SSH keys, the issue tracker, the review > > tool, hg.python.or

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

2014-11-30 Thread Ian Cordasco
Can this discussion be split off into a separate discussion. It's tangential to the PEP and clearly not actively progressing so it doesn't seem productive. I don't care where it's taken, but I don't think this belongs here. Speculation on the actions of the msysgit project are not fair talk for thi

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

2014-11-30 Thread Ian Cordasco
On Nov 30, 2014 11:09 AM, "Donald Stufft" wrote: > > > > On Nov 30, 2014, at 11:55 AM, Barry Warsaw wrote: > > > > On Nov 30, 2014, at 09:54 AM, Ian Cordasco wrote: > > > >> - Migrating "data" from GitHub is easy. There are free-as-in-f

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

2014-11-30 Thread Ian Cordasco
On Sun, Nov 30, 2014 at 7:01 AM, Antoine Pitrou wrote: > On Sun, 30 Nov 2014 16:23:08 +1100 > Chris Angelico wrote: >> >> Yes, GitHub is proprietary. But all of your actual code is stored in >> git, which is free, and it's easy to push that to a new host somewhere >> else, or create your own host

Re: [Python-Dev] Adding numbering to PEP 20, the Zen of Python

2014-09-18 Thread Ian Cordasco
On Thu, Sep 18, 2014 at 8:30 PM, Ben Hoyt wrote: > I was emailing someone today about implementing something (for PEP > 471, as it happens) and wanted to link to the Zen of Python [1] and > note a particular clause (in this case "If the implementation is hard > to explain, it's a bad idea."). Howe

Re: [Python-Dev] pip enhancement

2014-08-27 Thread Ian Cordasco
On Wed, Aug 27, 2014 at 8:24 AM, Paul Moore wrote: > On 27 August 2014 13:58, Neal Becker wrote: >> At least, pip should have the ability to alert the user to potential updates, >> >> pip update >> >> could list which packages need updating, and offer to perform the update. I >> think this would

Re: [Python-Dev] https:bugs.python.org -- Untrusted Connection (Firefox)

2014-08-18 Thread Ian Cordasco
On Mon, Aug 18, 2014 at 3:22 PM, Benjamin Peterson wrote: > It uses a CACert certificate, which your system probably doesn't trust. > > On Mon, Aug 18, 2014, at 13:12, Terry Reedy wrote: >> Firefox does not want to connect to https:bugs.python.org. Plain >> bugs.python.org works fine. Has the cert

Re: [Python-Dev] PEP 467: Minor API improvements for bytes & bytearray

2014-08-17 Thread Ian Cordasco
On Sun, Aug 17, 2014 at 8:52 PM, Ethan Furman wrote: > On 08/17/2014 04:08 PM, Nick Coghlan wrote: >> >> >> I'm fine with postponing the deprecation elements indefinitely (or just >> deprecating bytes(int) and leaving >> bytearray(int) alone). > > > +1 on both pieces. Perhaps postpone the depreca

[Python-Dev] Fwd: PEP 467: Minor API improvements for bytes & bytearray

2014-08-17 Thread Ian Cordasco
On Aug 17, 2014 12:17 PM, "Donald Stufft" wrote: >> On Aug 17, 2014, at 1:07 PM, Raymond Hettinger >> wrote: >> >> >> On Aug 17, 2014, at 1:41 AM, Nick Coghlan wrote: >> >>> If I see "bytearray(10)" there is nothing there that suggests "this >>> creates an array of length 10 and initialises it

Re: [Python-Dev] Multiline with statement line continuation

2014-08-12 Thread Ian Cordasco
On Tue, Aug 12, 2014 at 7:15 AM, Steven D'Aprano wrote: > On Tue, Aug 12, 2014 at 10:28:14AM +1000, Nick Coghlan wrote: >> On 12 Aug 2014 09:09, "Allen Li" wrote: >> > >> > This is a problem I sometimes run into when working with a lot of files >> > simultaneously, where I need three or more `wit

Re: [Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]

2014-05-09 Thread Ian Cordasco
Stefan, If the only way you can think of to invalidate Donald's (vastly superior) arguments is to accuse of him of "gossip", you should probably reconsider your arguments. Looking at the conversation you didn't actually link to (https://botbot.me/freenode/python-requests/msg/14389415/) there is no

Re: [Python-Dev] pip SSL

2013-10-19 Thread Ian Cordasco
Also the three of us maintaining requests and the author of urllib3 are all very conscious that the packaged pem file is outdated. We have an open issue about how to rebuild it accurately while taking into consideration (and not including) the ones that have been revoked. Any suggestions you have c

Re: [Python-Dev] I cannot create bug reports

2013-04-24 Thread Ian Cordasco
The first thing that comes to mind is that your session expired and you need to log-in again. After logging in myself I see the form in all of it's glory. On Wed, Apr 24, 2013 at 2:35 PM, Daniel Wong wrote: > Glorious members of python-dev, > > I'd like to submit a patch, but I cannot create a bu

Re: [Python-Dev] [Announcement] New mailing list for code quality tools including Flake8, Pyflakes and Pep8

2013-04-04 Thread Ian Cordasco
On Wed, Apr 3, 2013 at 9:21 PM, Alfredo Solano Martínez wrote: > Hi, > > Are you planning to cover the code quality of the interpreter itself > too? I've been recently reading through the cert.org secure coding > practice recommendations and was wondering if there has is any ongoing > effort to pe

[Python-Dev] [Announcement] New mailing list for code quality tools including Flake8, Pyflakes and Pep8

2013-04-03 Thread Ian Cordasco
Hello, There's a new mailing-list related to Python code-quality tools. Are you concerned about the evolution of various code checkers? Do you have questions or suggestions? Subscribe here: http://mail.python.org/mailman/listinfo/code-quality Best regards, Ian __

Re: [Python-Dev] Can't upload to PyPI

2013-02-21 Thread Ian Cordasco
On Thu, Feb 21, 2013 at 9:27 PM, MRAB wrote: > On 2013-02-22 02:09, Ian Cordasco wrote: >> >> On Thu, Feb 21, 2013 at 9:02 PM, MRAB wrote: >>> >>> Since the PyPI security notice of 2013-02-15 I've been unable to upload >>> to PyPI via "setup.

Re: [Python-Dev] Can't upload to PyPI

2013-02-21 Thread Ian Cordasco
This is probably better suited to Catalog-sig but you have to edit your credentials in $HOME/.pypirc On Thu, Feb 21, 2013 at 9:02 PM, MRAB wrote: > Since the PyPI security notice of 2013-02-15 I've been unable to upload > to PyPI via "setup.py upload". > > I changed my password during the grace p

Re: [Python-Dev] why do we allow this syntax?

2013-02-08 Thread Ian Cordasco
On Feb 8, 2013 3:37 PM, "Xavier Morel" wrote: > > On 2013-02-08, at 18:45 , Chris Withers wrote: > > > On 08/02/2013 16:17, Oscar Benjamin wrote: > >> Decimal.__pos__ uses it to return a Decimal instance that has the > >> default precision of the current Decimal context: > >> > > from decimal