Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Python 3.x Progress Update
-
Ah okay. Do the Python 2 and 3 interpreters run at the same time, or can only one be "active" at once?
-
@dgelessus They could theoretically run at the same time, but the UI doesn't allow this.
-
So I could run a Python3 AsyncIO backend with no UI and a Python2 UI rich frontend in parallel inside a single iOS process?? Hypercool.
-
@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 thetraceback
module. -
@Webmaster4o I think you want
traceback.print_exc
ortraceback.print_last
.traceback.print_stack
only 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 !!!
-
@filippocld @OI I've just uploaded a new build to TestFlight – it's still processing, so I probably can't push it until tomorrow (getting pretty late here). There are still some rough edges in the debugger and the whole Python 2+3 integration, but it should be usable overall.
-
@omz Thanks
-
@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 :)
-
I have no DST!
#whyisthesunupat4am -
@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
-
Hello. Is there any way to understand whether my beta request was abandoned or not?
-
The icon is good! Now it's downloading :-)
-
-
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.
-
@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
2to3
or3to2
on their source code.