On 30 June 2013 05:08, Ethan Furman <[email protected]> wrote:
> I was hoping to provide good examples of Python 3 code (as opposed to good
> examples of 2/3 boundary straddling), but yeah, it's danged difficult!

Writing idiomatic Python 3 code and supporting both Python 2 & 3
aren't really compatible goals. I suggest pointing to the stdlib
implementation for the idiomatic Python 3 only code, and just
targeting the common 2/3 subset for the PyPI version - a lot of people
have been down this road before you and it really is the easiest way
to do it :)

> Is there a way to have both a Py2 distribution and a Py3 distribution
> available on PyPI?

Register two different names (which also makes for a fairly poor end
user experience)

Cheers,
Nick.

--
Nick Coghlan   |   [email protected]   |   Brisbane, Australia
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to