Python 3.x Progress Update
Skeo last edited by
@dgelessus Do you know if there is a way to copy/paste the traceback error from in pythonista or do I just need to type it out by hand into the forum? It was a bunch of levels deep, but I don't have my ipad with my to copy it right now.
I didn't change any code as I couldn't figure out how to modify the dropbox module that is built in. Clicking on the links in the traceback shows the relevant files in read-only. That's why I posted here asking if updating the module using the new SDK is something I can actually do myself. I assume @omz has this on the to-do list now?
@Skeo You could
traceback.print_stack()and copy that (that may not be the exact name, check the documentation for the
dgelessus last edited by
@Webmaster4o I think you want
traceback.print_stackonly prints the call stack, which you can do even if no exception is raised.
How is the development going? It's been almost two weeks now
Same here, I am really eager to test the next version !!!
omz last edited by
dgelessus last edited by
@omz When in doubt, blame daylight saving time.
(Explanation for non-Europeans: Our DST just began last weekend.)
@dgelessus My DST started about 2-3 weeks ago I think. I can't remember. Just remember being tired :)
cook last edited by
I have no DST!
@omz Update looks really good! First things I noticed:
- Great new icon!
- The "Run with Python 2.7" option has to be selected every time. My idea on this is:
- Have a small number 2 or 3 shown in the bottom right of the "Run" icon to show whether Python 2 or 3 is selected to run
- If a user selects the "Run with Python 2.7" option manually, change the indicator to say 2.
- The interpreter would run with Python 2.7 until the user long-pressed the run button and selected a "Run with Python 3.5" option.
- This toggling behavior would make using Python 2 vs 3 easier if a user prefers one over the other but still wants to switch quickly. I think a user wants to use the same interpreter they just did a second ago more often than a user wants to switch interpreters.
- If I long-press the "Run" button and hold on an option, it becomes highlighted and changes color. If I slide up and down the options, they all become highlighted without the ones I've moved my finger off of becoming un-highlighted.
I love the new icon, nonetheless after the app has been installed I still have the old icon from the previous beta. I tried removing and re-installing again, the same thing, still the old icon
alexquot last edited by
Hello. Is there any way to understand whether my beta request was abandoned or not?
The icon is good! Now it's downloading :-)
filippocld last edited by filippocld
OI last edited by OI
In the Task Manager (double click home button) the correct icon is displayed on my iPad Pro, but on my iPhone 6 Plus the task manager will show the old icon, it's weird because they are using the same iOS version.
dgelessus last edited by dgelessus
@Webmaster4o Did you see the option to change the default Python version in the settings?
@OI That is probably the issue mentioned in the release notes, that the new icon is missing for some resolutions (probably the non-Retina ones) so the old one is displayed instead. And to be honest I like the old logo better... possibly because every other Python app uses the Python logo in the icon. The "prompt" icon is different and more recognizable IMHO.
@filippocld Agreed, though it would be good to have separate site-packages folders for the two versions (I think currently Python 2 uses the Pythonista 2 site-packages). Not all modules have a single codebase for Python 2 and 3, I think some projects just run
3to2on their source code.
@alexquot It wasn't. He probably just hasn't gotten to it yet.
@Webmaster4o Honestly your solution does not make sense to me. If you really want to switch versions fast just put the
line at line 1 of the script