Mark Lawrence at 2016/3/5 UTC+8 8:01:06PM wrote:
>
> HTH http://python3porting.com/problems.html
OK, now I understand what "from .cparset import *" means, but it didn't help on
solving this import error:-(
Thanks for the link, although it seems not help on this problem either:-)
--Jach
--
On 05/03/2016 08:14, jf...@ms4.hinet.net wrote:
Chris Angelico at 2016/3/5 UTC+8 1:50:05PM wrote:
Your conclusion may well be correct. However, the exact issue you're
looking at here might be easily enough fixed; it looks like it's
trying to sort things by length, so you can simply use
Chris Angelico at 2016/3/5 UTC+8 1:50:05PM wrote:
> Your conclusion may well be correct. However, the exact issue you're
> looking at here might be easily enough fixed; it looks like it's
> trying to sort things by length, so you can simply use "key=len" (and
> maybe "reverse=True").
After Chris
On Sat, Mar 5, 2016 at 4:35 PM, wrote:
> After taking Chris's suggestion, the installation is pushing forward a little
> and then bump into another error:
> --
> File "D:\Patch\ctypesgen-master\ctypesgencore\parser\pplexer.py", line 123, in
> punctuator_regex
>
Peter Otten 2016/3/4 UTC+8 8:36:02PM worte:
> """
> The 2to3 route is not likely to apply since ctypesgen actually writes Python
> code and the 2to3 utility will probably miss a good portion of that logic.
> """
>
> But as someone else seems to have done the work already
>
>
jf...@ms4.hinet.net wrote:
> I try to test this package but with no luck. This module was written for
> Python 2.x but mine is 3.4 so I use the 2To3 to "upgrade" it first (it
> seems OK). Then I run "python setup.py install" and get the following
> error:
>...
>...
>File
On Fri, Mar 4, 2016 at 10:08 PM, wrote:
> Below is the troubled codes in file lex.py:
> Note: In original codes (before 2To3 modify), there is "types.ObjectType"
> instead of "object".
> -
> # Available instance types. This is used when lexers are defined by a
I try to test this package but with no luck. This module was written for Python
2.x but mine is 3.4 so I use the 2To3 to "upgrade" it first (it seems OK). Then
I run "python setup.py install" and get the following error:
...
...
File