Re: python-parse-type

2017-05-16 Thread Piotr Ożarowski
[Barry Warsaw, 2017-05-16] > Why is that wrong? Agreed it's perhaps less discoverable in this case, but if > you were looking for the PyPI enum34 package in Debian, you'd find > python-enum34 first, and it would make sense. It must be a pain for all these PyPI users... >>> import Foo-Bar Syn

Re: python-parse-type

2017-05-16 Thread Simon McVittie
On Tue, 16 May 2017 at 08:00:43 -0400, Barry Warsaw wrote: > On May 16, 2017, at 11:51 AM, Piotr Ożarowski wrote: > >packaged as python-enum34 (correct name is python-enum, that's why you > >didn't find it most probably) > > Why is that wrong? Agreed it's perhaps less discoverable in this case, b

Re: python-parse-type

2017-05-16 Thread Barry Warsaw
On May 16, 2017, at 08:10 PM, Brian May wrote: >python-enum - robust enumerated type support in Python >python3-enum34 - backport of Python 3.4's enum package Oh yeah, that too. :) -Barry

Re: python-parse-type

2017-05-16 Thread Barry Warsaw
On May 16, 2017, at 11:51 AM, Piotr Ożarowski wrote: >packaged as python-enum34 (correct name is python-enum, that's why you >didn't find it most probably) > >Barry: ;-P Why is that wrong? Agreed it's perhaps less discoverable in this case, but if you were looking for the PyPI enum34 package in

Re: python-parse-type

2017-05-16 Thread Ghislain Vaillant
On Tue, 2017-05-16 at 12:36 +0200, Piotr Ożarowski wrote: > [Brian May, 2017-05-16] > > python-enum - robust enumerated type support in Python > > ah, that's why python-enum34 name was chosen, there's even > "Breaks: python-enum" - I've missed it because it's no longer in > unstable Indeed both (

Re: python-parse-type

2017-05-16 Thread Lars Kruse
Hi Brian, Am Tue, 16 May 2017 20:10:02 +1000 schrieb Brian May : > python-enum - robust enumerated type support in Python "python-enum" is based on https://pypi.python.org/pypi/enum while "python-enum34" is based on https://pypi.python.org/pypi/enum34. "enum" lacks support for IntEnum (and mayb

Re: python-parse-type

2017-05-16 Thread Piotr Ożarowski
[Brian May, 2017-05-16] > python-enum - robust enumerated type support in Python ah, that's why python-enum34 name was chosen, there's even "Breaks: python-enum" - I've missed it because it's no longer in unstable -- GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

Re: python-parse-type

2017-05-16 Thread Brian May
Nicolas CANIART writes: > But there exists a Python 2.7 backport: the enum34 package (there are > others but I think this one is the most used and standard). See > https://pypi.python.org/pypi/enum34/1.1.6 Wondering why I thought otherwise. I tested this by running "python" and then "import enum

Re: python-parse-type

2017-05-16 Thread Brian May
Piotr Ożarowski writes: > packaged as python-enum34 (correct name is python-enum, that's why you > didn't find it most probably) I see the following packages: python-enum - robust enumerated type support in Python python3-enum34 - backport of Python 3.4's enum package The first is wheezy and j

Re: python-parse-type

2017-05-16 Thread Piotr Ożarowski
[Nicolas CANIART, 2017-05-16] > https://pypi.python.org/pypi/enum34/1.1.6 packaged as python-enum34 (correct name is python-enum, that's why you didn't find it most probably) Barry: ;-P -- GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

Re: python-parse-type

2017-05-16 Thread Nicolas CANIART
Hi Brian, Enums are a Python 3 feature (3.4 to be precise). No enum in Python 2.x: https://docs.python.org/2/library/index.html But there exists a Python 2.7 backport: the enum34 package (there are others but I think this one is the most used and standard). See https://pypi.python.org/pypi/enum

python-parse-type

2017-05-16 Thread Brian May
Hello, Trying to build the python-parse-type package on Sid (source is in git for DPMT), required by python-pytest-bdd, I get the following error repeated a number of times: Traceback: tests/test_parse_util.py:7: in from .parse_type_test import TestCase, unittest tests/parse_type_test.py:3: