New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for python3 #190
Comments
is possible to ask why ? |
from py website
bytheway this why not |
what is the real problem make a dual python support like other programs/libs? |
It's more a pita to maintain. |
A really big pain. Python 2 and Python 3 share the same fundamental design, but are very different. You're basically asking a person who does this in their free time to double their work. |
and when python2 reatches its EOL? like python1 |
When it reaches its EOL, then you update the code to Python 3 and you don't have to manage two separate languages doing the same thing. |
like now? i'm linux user, need both pythons because need keep older version of python for programs like this |
nope, no time to do it. I'm accepting pull request if someone can do it (and it doesn't break anything). I'm using windows and python 2.7.x only. |
hi, i'm trying on my fork so it can be able to run on python3. until this commit rachmadaniHaryono@edcf06f i have sucessfully download single image id by copy the session value from browser. here are some difficulties, when trying to port it:
|
* chg: dev: use python3 print format * chg: dev: use future lib * chg: dev: print line with trailing comma * chg: dev: missing parenthesis * fix: dev: miss end kwarg
finished setting a travis test on
@Nandaka can you check if this branch test result is accurate https://travis-ci.org/rachmadaniHaryono/PixivUtil2/builds/355791687 ? e: current tag parse method seems to be different on py2/py3.
|
get the latest (089c171), I've changed some of the test cases, it should be ok, I think |
I'm not on pc now, but I see you have added Travis config. Do you want add all test to Travis? E: also travis test said it is working so I work on it later e2: test fix merged
e3: related #347 e4:
2 special anchor tag on <a class="work _work " href="member_illust.php?mode=medium&illust_id=23353599" style="display:block">
<div class="_layout-thumbnail">
<img class="ui-scroll-view" data-filter="thumbnail-filter lazy-image" data-id="23353599" data-src="https://source.pixiv.net/common/images/limit_unknown_s.png?20110520" data-tags="----- ----- ----- ----- ----- ----- ----- ----- ----- -----" data-type="illust" data-user-id="0" src="https://source.pixiv.net/www/images/common/transparent.gif"/>
</div>
</a>
<a href="member_illust.php?mode=medium&illust_id=23353599">
<h1 class="title" title="-----">-----</h1>
</a> 2 anchor-tag when getting imageTitle <h1 class="title">
<a class="_icon sprites-logo" href="http://www.pixiv.net/mypage.php">pixiv</a>
</h1>,
<h1 class="title">Cos-Nurse</h1> e5: for python3.4
|
i'm trying a new strategy with this branch https://github.com/rachmadaniHaryono/PixivUtil2/tree/feature/py3 rules:
so when this happen
do this:
e1: add #387 for easier migration also working on mypy test.
|
To further this, @Nandaka, python 2 EOL is at the end of this year. a python 3 branch should probably be the top priority. |
…does something. Possibly fixes Nandaka#506 and Nandaka#190
…does something. Possibly fixes Nandaka#506 and Nandaka#190
Hi
is possible add support for python3?
greetings
The text was updated successfully, but these errors were encountered: