1 |
2013-10-17 04:53 Mike Frysinger napisał(a): |
2 |
> On Wednesday 16 October 2013 22:51:17 Mike Frysinger wrote: |
3 |
> > On Wednesday 16 October 2013 20:02:50 Arfrever Frehtes Taifersar Arahesis |
4 |
> > |
5 |
> > wrote: |
6 |
> > > 2013-10-16 23:03 Mike Frysinger napisał(a): |
7 |
> > > > Rather than each module implementing its own shim around the various |
8 |
> > > > methods for accessing extended attributes, start a dedicated module |
9 |
> > > > that exports a consistent API. |
10 |
> > > |
11 |
> > > Some things are incompatible with Python 3. |
12 |
> > > See other comments below. |
13 |
> > |
14 |
> > i can run a linter on the code (probably should make this a git hook). i'm |
15 |
> > interested more in review on the bigger picture. |
16 |
> |
17 |
> also, none of your comments were py3 issues that i saw |
18 |
|
19 |
I said "other comments", so I meant comments not related to incompatibility with Python 3. |
20 |
|
21 |
About incompatibility with Python 3: |
22 |
- subprocess.check_output(), subprocess.Popen().stdout.read(), subprocess.Popen().stderr.read() return |
23 |
bytes, which is incorrectly compared with str in your patches. |
24 |
- dict.iteritems() was renamed to dict.items() (and its return type was changed from dictionary-itemiterator |
25 |
to dict_items, but it does not matter here). |
26 |
- Queue module was renamed to queue. |
27 |
- cStringIO module should not be used. io module is a replacement available since Python 2.6. |
28 |
- Maybe other problems... |
29 |
|
30 |
-- |
31 |
Arfrever Frehtes Taifersar Arahesis |