Re: Announcement: TLSv1.2 will become mandatory in the future for Python.org Sites

2017-01-10 Thread Donald Stufft
> On Jan 10, 2017, at 9:59 AM, Oleg Broytman wrote: > > On Tue, Jan 10, 2017 at 08:27:21AM -0500, Donald Stufft > wrote: >>python3 -c "import urllib.request,json; >> print(json.loads(urllib.request.urlopen('https://www.howsmyssl.com/a/check').read()

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

2014-12-10 Thread Donald Stufft
moin/2.x-vs-3.x-survey> Just going to say http://d.stufft.io/image/0z1841112o0C <http://d.stufft.io/image/0z1841112o0C> is a hard question to answer, since most code I write is both. --- Donald Stufft PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA -- https://mail.python.org/mailman/listinfo/python-list

Re: [Distutils] Call for information - What assumptions can I make about Unix users' access to Windows?

2014-11-07 Thread Donald Stufft
. It does not have Python or any development tooling installed on it. I also have access to the cloud(tm) which is where I normally spin up a whatever-the-most-recent-looking-name Windows Server. --- Donald Stufft PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA -- https://mail.python.org/mailman/listinfo/python-list

Re: Is there a unique method in python to unique a list?

2012-09-08 Thread Donald Stufft
gt; necessary there if we can use unique.append(x) alone? Thanks for your > enlightenment. > > On Sun, Sep 9, 2012 at 1:59 PM, Donald Stufft (mailto:donald.stu...@gmail.com)> wrote: > > seen = set() > > uniqued = [] > > for x in original: > > if not x in s

Re: Is there a unique method in python to unique a list?

2012-09-08 Thread Donald Stufft
If you don't need to retain order you can just use a set, set([1, 1, 2, 3, 4]) = set([1, 2, 3, 4]) But set's don't retain order. On Sunday, September 9, 2012 at 1:43 AM, Token Type wrote: > Is there a unique method in python to unique a list? thanks > -- > http://mail.python.org/mailman/lis

Re: pypi and dependencies

2012-03-20 Thread Donald Stufft
packaging (in 3.3) and distutils2 (2.x-3.2) is a new metadata format for python packages. It gets rid of setup.py and it includes a way to specify the requirements that your package needs. This will show up on PyPI/Crate. On Tuesday, March 20, 2012 at 8:01 AM, Andrea Crotti wrote: > On 03/20/2

Re: Looking for PyPi 2.0...

2012-02-15 Thread Donald Stufft
, encourage people to host their code and encourage following packaging standards. I'm currently focused mostly on the backend stability (e.g. getting it stable) but emphasizing things that are generally good for the packaging ecosystem is something I hope to do. > > John Nagle > --