[Python-announce] Leo 6.7.5 Released
Leo https://leo-editor.github.io/leo-editor/ 6.7.5 is now available on [GitHub](https://github.com/leo-editor/leo-editor/releases) and [pypi]( https://pypi.org/project/leo/). Leo is an [IDE, outliner and PIM]( https://leo-editor.github.io/leo-editor/preface.html). **The highlights of Leo 6.7.5** - PR #3568: Improve word-oriented finds and improve Leo's spell checker. - PRs #3515 and #3517: Significantly improve python importer. - PRs #3509 and #3511: Improve rust importer. **Other improvements** - PR #3560: Retire the g.SherlockTracer class. - PR #3552: Clear dirty bits when writing sqLite DBs. - PR #3541: Use c.doCommandByName instead of c.k.simulateCommand. - PR #3538: Make file-diff-files undoable. - PR #3533: Reload outlines rather than restarting Leo. - PR #3531: Add move-outline-to-first-child & move-outline-to-last-child commands. - PR #3528: Improve copy-gnx command. - PR #3525: Add promote-section-references command. - PR #3521: Improve what-line command. - PR #3519: Make the mark-node-and-parents and unmark-node-and-parents commands undoable. - PR #3503: Fix bug involving back slashes in search patterns. - PR #3499: Retire the read-outline-only command. - PR #3607: Add scheme importer - Fix several other minor bugs. **Links** - [Download Leo](https://leo-editor.github.io/leo-editor/download.html) - [Install Leo](https://leo-editor.github.io/leo-editor/installing.html) - [6.7.5 Issues]( https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.7.5+ ) - [6.7.5 Pull Requests]( https://github.com/leo-editor/leo-editor/pulls?q=is%3Apr+milestone%3A6.7.5) - [Documentation](https://leo-editor.github.io/leo-editor/leo_toc.html) - [Tutorials](https://leo-editor.github.io/leo-editor/tutorial.html) - [Video tutorials](https://leo-editor.github.io/leo-editor/screencasts.html ) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo]( https://leo-editor.github.io/leo-editor/testimonials.html) - [A web page that displays .leo files]( https://leo-editor.github.io/leo-editor/load-leo.html) - [More links](https://leo-editor.github.io/leo-editor/leoLinks.html) Edward ----- Edward K. Ream: edream...@gmail.com Leo Editor: https://leo-editor.github.io/leo-editor/ <http://leoeditor.com/> - ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
[Python-announce] ANN: Leo 6.7.4 Released
Leo https://leo-editor.github.io/leo-editor/ 6.7.4 is now available on [GitHub](https://github.com/leo-editor/leo-editor/releases) and [pypi]( https://pypi.org/project/leo/). Leo is an [IDE, outliner and PIM]( https://leo-editor.github.io/leo-editor/preface.html). **The highlights of Leo 6.7.4** *Warning: breaking changes to Leo's api* p.get_UNL returns gnx-based unls. Previously it returned path-based gnxs. See the first comment of PR #3424 for full details. **gnx-based unls** - PR #3215 and #3424: gnx-based unls (clickable links). These links will break only if the original node is deleted. **New settings** - `@string unl-status-kind = gnx` - `@bool full-unl-paths = True` - `@data unl-path-prefixes` **Other improvements** - PR #3330: Improve importers for C, C++, and cython. - PR #3345: Improve importer architecture. - PR #3363 & #3379: Improve c.recursiveImport. - PR #3376: Improve python importer. **Large code changes** - PR #3365: Simplify mypy annotations (128 files). - PR #3367: Import Callable from collections.abc instead of typing (50 files). **Retire three plugins** - PR #3215: Retire the settings_finder, backlink, and quickMove plugins. 50+ issues and 70+ pull requests. **Links** - [Download Leo](https://leo-editor.github.io/leo-editor/download.html) - [Install Leo](https://leo-editor.github.io/leo-editor/installing.html) - [6.7.4 Issues]( https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.7.4+ ) - [6.7.4 Pull Requests]( https://github.com/leo-editor/leo-editor/pulls?q=is%3Apr+milestone%3A6.7.4) - [Documentation](https://leo-editor.github.io/leo-editor/leo_toc.html) - [Tutorials](https://leo-editor.github.io/leo-editor/tutorial.html) - [Video tutorials](https://leo-editor.github.io/leo-editor/screencasts.html ) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo]( https://leo-editor.github.io/leo-editor/testimonials.html) - [A web page that displays .leo files]( https://leo-editor.github.io/leo-editor/load-leo.html) - [More links](https://leo-editor.github.io/leo-editor/leoLinks.html) Edward K. Ream ----- Edward K. Ream: edream...@gmail.com Leo Editor: https://leo-editor.github.io/leo-editor/ <http://leoeditor.com/> - ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
[Python-announce] Leo 6.7.2 released
Leo https://leo-editor.github.io/leo-editor/ 6.7.2 is now available on GitHub <https://github.com/leo-editor/leo-editor/releases> and pypi <https://pypi.org/project/leo/>. Leo is an IDE, outliner and PIM <https://leo-editor.github.io/leo-editor/preface.html>. *The highlights of Leo 6.7.2* - PR #3019: Leo's website has moved to GitHub Pages: https://leo-editor.github.io/leo-editor/ Commands: - PR #3031: Add check-nodes command. It helps keep @clean files in sync. - PR #3056: Leo's beautify command is now PEP8 compliant. - PR #3140: Run pylint on node. - PR #3166: Add the execute-external-file command. Settings and features: - PR #2979: Add @bool run-flake8-on-write setting. - PR #2983: Add --black-sentinels command-line option. - PR #3038: Add @string rst3-action setting. - PR #3053: Add @string gxn-kind setting: Support gnxs formatted as UUIDs. - PR #3132: Add @bool rst3-remove-leo-directives setting. Other changes: - 80+ issues and 100+ pull requests. *Links* - Download Leo <https://leo-editor.github.io/leo-editor/download.html> - Install Leo <https://leo-editor.github.io/leo-editor/installing.html> - 6.7.2 Issues <https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.7.2+> - 6.7.2 Pull Requests <https://github.com/leo-editor/leo-editor/pulls?q=is%3Apr+milestone%3A6.7.2> - Documentation <https://leo-editor.github.io/leo-editor/leo_toc.html> - Tutorials <https://leo-editor.github.io/leo-editor/tutorial.html> - Video tutorials <https://leo-editor.github.io/leo-editor/screencasts.html> - Forum <http://groups.google.com/group/leo-editor> - Download <http://sourceforge.net/projects/leo/files/> - Leo on GitHub <https://github.com/leo-editor/leo-editor> - LeoVue <https://github.com/kaleguy/leovue#leo-vue> - What people are saying about Leo <https://leo-editor.github.io/leo-editor/testimonials.html> - A web page that displays .leo files <https://leo-editor.github.io/leo-editor/load-leo.html> - More links <https://leo-editor.github.io/leo-editor/leoLinks.html> - Edward K. Ream: edream...@gmail.com Leo Editor: https://leo-editor.github.io/leo-editor/ <http://leoeditor.com/> - ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
[Python-announce] ANN: Leo 6.7.0 released
Leo http://leoeditor.com 6.7.0 is now available on GitHub <https://github.com/leo-editor/leo-editor/releases> and pypi <https://pypi.org/project/leo/>. Leo, http://leoeditor.com is an IDE, outliner and PIM <http://leoeditor.com/preface.html>. *The highlights of Leo 6.7.0* The 6.7.0 version denotes significant changes to Leo's code base. - Leo now requires Python 3.9 or later. - Enhance leoserver.py to support leoInteg and leoJS. - Importers no longer generate underindented escape strings. - Delete all of Leo's cover- and test- commands. - Allow unit tests to run with the Qt gui. - Several mass code updates: - Annotate Leo's core files and important plugins. - Simplify all of Leo's importers. - Speed Leo's redraw code by rewriting Leo's icon drawing logic. - Retire Tk indices, except in unit tests. - The usual assortment of minor bug fixes. *Links* - 6.7.0 Issues <https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.7.0+> - 6.7.0 Pull Requests <https://github.com/leo-editor/leo-editor/pulls?q=is%3Apr+milestone%3A6.7.0> - Documentation <http://leoeditor.com/leo_toc.html> - Tutorials <http://leoeditor.com/tutorial.html> - Video tutorials <http://leoeditor.com/screencasts.html> - Forum <http://groups.google.com/group/leo-editor> - Download <http://sourceforge.net/projects/leo/files/> - Leo on GitHub <https://github.com/leo-editor/leo-editor> - LeoVue <https://github.com/kaleguy/leovue#leo-vue> - What people are saying about Leo <http://leoeditor.com/testimonials.html> - A web page that displays .leo files <http://leoeditor.com/load-leo.html> - More links <http://leoeditor.com/leoLinks.html> Edward - Edward K. Ream: edream...@gmail.com An old man, crazy about computer programming. Leo Editor: http://leoeditor.com/ - ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
[Python-announce] ANN: Leo 6.6.3 released
Leo http://leoeditor.com 6.6.3 is now available on [GitHub]( https://github.com/leo-editor/leo-editor/releases) and [pypi]( https://pypi.org/project/leo/). Leo, http://leoeditor.com is an [IDE, outliner and PIM]( http://leoeditor.com/preface.html). **The highlights of Leo 6.6.3** - Enhance leoserver.py to support [leoInteg]( https://github.com/boltex/leointeg). - Improve how Leo handles URLs. - Simplify the GlobalConfigManager class. - The usual assortment of tweaks and bug fixes. **Links** - [6.6.3 issues]( https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.6.3+ ) - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) Edward - Edward K. Ream: edream...@gmail.com An old man, crazy about computer programming. Leo Editor: http://leoeditor.com/ - ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
[Python-announce] ANN: Leo 6.6.2 released
Leo http://leoeditor.com 6.6.2 is now available on GitHub <https://github.com/leo-editor/leo-editor/releases> and pypi <https://pypi.org/project/leo/>. Leo is an IDE, outliner and PIM <http://leoeditor.com/preface.html>. *The highlights of Leo 6.6.2* - Add "File Only" option in Leo's Find Pane. - Remove pylint-leo.py, pyflakes-leo.py and related code. - Add mypy annotations for Leo's most important files. - Fixed 9 minor bugs. *6.6.2 Links* - 6.6.2 issues <https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.6.2> - 6.6.2 pull requests <https://github.com/leo-editor/leo-editor/pulls?q=is%3Apr+milestone%3A6.6.2> - 6.6.2 bug fixes <https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.6.2+label%3Abug+is%3Aclosed> - 6.6.2 enhancements <https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.6.2+label%3Aenhancement+> - 6.6.2 code-level improvements <https://github.com/leo-editor/leo-editor/issues?q=milestone%3A6.6.2+label%3Acode+> *General Links* - Leo's home page: http://leoeditor.com - Documentation <http://leoeditor.com/leo_toc.html> - Tutorials <http://leoeditor.com/tutorial.html> - Video tutorials <http://leoeditor.com/screencasts.html> - Forum <http://groups.google.com/group/leo-editor> - Download <http://sourceforge.net/projects/leo/files/> - Leo on GitHub <https://github.com/leo-editor/leo-editor> - LeoVue <https://github.com/kaleguy/leovue#leo-vue> - What people are saying about Leo <http://leoeditor.com/testimonials.html> - A web page that displays .leo files <http://leoeditor.com/load-leo.html> - More links <http://leoeditor.com/leoLinks.html> Edward - Edward K. Ream: edream...@gmail.com An old man, crazy about computer programming. Leo Editor: http://leoeditor.com/ - ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
[Python-announce] ANN: Leo 6.6.1 released
Leo http://leoeditor.com 6.6.1 is now available on GitHub <https://github.com/leo-editor/leo-editor/releases> and pypi <https://pypi.org/project/leo/6.6.1/>. Leo is an IDE, outliner and PIM <http://leoeditor.com/preface.html>. *The highlights of Leo 6.6.1* - Improve support for Python 3.10 and PyQt6. - Simplify the TokenOrderGenerator class in leoAst.py. - Improve argument handling when running leo.core.leoAst externally. Run python -m leo.core.leoAst -h for details. - Control-clicking on a file name searches for the corresponding @ node. - Create clickable links when copying text into the log pane. - Leo's mypy command runs without blocking Leo. - Improve the add-mypy-annotations command. - Clean all files with reindent. - The usual minor bug fixes. *6.6.1 Links* - 6.6.1 issues <https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.6.1> - 6.6.1 pull requests <https://github.com/leo-editor/leo-editor/pulls?q=is%3Apr+milestone%3A6.6.1> - 6.6.1 bug fixes <https://github.com/leo-editor/leo-editor/issues?q=label%3Abug+milestone%3A6.6.1+> - 6.6.1 enhancements <https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.6.1+label%3Aenhancement+> - 6.6.1 code-level improvements <https://github.com/leo-editor/leo-editor/issues?q=milestone%3A6.6.1+label%3Acode+> *General Links* - Leo's home page: http://leoeditor.com - Documentation <http://leoeditor.com/leo_toc.html> - Tutorials <http://leoeditor.com/tutorial.html> - Video tutorials <http://leoeditor.com/screencasts.html> - Forum <http://groups.google.com/group/leo-editor> - Download <http://sourceforge.net/projects/leo/files/> - Leo on GitHub <https://github.com/leo-editor/leo-editor> - LeoVue <https://github.com/kaleguy/leovue#leo-vue> - What people are saying about Leo <http://leoeditor.com/testimonials.html> - A web page that displays .leo files <http://leoeditor.com/load-leo.html> - More links <http://leoeditor.com/leoLinks.html> Edward - Edward K. Ream: edream...@gmail.com An old man, crazy about computer programming. Leo Editor: http://leoeditor.com/ - ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
[Python-announce] ANN: Leo 6.6 released
Leo http://leoeditor.com 6.6 final is now available on GitHub <https://github.com/leo-editor/leo-editor/releases> and pypi <https://pypi.org/project/leo/6.6/>. Leo is an IDE, outliner and PIM <http://leoeditor.com/preface.html>. *The highlights of Leo 6.6* - Replaced @raw and @end_raw with @section-delims. - Leo recognizes section references only when they appear on an otherwise blank line. - Many improvements to the python-to-typescript command. - Improved python importer. - Added plugins/picture_viewer.py, a stand-alone app that displays images. - Added plugins/remove_duplicate_pictures.py, an app that finds duplicate pictures. - The user may choose *other* commands after starting repeat-complex-command. - Improved leoserver.py to support leointeg. - Many bug fixes. *6.6 Links* - 6.6 issues <https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.6> - 6.6 pull requests <https://github.com/leo-editor/leo-editor/pulls?q=is%3Apr+milestone%3A6.6> - 6.6 bug fixes <https://github.com/leo-editor/leo-editor/issues?q=label%3Abug+milestone%3A6.6+> - 6.6 enhancements <https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.6+label%3Aenhancement+> - 6.6 code-level improvements <https://github.com/leo-editor/leo-editor/issues?q=milestone%3A6.6+label%3Acode+> *General Links* - Leo's home page: http://leoeditor.com - Documentation <http://leoeditor.com/leo_toc.html> - Tutorials <http://leoeditor.com/tutorial.html> - Video tutorials <http://leoeditor.com/screencasts.html> - Forum <http://groups.google.com/group/leo-editor> - Download <http://sourceforge.net/projects/leo/files/> - Leo on GitHub <https://github.com/leo-editor/leo-editor> - LeoVue <https://github.com/kaleguy/leovue#leo-vue> - What people are saying about Leo <http://leoeditor.com/testimonials.html> - A web page that displays .leo files <http://leoeditor.com/load-leo.html> - More links <http://leoeditor.com/leoLinks.html> Edward - Edward K. Ream: edream...@gmail.com An old man, crazy about computer programming. Leo Editor: http://leoeditor.com/ - ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
[Python-announce] ANN: Leo 6.6-b2 released
Leo http://leoeditor.com 6.6b2 is now available on [GitHub](https://github.com/leo-editor/leo-editor/releases) and [pypi](https://pypi.org/project/leo/6.6b2/). Leo is an [IDE, outliner and PIM](http://leoeditor.com/preface.html). **The highlights of Leo 6.6** - Replace `@raw` and `@end_raw` with `@section-delims`. - Leo recognizes section references only when they appear on an otherwise blank line. - Many improvements to python-to-typescript command. - Improved python importer. - Add plugins/picture_viewer.py, a stand-alone app that displays images. - Add plugins/remove_duplicate_pictures.py, an app that finds duplicate pictures. - The user may choose *other* commands after starting repeat-complex-command. - Improvements to leoserver.py to support leointeg. - Many bug fixes. **6.6 Links** - [6.6 issues]( https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.6 ) - [6.6 pull requests]( https://github.com/leo-editor/leo-editor/pulls?q=is%3Apr+milestone%3A6.6) - [6.6 bug fixes]( https://github.com/leo-editor/leo-editor/issues?q=label%3Abug+milestone%3A6.6+ ) - [6.6 enhancements]( https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.6+label%3Aenhancement+ ) - [6.6 code-level improvements]( https://github.com/leo-editor/leo-editor/issues?q=milestone%3A6.6+label%3Acode+ ) **General Links** - Leo's home page: http://leoeditor.com - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) Edward - Edward K. Ream: edream...@gmail.com An old man, crazy about computer programming. Leo Editor: http://leoeditor.com/ - ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
[Python-announce] Leo 6.5 released
Leo http://leoeditor.com 6.5 is now available on [GitHub](https://github.com/leo-editor/leo-editor). Leo is an [IDE, outliner and PIM](http://leoeditor.com/preface.html). **The highlights of Leo 6.5** - Add python-to-typescript and view-recent-commands. - Add c.findCommands.interactive_search_helper. - Leo now uses only traditional unit tests. Remove support for @test and @suite. Remove leoTest.py. - Many code-level cleanups. - 450+ pull requests. **6.5 Links** - [6.5 issues](https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.5) - [6.5 pull requests](https://github.com/leo-editor/leo-editor/pulls?q=is%3Apr+milestone%3A6.5) - [6.5 bug fixes](https://github.com/leo-editor/leo-editor/issues?q=label%3Abug+milestone%3A6.5+) - [6.5 enhancements](https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.5+label%3Aenhancement+) - [6.5 code-level improvements](https://github.com/leo-editor/leo-editor/issues?q=milestone%3A6.5+label%3Acode+) **General Links** - Leo's home page: http://leoeditor.com - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
[Python-announce] ANN: Leo 6.5-b1 released
Leo http://leoeditor.com 6.5b1 is now available on [GitHub](https://github.com/leo-editor/leo-editor). Leo is an [IDE, outliner and PIM](http://leoeditor.com/preface.html). **The highlights of Leo 6.5** - Add python-to-typescript and view-recent-commands. - Add c.findCommands.interactive_search_helper. - Leo now uses only traditional unit tests. Remove support for `@test` and `@suite`. Remove leoTest.py. - Many code-level cleanups. - 450+ pull requests. **6.5 Links** - [6.5 issues](https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.5) - [6.5 pull requests](https://github.com/leo-editor/leo-editor/pulls?q=is%3Apr+milestone%3A6.5) - [6.5 bug fixes](https://github.com/leo-editor/leo-editor/issues?q=label%3Abug+milestone%3A6.5+) - [6.5 enhancements](https://github.com/leo-editor/leo-editor/issues?q=is%3Aissue+milestone%3A6.5+label%3Aenhancement+) - [6.5 code-level improvements](https://github.com/leo-editor/leo-editor/issues?q=milestone%3A6.5+label%3Acode+) **General Links** - Leo's home page: http://leoeditor.com - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
[Python-announce] ANN: Leo 6.4
Leo http://leoeditor.com 6.4 is now available on [GitHub](https://github.com/leo-editor/leo-editor). Leo is an [IDE, outliner and PIM](http://leoeditor.com/preface.html). **The highlights of Leo 6.4** - Support for [leoInteg](https://github.com/boltex/leointeg#-leo-for-vs-code): "Leo in vs-code". - Add leoserver.py, stand-alone server for Leo. - Add support for .leojs, a json outline format. - Support for Qt6. - The wax_off.py script converts function annotations to stub (.pyi) files. - Remove support for @root. Create a conversion script. - Simplify and generalize rst3 command. - Add git-diff-pr command: Leonine diffs for Pull Requests and .leo files. - Add execute-general-script command and c.general_script_helper. - Several significant code-level changes. - Fixed 160+ issues and merged almost 400 Pull Requests. **Links** - Leo's home page: http://leoeditor.com - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) Edward ----- Edward K. Ream: edream...@gmail.com Leo Editor: http://leoeditor.com/ - ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
ANN: Leo 6.3 final released
Leo 6.3, http://leoeditor.com, is now available on GitHub <https://github.com/leo-editor/leo-editor>. Leo is an IDE, outliner and PIM <http://leoeditor.com/preface.html>. *The highlights of Leo 6.3* - leoAst.py: The unification of Python's token and ast worlds. - Retired all Qt Dock code. - Improved viewrendered and viewrendered3 plugins. - Improved several importer plugins. - Refactored Leo's key handling code. *Links* - Leo's home page: http://leoeditor.com - Documentation <http://leoeditor.com/leo_toc.html> - Tutorials <http://leoeditor.com/tutorial.html> - Video tutorials <http://leoeditor.com/screencasts.html> - Forum <http://groups.google.com/group/leo-editor> - Download <http://sourceforge.net/projects/leo/files/> - Leo on GitHub <https://github.com/leo-editor/leo-editor> - LeoVue <https://github.com/kaleguy/leovue#leo-vue> - What people are saying about Leo <http://leoeditor.com/testimonials.html> - A web page that displays .leo files <http://leoeditor.com/load-leo.html> - More links <http://leoeditor.com/leoLinks.html> Edward ----- Edward K. Ream: edream...@gmail.com An old man, crazy about computer programming. Leo Editor: http://leoeditor.com/ - ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
ANN: Leo 6.3 b1 released
Leo 6.3 b1, http://leoeditor.com, is now available on GitHub <https://github.com/leo-editor/leo-editor>. Leo is an IDE, outliner and PIM <http://leoeditor.com/preface.html>. *The highlights of Leo 6.3* - leoAst.py: The unification of Python's token and ast worlds. - Retired all Qt Dock code. - Improved viewrendered and viewrendered3 plugins. - Improved several importer plugins. - Refactored Leo's key handling code. *Links* - Leo's home page: http://leoeditor.com - Documentation <http://leoeditor.com/leo_toc.html> - Tutorials <http://leoeditor.com/tutorial.html> - Video tutorials <http://leoeditor.com/screencasts.html> - Forum <http://groups.google.com/group/leo-editor> - Download <http://sourceforge.net/projects/leo/files/> - Leo on GitHub <https://github.com/leo-editor/leo-editor> - LeoVue <https://github.com/kaleguy/leovue#leo-vue> - What people are saying about Leo <http://leoeditor.com/testimonials.html> - A web page that displays .leo files <http://leoeditor.com/load-leo.html> - More links <http://leoeditor.com/leoLinks.html> ----- Edward K. Ream: edream...@gmail.com An old man, crazy about computer programming. Leo Editor: http://leoeditor.com/ - ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
[issue41504] Add links to asttokens, leoAst, LibCST and Parso to ast.rst
Edward K Ream added the comment: You're welcome. It was a pleasure working with you all on this issue. I enjoyed learning the PR workflow, and I enjoyed the discussion of the merits. One last comment. Like everything in life, links and their implied endorsements are provisional. If a link ever becomes problematic, I would expect the python devs to remove it. -- ___ Python tracker <https://bugs.python.org/issue41504> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41504] Add links to asttokens, leoAst, LibCST and Parso to ast.rst
New submission from Edward K Ream : These links added with the provisional approval of GvR, pending approval of the PR. -- assignee: docs@python components: Documentation messages: 375019 nosy: docs@python, edreamleo priority: normal severity: normal status: open title: Add links to asttokens, leoAst, LibCST and Parso to ast.rst type: enhancement versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue41504> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
Corrected: leoAst.py creates two-way links between tokens and ast nodes
In the initial announcement, the link to leoAst.py was incorrect. The correct link is to leoAst.py in Leo's "devel" branch: https://github.com/leo-editor/leo-editor/blob/devel/leo/core/leoAst.py Alas, the link did not generate a 404, but instead linked to way obsolete code. My apologies for the confusion this has already caused. Edward ------ Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Member address: arch...@mail-archive.com
ANN: leoAst.py creates two-way links between tokens and ast nodes
*Overview* leoAst.py <https://github.com/leo-editor/leo-editor/blob/fstrings/leo/core/leoAst.py> unifies python's token-oriented and ast-oriented worlds. leoAst.py defines classes that create two-way links between *tokens* created by python's tokenize module <https://docs.python.org/3/library/tokenize.html> and *parse tree nodes* created by python's ast module <https://docs.python.org/3/library/ast.html>: The *Token Order Generator* (TOG) class *quickly* creates the following links: - An *ordered* *children* array from each ast node to its children. Order matters! - A *parent* link from each ast.node to its parent. - Two-way links between tokens in the *token list*, a list of Token objects, and the ast nodes in the parse tree: - For each token, *token.node* contains the ast.node "responsible" for the token. - For each ast node, *node.first_i* and *node.last_i* are indices into the token list. These indices give the range of tokens that can be said to be "generated" by the ast node. Once the TOG class has inserted parent/child links, the *Token Order Traverser* (TOT) class traverses trees annotated with parent/child links extremely quickly. *Contents of leoAst.py* leoAst.py is completely independent of Leo <http://leoeditor.com/>. leoAst.py contains: - The TOG and TOT classes. - An *AstDumper* class that shows these links in various formats. - Unit tests that completely cover the TOG and TOT classes. - All necessary support code - An entirely new implementation of *fstringify* <https://pypi.org/project/fstringify/>. - *Orange*, an entirely new implementation of *black* <https://pypi.org/project/black/>. *Usage* usage: leoAst.py (--help | --pytest | --unittest) OR leoAst.py (--fstringify | --fstringify-diff | --orange | --orange-diff) PATHS positional arguments: PATHS directory or list of files optional arguments: -h, --help show this help message and exit --fstringify leonine fstringify --fstringify-diff show fstringify diff --orange leonine Black --orange-diff show orange diff --pytest run pytest --unittest run unittest.main() *Applicability and importance* Many python developers will find asttokens <https://github.com/gristlabs/asttokens> meets all their needs. asttokens is well documented and easy to use. Nevertheless, two-way links are significant additions to python's tokenize <https://docs.python.org/3/library/tokenize.html> and ast <https://docs.python.org/3/library/ast.html> modules: - Links from tokens to nodes are assigned to the nearest possible ast node, not the nearest statement, as in asttokens. Links can easily be reassigned, if desired. - The TOG and TOT classes are intended to be the foundation of tools such as *fstringify* <https://pypi.org/project/fstringify/> and *black* <https://pypi.org/project/black/>. - The TOG class solves real problems, such as: how-to-get-source-corresponding-to-a-python-ast-node <https://stackoverflow.com/questions/16748029/>. *Figures of merit* *Simplicity*: The code consists primarily of a set of generators, one for every kind of ast node. *Speed*: The TOG creates two-way links between tokens and ast nodes in roughly the time taken by python's tokenize.tokenize and ast.parse library methods. This is substantially faster than the asttokens <https://pypi.org/project/asttokens/>, fstringify <https://pypi.org/project/fstringify/>, and black <https://pypi.org/project/black/> tools. The TOT class traverses trees annotated with parent/child links even more quickly. *Memory*: The TOG class makes no significant demands on python's resources. Generators add nothing to python's call stack. TOG.node_stack is the only variable-length data. This stack resides in python's heap, so its length is unimportant. In the worst case, it might contain a few thousand entries. The TOT class uses no variable-length data at all. *Links* - Theory of operation <http://leoeditor.com/appendices.html#tokenorder-classes-theory-of-operation> . - Project history <https://github.com/leo-editor/leo-editor/issues/1440#issuecomment-574145510> . - A stack overflow discussion that mentions Leo's deprecated TokenSync class <https://stackoverflow.com/questions/7456933/>, an earlier attempt at plugging the holes in python's api. Edward -- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to py
[issue33337] Provide a supported Concrete Syntax Tree implementation in the standard library
Edward K Ream added the comment: Hello all, This is a "sideways" response to this issue. I have been dithering about whether to give you a heads up. I hope you won't mind... I have just announced the leoAst.py on python-announce-list. You can read the announcement here: https://github.com/leo-editor/leo-editor/issues/1565#issuecomment-654904747 Imo, leoAst.py solves many of the concerns mentioned in the first comment of this thread. leoAst.py is certainly a different approach. Also imo, the TOG and TOG in leoAst.py plug significant holes in python's ast and tokenize modules. These classes might be candidates for python's ast module. If you're interested, I will be willing to do further work. If not, I completely understand. As shown in the project's history, a significant amount of invention and discovery was required. The root of much of my initial confusion and difficulties was the notion that "real programmers don't use tokens". In fact, I discovered that the reverse is true. Tokens contain the ground truth. In many cases, the parse tree doesn't. I would be interested in your reactions. -- nosy: +edreamleo ___ Python tracker <https://bugs.python.org/issue7> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
Leo 6.2 and 6.2.1 released
Leo 6.2/6.2.1, http://leoeditor.com, are now available on [GitHub]( https://github.com/leo-editor/leo-editor). Leo 6.2.1 adds the manifest needed to do `pip install leo`. Otherwise 6.2.1 is identical to 6.2. Leo is an [IDE, outliner and PIM](http://leoeditor.com/preface.html). **The highlights of Leo 6.2** - Added the fstringify-files and diff-fstringify-files commands. - Improved the beautify-files command. Added the diff-beautify-files commands. - Added the TokenOrderGenerator and TokenOrderTraverser classes in leoAst.py. Leo's fstringify and beautify commands use these classes. - Added importers for the rust language and todo.txt files. - Added the viewrendered3 plugin. - Leo's legacy layout is now the default. - Fixed all known bugs, including some notable, long-standing bugs. - Fixed several "fit and finish" issues. - Removed unused settings from leoSettings.leo. **Links** - Leo's home page: http://leoeditor.com - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) Edward ------ Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 6.2 b1 released
Leo 6.2-b1, http://leoeditor.com, is now available on [GitHub]( https://github.com/leo-editor/leo-editor). Leo is an [IDE, outliner and PIM](http://leoeditor.com/preface.html). **The highlights of Leo 6.2** - Added the fstringify-files and diff-fstringify-files commands. - Improved the beautify-files command. Added the diff-beautify-files commands. - Added the TokenOrderGenerator and TokenOrderTraverser classes in leoAst.py. Leo's fstringify and beautify commands use these classes. - Added importers for the rust language and todo.txt files. - Added the viewrendered3 plugin. - Leo's legacy layout is now the default. - Fixed all known bugs, including some notable, long-standing bugs. - Fixed several "fit and finish" issues. - Removed unused settings from leoSettings.leo. **Links** - Leo's home page: http://leoeditor.com - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) ------ Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Support the Python Software Foundation: http://www.python.org/psf/donations/
[issue38663] Untokenize does not round-trip ws before bs-nl
Edward K Ream added the comment: This post: https://groups.google.com/d/msg/leo-editor/DpZ2cMS03WE/5X8IDzpgEAAJ discusses unit testing. The summary states: "I've done the heavy lifting on issue 38663. Python devs should handle the details of testing and packaging." I'll leave it at that. In some ways this issue if very minor, and of almost no interest to anyone :-) Do with it as you will. The ball is in python's court. -- ___ Python tracker <https://bugs.python.org/issue38663> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38663] Untokenize does not round-trip ws before bs-nl
Edward K Ream added the comment: This post https://groups.google.com/d/msg/leo-editor/DpZ2cMS03WE/VPqtB9lTEAAJ discusses a complete rewrite of tokenizer.untokenize. To quote from the post: I have "discovered" a spectacular replacement for Untokenizer.untokenize in python's tokenize library module. The wretched, buggy, and impossible-to-fix add_whitespace method is gone. The new code has no significant 'if' statements, and knows almost nothing about tokens! This is the way untokenize is written in The Book. The new code should put an end to a long series of issues against untokenize code in python's tokenize library module. Some closed issues were blunders arising from dumbing-down the TestRoundtrip.check_roundtrip method in test_tokenize.py. Imo, the way is now clear for proper unit testing of python's Untokenize class. -- ___ Python tracker <https://bugs.python.org/issue38663> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38663] Untokenize does not round-trip ws before bs-nl
Edward K Ream added the comment: The original bug report used a Leo-only function, g.toUnicode. To fix this, replace: result = g.toUnicode(tokenize.untokenize(tokens)) by: result_b = tokenize.untokenize(tokens) result = result_b.decode('utf-8', 'strict') -- ___ Python tracker <https://bugs.python.org/issue38663> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38663] Untokenize does not round-trip ws before bs-nl
New submission from Edward K Ream : Tested on 3.6. tokenize.untokenize does not round-trip whitespace before backslash-newlines outside of strings: from io import BytesIO import tokenize # Round tripping fails on the second string. table = ( r''' print\ ("abc") ''', r''' print \ ("abc") ''', ) for s in table: tokens = list(tokenize.tokenize( BytesIO(s.encode('utf-8')).readline)) result = g.toUnicode(tokenize.untokenize(tokens)) print(result==s) I have an important use case that would benefit from a proper untokenize. After considerable study, I have not found a proper fix for tokenize.add_whitespace. I would be happy to work with anyone to rewrite tokenize.untokenize so that unit tests pass without fudges in TestRoundtrip.check_roundtrip. -- messages: 355827 nosy: edreamleo priority: normal severity: normal status: open title: Untokenize does not round-trip ws before bs-nl type: behavior versions: Python 3.6 ___ Python tracker <https://bugs.python.org/issue38663> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
Leo 6.1-b1 released
Leo http://leoeditor.com 6.1 b1 is now available on [GitHub](https://github.com/leo-editor/leo-editor). Leo is an IDE, outliner and PIM, as described [here]( http://leoeditor.com/preface.html). **The highlights of Leo 6.1** - Pyzo in Leo: Pyzo can optionally run *within* Leo. - Added support for asciidoc and asciidoctor. - Added support for pandoc and sphinx. - Added support for black. - The history_tracer plugin animates git commits. - Integration of Leo with VS code. - New command-line arguments: --global-docks and --window-spot. - New cursor-movement commands. Special thanks to Vitalije Milosevic, Brian Theado, and Matt Wilkie for their contributions to Leo 6.1. **Links** - Leo's home page: http://leoeditor.com - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) -- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le...@python.org https://mail.python.org/mailman3/lists/python-announce-list.python.org/ Support the Python Software Foundation: http://www.python.org/psf/donations/
Leo 6.0 beta 1 released
Leo 6.0 beta 1, http://leoeditor.com, is now available on [GitHub]( https://github.com/leo-editor/leo-editor). Leo is an IDE, outliner and PIM, as described [here]( http://leoeditor.com/preface.html). **The highlights of Leo 6.0** - Leo now requires python 3.6 or above. This greatly simplifies Leo's code. - Leo's default gui uses Qt Docks. Use --no-dock to use Leo's legacy gui. - Several commands now generate clickable links in the Log pane. This greatly speeds navigation. - The usual assortment of bug fixes and minor improvements. **Links** - Leo's home page: http://leoeditor.com - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) -- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- %(web_page_url)slistinfo/%(_internal_name)s Support the Python Software Foundation: http://www.python.org/psf/donations/
Leo 5.9 released
Leo 5.9 final, http://leoeditor.com, is now available on [GitHub]( https://github.com/leo-editor/leo-editor). Leo is an IDE, outliner and PIM, as described [here]( http://leoeditor.com/preface.html). **The highlights of Leo 5.9** This will be the last version of Leo that supports Python 2. Major features - LeoWapp: Leo in a browser. - Optional syntax coloring using pygments. Optional: you may use @color & @font directives instead of pygments styles. - Integrated debugger. Other features - *Experimental*: nested @clean nodes, useful for LaTex files. - A major refactoring of the code that writes external files. - Better error recovery. - Support for continuous integration with TravisCI. - More than 50 minor bug fixes. **Links** - Leo's home page: http://leoeditor.com - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) Edward ------ Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
[issue22616] Allow connecting AST nodes with corresponding source ranges
Edward K Ream added the comment: On Mon, Jan 14, 2019 at 5:24 AM Ivan Levkivskyi wrote: Adding endline and endcolumn to every ast node will be a big improvement. Edward -- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- nosy: +edreamleo ___ Python tracker <https://bugs.python.org/issue22616> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
Leo 5.8 released
Leo 5.8 final, http://leoeditor.com, is now available on [GitHub](https://github.com/leo-editor/leo-editor). Leo is an IDE, outliner and PIM, as described [here]( http://leoeditor.com/preface.html). **The highlights of Leo 5.8** - Much faster file-read code. - Leo no longer caches file contents. Removed --no-cache! - Leo using ElementTree instead of sax to read .leo files. - Refactored and improved Leo's key-handling code. - Improved Leo's outline drawing code. - The usual minor bug fixes. **Links** - Leo's home page: http://leoeditor.com - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) Edward -- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 5.7.3 released
Leo 5.7.3, http://leoeditor.com, is now available on [GitHub]( https://github.com/leo-editor/leo-editor). Leo is an IDE, outliner and PIM, as described [here]( http://leoeditor.com/preface.html). **The highlights of Leo 5.7.3** - Added support for Jedi autocompletion. - Much improved python_terminal plugin. - Much improved recursive import script. - New leo_babel plugin. - Leo's pylint command writes clickable links. - Smart searches for functions and methods. - Allow separate bindings for numeric keypad keys - Added easy-to-use diff-related wrappers for scripts. - Allow local overrides of all abbreviations. - Improved TypeScript importer. - The usual minor bug fixes. **Links** - Leo's home page: http://leoeditor.com - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) ​Edward​ -- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Leo 5.7.1 Released
Leo 5.7.1, http://leoeditor.com, is now available on [GitHub]( https://github.com/leo-editor/leo-editor). Leo is an IDE, outliner and PIM, as described [here]( http://leoeditor.com/preface.html). **The highlights of Leo 5.7.1** - Improved support for themes, including the open-theme-file command. - Added --theme= command-line option. - Added @string theme-name setting. - Leo warns if stylesheets contain undefined @-constants. - Replaced 5 vs-* commands by corresponding eval* commands. - Support @file x.md using html sentinels. - Allow @path in @ nodes, and optionally generate same in recursive imports. - Improved menus. - The usual minor bug fixes. **Links** - Leo's home page: http://leoeditor.com - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) Edward -- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Leo 5.7 final released
Leo 5.7 final February 27, 2018 Leo 5.7 final, http://leoeditor.com, is now available on [SourceForge]( http://sourceforge.net/projects/leo/files/Leo/) and on [GitHub]( https://github.com/leo-editor/leo-editor). Leo is an IDE, outliner and PIM, as described [here]( http://leoeditor.com/preface.html). Simulating Leo's features in Vim, Emacs or Eclipse is possible, just as it is possible to simulate Python in C or assembly language... **The highlights of Leo 5.7** - pip install leo. - A debian package for Leo. - A web-based Leo Viewer, written by Joe Orr. - Added diff-leo-files and diff-and-open-leo-files commands. These create outline-oriented diffs for .leo files. - New reload-settings command. - Leo optionally shows user tips on startup. - Added a new Tips page to Leo's documentation. - A visual widget for editing cvs tables. - Spell checking works without pyenchant - Improved the console_gui plugin. - Added live links from urls in the log pane. - Unit tests use a string gui, making them faster and more robust. - The line_numbering plugin shows line numbers in external files. - Improved the javascript importer. - Added a TreePad importer. - Added 6 new commands. - Dozens of bug fixes. **Links** - Leo's home page: http://leoeditor.com - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [LeoVue](https://github.com/kaleguy/leovue#leo-vue) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) -- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Leo 5.7b1 released
Leo <http://leoeditor.com/> 5.7b1 is now available on SourceForge <http://sourceforge.net/projects/leo/files/Leo/> and on GitHub <https://github.com/leo-editor/leo-editor>. Leo is an IDE, outliner and PIM, as described here <http://leoeditor.com/preface.html>. Simulating Leo's features in Vim, Emacs or Eclipse is possible, just as it is possible to simulate Python in assembly language... *The highlights of Leo 5.7* - Added Debian package for Leo. - pip install leo (After 5.7 final) - A web-based Leo Viewer, written by Joe Orr. - New reload-settings command. - Leo optionally shows user tips on startup. - Added a new Tips page to Leo's documentation. - Improved the console_gui plugin. - Added live links from urls in the log pane. - Unit tests use a string gui, making them faster and more robust. - The line_numbering plugin shows line numbers in external files. - Improved the javascript importer. - Added 6 new commands. - Dozens of bug fixes. *Links* - Leo's home page <http://leoeditor.com> - Documentation <http://leoeditor.com/leo_toc.html> - Tutorials <http://leoeditor.com/tutorial.html> - Video tutorials <http://leoeditor.com/screencasts.html> - Forum <http://groups.google.com/group/leo-editor> - Download <http://sourceforge.net/projects/leo/files/> - Leo on GitHub <https://github.com/leo-editor/leo-editor> - LeoVue <https://github.com/kaleguy/leovue#leo-vue> - What people are saying about Leo <http://leoeditor.com/testimonials.html> - A web page that displays .leo files <http://leoeditor.com/load-leo.html> - More links <http://leoeditor.com/leoLinks.html> Edward ---------- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 5.6 Final Released
​Leo <http://leoeditor.com/> 5.6 is now available on SourceForge <http://sourceforge.net/projects/leo/files/Leo/> and on GitHub <https://github.com/leo-editor/leo-editor>. Leo is an IDE, outliner and PIM, as described here <http://leoeditor.com/preface.html>. Simulating Leo's features in Vim, Emacs or Eclipse is possible, just as it is possible to simulate Python in assembly language... *The highlights of Leo 5.6* - The cursesGui2.py plugin creates a console gui for Leo. - Added "Yes to All" and "No to All" buttons to file-changed dialog. - Improved how Leo switches between git branches. - Created outline-oriented git-diff command. *Links* - Leo's home page <http://leoeditor.com> - Documentation <http://leoeditor.com/leo_toc.html> - Tutorials <http://leoeditor.com/tutorial.html> - Video tutorials <http://leoeditor.com/screencasts.html> - Forum <http://groups.google.com/group/leo-editor> - Download <http://sourceforge.net/projects/leo/files/> - Leo on GitHub <https://github.com/leo-editor/leo-editor> - What people are saying about Leo <http://leoeditor.com/testimonials.html> - A web page that displays .leo files <http://leoeditor.com/load-leo.html> - More links <http://leoeditor.com/leoLinks.html> ​ ​Edward​ -- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 5.5 released
[Leo](http://leoeditor.com/) 5.5 is now available on [SourceForge]( http://sourceforge.net/projects/leo/files/Leo/) and on [GitHub]( https://github.com/leo-editor/leo-editor). Leo is an IDE, outliner and PIM, as described [here]( http://leoeditor.com/preface.html). Simulating Leo's features in Vim, Emacs or Eclipse is possible, just as it is possible to simulate Python in assembly language... **The highlights of Leo 5.5** - Syntax coloring is 20x faster than before. The "big-text" hack is no longer needed. - Leo's importers are now line/token oriented, allowing them to handle languages like javascript more robustly. - New perl and javascript importers. - Pylint now runs in the background. - Pyflakes can optionally check each file as it is written. - Greatly simplified argument-handling for interactive commands. - Documented how to do Test-Driven Development in Leo. **Links** - [Leo's home page](http://leoeditor.com) - [Documentation](http://leoeditor.com/leo_toc.html) - [Tutorials](http://leoeditor.com/tutorial.html) - [Video tutorials](http://leoeditor.com/screencasts.html) - [Forum](http://groups.google.com/group/leo-editor) - [Download](http://sourceforge.net/projects/leo/files/) - [Leo on GitHub](https://github.com/leo-editor/leo-editor) - [What people are saying about Leo](http://leoeditor.com/testimonials.html) - [A web page that displays .leo files](http://leoeditor.com/load-leo.html) - [More links](http://leoeditor.com/leoLinks.html) ​Edward​ ------ Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Leo 5.5b1 released
Leo <http://leoeditor.com/> 5.5b1 is now available on SourceForge <http://sourceforge.net/projects/leo/files/Leo/> and on GitHub <https://github.com/leo-editor/leo-editor>. Leo is an IDE, outliner and PIM, as described here <http://leoeditor.com/preface.html>. *The highlights of Leo 5.5* - Syntax coloring is 20x faster than before. The "big-text" hack is no longer needed. - Leo's importers are now line/token oriented, allowing them to handle languages like javascript more robustly. - New perl and javascript importers. - Pylint now runs in the background. - Pyflakes can optionally check each file as it is written. - Greatly simplified argument-handling for interactive commands. - Documented how to do Test-Driven Development in Leo. *Links* - Leo's home page <http://leoeditor.com> - Documentation <http://leoeditor.com/leo_toc.html> - Tutorials <http://leoeditor.com/tutorial.html> - Video tutorials <http://leoeditor.com/screencasts.html> - Forum <http://groups.google.com/group/leo-editor> - Download <http://sourceforge.net/projects/leo/files/> - Leo on GitHub <https://github.com/leo-editor/leo-editor> - What people are saying about Leo <http://leoeditor.com/testimonials.html> - A web page that displays .leo files <http://leoeditor.com/load-leo.html> - More links <http://leoeditor.com/leoLinks.html> ---- -- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
[issue25778] winreg.EnumValue does not truncate strings correctly
Edward K. Ream added the comment: Thank you, Steve, et. al. for resolving this issue. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25778> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25778] winreg.EnumValue does not truncate strings correctly
Edward K. Ream added the comment: On Sat, Dec 3, 2016 at 1:37 PM, Steve Dower <rep...@bugs.python.org> wrote: ​Thanks, Steve and David, for your replies. Getting this issue fixed eventually will do.​ Glad to hear it was a mistake, and not policy ;-) EKR -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25778> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25778] winreg.EnumValue does not truncate strings correctly
Edward K. Ream added the comment: The last message on this thread was in January, and this item is Open. According to Pep 478, 3.5.2 final was released Sunday, June 26, 2016. How is this issue not a release blocker? Why does there appear to be no urgency in fixing this bug? This bug bites for 64-bit versions of Python 3. When it bit, it caused Leo to crash during startup. When it bit, it was reason to recommend Python 2 over Python 3. I have just released an ugly workaround in Leo. So now Leo itself can start up, but there is no guarantee that user plugins and scripts will work. Imo, no future version of Python 3 should go out the door until this bug is fixed, for sure, and for all time. If you want people to use Python 3, it can NOT have this kind of bug in it. -- nosy: +Edward.K..Ream ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25778> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
ANN: Leo 5.4
Leo <http://leoeditor.com/> 5.4 is now available on SourceForge <http://sourceforge.net/projects/leo/files/Leo/> and on GitHub <https://github.com/leo-editor/leo-editor>. Many thanks to all who have contributed. Special thanks to those who have made major improvements to Leo's Wikipedia page <https://en.wikipedia.org/wiki/Leo_%28text_editor%29>. Leo is an IDE, outliner and PIM, as described here <http://leoeditor.com/preface.html>. Simulating Leo's features in Vim, Emacs or Eclipse is possible, just as it is possible to simulate Python in assembly language... *The highlights of Leo 5.4* - Added clone-find commands, a new way to use Leo. - The clone-find and tag-all-children commands unify clones and tags. - The new pyflakes and flake8 make it possible to check files from within Leo. - Added importers for freemind, mindjet, json and coffeescript files. - Rewrote the javascript importer. - Imported files can optionally contain section references. - The viewrendered plugin supports @pyplot nodes. - Improved the mod_http plugin. - @chapter trees need no longer be children of @chapters nodes. - All known bugs have been fixed. *Links* - Leo's home page <http://leoeditor.com> - Documentation <http://leoeditor.com/leo_toc.html> - Tutorials <http://leoeditor.com/tutorial.html> - Video tutorials <http://leoeditor.com/screencasts.html> - Forum <http://groups.google.com/group/leo-editor> - Download <http://sourceforge.net/projects/leo/files/> - Leo on GitHub <https://github.com/leo-editor/leo-editor> - What people are saying about Leo <http://leoeditor.com/testimonials.html> - A web page that displays .leo files <http://leoeditor.com/load-leo.html> - More links <http://leoeditor.com/leoLinks.html> ---------- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Leo 5.4-b1 released
Leo <http://leoeditor.com/> 5.4-b1 is now available on SourceForge <http://sourceforge.net/projects/leo/files/Leo/>. Leo is an IDE, a PIM and and an outliner. *The highlights of Leo 5.4* - Added clone-find commands, a new way to use Leo. - The clone-find and tag-all-children commands unify clones and tags. - The new pyflakes and flake8 make it possible to check files from within Leo. - Added importers for freemind, mindjet, json and coffeescript files. - Rewrote the javascript importer. It can optionally generate section references. - Imported files can optionally contain section references. - The viewrendered plugin supports @pyplot nodes. - Improved the mod_http plugin. - @chapter trees need no longer be children of @chapters nodes. - All known bugs have been fixed. *Leo is*: - A fully-featured IDE, with Emacs-like commands. - An outliner. Everything in Leo is an outline. - A Personal Information Manager. - A browser with a memory. - A powerful scripting environment. - A tool for studying other people's code. - Extensible via a simple plugin architecture. - A tool that plays well with IPython, vim and xemacs. - Written in 100% pure Python - Compatible with Python 2.6 and above or Python 3.0 and above. - A tool with an inspiring and active community. *Leo's unique features*: - Always-present, persistent, outline structure. - Leo's underlying data is a Directed Acyclic Graph. - Clones create multiple views of an outline. - A simple, powerful, outline-oriented Python API. - Scripts and programs can be composed from outlines. - Importers convert flat text into outlines. - Scripts have full access to all of Leo's sources. - Commands that act on outline structure. Example: the rst3 command converts outlines to reStructuredText. - @test and @suite scripts create unit tests automatically. - @button scripts apply scripts to outline data. - Outline-oriented directives. Simulating these features in vim, Emacs or Eclipse is possible, just as it is possible to simulate Python in assembly language... *Links* - Leo's home page <http://leoeditor.com> - Documentation <http://leoeditor.com/leo_toc.html> - Tutorials <http://leoeditor.com/tutorial.html> - Video tutorials <http://leoeditor.com/screencasts.html> - Forum <http://groups.google.com/group/leo-editor> - Download <http://sourceforge.net/projects/leo/files/> - Leo on GitHub <https://github.com/leo-editor/leo-editor> - What people are saying about Leo <http://leoeditor.com/testimonials.html> - A web page that displays .leo files <http://leoeditor.com/load-leo.html> - More links <http://leoeditor.com/leoLinks.html> ​Edward ---------- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Leo 5.3-final released
Leo <http://leoeditor.com/> 5.3-final is now available on SourceForge <http://sourceforge.net/projects/leo/files/Leo/>. Leo is a PIM, an IDE and an outliner. *The highlights of Leo 5.3* - Leo now supports Jupyter Notebook (.ipynb) files. - @chapter is now allowed anywhere. No need for @chapters. - Faster spell checking. - The rst3 command supports @rst-table. - The show-invisibles command now uses native Qt characters. - Dozens of other improvements and bug fixes. *Leo is*: - An outliner. Everything in Leo is an outline. - A Personal Information Manager. - A browser with a memory. - A powerful scripting environment. - A tool for studying other people's code. - A fully-featured IDE, with emacs-like commands. - Extensible via a simple plugin architecture. - A tool that plays well with IPython, vim and xemacs. - Written in 100% pure Python - Compatible with Python 2.6 and above or Python 3.0 and above. - A tool with an inspiring and active community. *Leo's unique features*: - Always-present, persistent, outline structure. - Leo's underlying data is a Directed Acyclic Graph. - Clones create multiple views of an outline. - A simple, powerful, outline-oriented Python API. - Scripts and programs can be composed from outlines. - Importers convert flat text into outlines. - Scripts have full access to all of Leo's sources. - Commands that act on outline structure. Example: the rst3 command converts outlines to reStructuredText. - @test and @suite scripts create unit tests automatically. - @button scripts apply scripts to outline data. - Outline-oriented directives. Simulating these features in vim or Emacs is possible, just as it is possible to simulate Python in assembly language... *Links* - Leo's home page <http://leoeditor.com> - Documentation <http://leoeditor.com/leo_toc.html> - Tutorials <http://leoeditor.com/tutorial.html> - Video tutorials <http://leoeditor.com/screencasts.html> - Forum <http://groups.google.com/group/leo-editor> - Download <http://sourceforge.net/projects/leo/files/> - Leo on Github <https://github.com/leo-editor/leo-editor> - What people are saying about Leo <http://leoeditor.com/testimonials.html> - A web page that displays .leo files <http://leoeditor.com/load-leo.html> - More links <http://leoeditor.com/leoLinks.html> ​May 2, 2016​ ---------- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Leo 5.3-b1 released
Leo <http://leoeditor.com/> 5.3-b1 is now available on SourceForge <http://sourceforge.net/projects/leo/files/Leo/>. Leo is a PIM, an IDE and an outliner. *The highlights of Leo 5.3* - Leo now supports Jupyter Notebook (.ipynb) files. - @chapter is now allowed anywhere. No need for @chapters. - Faster spell checking. - The rst3 command supports @rst-table. - The show-invisibles command now uses native Qt characters. - Dozens of other improvements and bug fixes. *Leo is*: - An outliner. Everything in Leo is an outline. - A Personal Information Manager. - A browser with a memory. - A powerful scripting environment. - A tool for studying other people's code. - A fully-featured IDE, with emacs-like commands. - Extensible via a simple plugin architecture. - A tool that plays well with IPython, vim and xemacs. - Written in 100% pure Python - Compatible with Python 2.6 and above or Python 3.0 and above. *Leo's unique features*: - Always-present, persistent, outline structure. - Leo's underlying data is a Directed Acyclic Graph. - Clones create multiple views of an outline. - A simple, powerful, outline-oriented Python API. - Scripts and programs can be composed from outlines. - Importers convert flat text into outlines. - Scripts have full access to all of Leo's sources. - Commands that act on outline structure. Example: the rst3 command converts outlines to reStructuredText. - @test and @suite scripts create unit tests automatically. - @button scripts apply scripts to outline data. - Outline-oriented directives. Simulating these features in vim or Emacs is possible, just as it is possible to simulate Python in assembly language... *Links* - Leo's home page <http://leoeditor.com> - Documentation <http://leoeditor.com/leo_toc.html> - Tutorials <http://leoeditor.com/tutorial.html> - Video tutorials <http://leoeditor.com/screencasts.html> - Forum <http://groups.google.com/group/leo-editor> - Download <http://sourceforge.net/projects/leo/files/> - Leo on Github <https://github.com/leo-editor/leo-editor> - What people are saying about Leo <http://leoeditor.com/testimonials.html> - A web page that displays .leo files <http://leoeditor.com/load-leo.html> - More links <http://leoeditor.com/leoLinks.html> Edward ---------- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: python_to_coffeescript 0.1
py2cs.py 0.1 is now available on github <https://github.com/edreamleo/python-to-coffeescript>. This script makes a coffeescript <http://coffeescript.org/> (.coffee) file in the output directory for each source file listed on the command line (wildcard file names are supported). This script never creates directories automatically, nor does it overwrite .coffee files unless the --overwrite command-line option is in effect. This script merely converts python syntax to the roughly equivalent coffeescript syntax. It knows nothing about coffeescript semantics. It is intended *only* to help start creating coffeescript code from an existing python code base. This script already does much of the grunt work of converting python to coffeescript. The script processes itself without error, but coffeescript itself complains about some results ​.​ ​Edward​ K. Ream March 31, 2016 ---------- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: make_stub_files 0.1
m ​ake_stub_files.py ​ 0.1 is now available here <https://github.com/edreamleo/make-stub-files>. This script eliminates much of the drudgery of creating python stub (.pyi) <https://www.python.org/dev/peps/pep-0484/#stub-files> from python source files. This script should encourage more people to use mypy. Stub files can be used by people who use Python 2.x code bases. This script makes a stub (.pyi) file in the output directory for each source file listed on the command line (wildcard file names are supported). This script never creates directories automatically, nor does it overwrite stub files unless the --overwrite command-line option is in effect. GvR says, We actually do have a stub generator <https://github.com/JukkaL/mypy/blob/master/mypy/stubgen.py> as part of mypy now (it has a few options) but yours has the advantage of providing a way to tune the generated signatures...This allows for a nice iterative way of developing stubs. The script does no type inference. Instead, the user supplies *patterns* in a configuration file. The script matches these patterns to: 1. The names of arguments in functions and methods and 2. The text of *return expressions*. Return expressions are the actual text of whatever follows the "return" keyword. The script removes all comments in return expressions and converts all strings to "str". This preprocessing greatly simplifies pattern matching. For example, given the method: def foo(self, i, s): if i: return "abc" # a comment else: return s and the patterns: i: int s: str the script produces the stub: def foo(i: int, s: str) --> str: ... Edward K. Ream March 31, 2016 ------ Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Leo 5.2-final released
Leo <http://leoeditor.com/> 5.2-final is now available at SourceForge. <http://sourceforge.net/projects/leo/files/Leo/> Leo is a PIM, an IDE and an outliner. *The highlights of Leo 5.2* - Easy install with PyInstaller packaging - c.cloneFindByPredicate - clone-find-marked commands - decorators create all Leo commands - find-def and find-var - help-for-keystroke - --ipyhon command-line option works with latest IPython versions - Optional line numbers in the body pane - show-invisibles uses Qt characters - Themes - Wildcard file names on Leo's command line... read more <https://sourceforge.net/p/leo/news/2016/03/leo-52-final-released-421/> ​Edward K. Ream March 19, 2016 ---------- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Leo 5.2-b1 released
Leo <http://leoeditor.com/> 5.2 b1 is now available on SourceForge <http://sourceforge.net/projects/leo/files/Leo/>. Leo is a PIM, an IDE and an outliner. *The highlights of Leo 5.2* - Easy install with PyInstaller packaging - c.cloneFindByPredicate - clone-find-marked commands - decorators create all Leo commands - find-def and find-var - help-for-keystroke --ipyhon command-line option works with latest IPython versions - Optional line numbers in the body pane - show-invisibles uses Qt characters - Themes - Wildcard file names on Leo's command line *Links* Leo's home page <http://leoeditor.com> Documentation <http://leoeditor.com/leo_toc.html> Tutorials <http://leoeditor.com/tutorial.html> Video tutorials <http://leoeditor.com/screencasts.html> Forum <http://groups.google.com/group/leo-editor> Download <http://sourceforge.net/projects/leo/files/> Leo on Github <https://github.com/leo-editor/leo-editor> What people are saying about Leo <http://leoeditor.com/testimonials.html> A web page that displays .leo files <http://leoeditor.com/load-leo.html> More links <http://leoeditor.com/leoLinks.html> March 15, 2016 ---------- Edward K. Ream: edream...@gmail.com Leo: http://leoeditor.com/ -- -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
[issue22819] Python3.4: xml.sax.saxutils.XMLGenerator.__init__ fails with pythonw.exe
New submission from Edward K. Ream: In Python3.2 xml.sax.saxutils.XMLGenerator.__init__ succeeds if the out keyword argument is not given and sys.stdout is None, which will typically be the case when using pythonw.exe. Alas, on Python3.4, the ctor throws an exception in this case. This is a major compatibility issue, and is completely unnecessary: the ctor should work as before. An easy fix: allocate a file-like object as the out stream, or just do what is done in Python 3.2 ;-) -- components: Library (Lib) messages: 230844 nosy: Edward.K..Ream priority: normal severity: normal status: open title: Python3.4: xml.sax.saxutils.XMLGenerator.__init__ fails with pythonw.exe type: crash versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22819 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22616] Allow connecting AST nodes with corresponding source ranges
Edward K. Ream added the comment: I urge the Python development team to fix this and the related bugs given in the Post Script. The lack of an easy way of associating ast nodes with text ranges in the original sources is arguably the biggest hole in the Python api. These bugs have immediate, severe, practical consequences for any tool that attempts to regularize (pep 8) or beautify Python code. Consider the code for PythonTidy: http://lacusveris.com/PythonTidy/PythonTidy-1.23.python Every version has had bugs in this area arising from difficult workarounds to the hole in the API. The entire Comments class is a horror directly related to these issues. Consider Aivar's workaround to these bugs: https://bitbucket.org/plas/thonny/src/8cdaa41aca7a5cc0b31618b6f1631d360c488196/src/ast_utils.py?at=default See the docstring for def fix_ast_problems. This is an absurdly difficult solution to what should be a trivial problem. It's impossible to build reliable software using such heroic hacks. The additional bugs listed below further complicate a nightmarish task. In short, these bugs are *not* minor little nits. They are preventing the development of reliable source-code tools. Edward K. Ream P.S. Here are the related bugs: http://bugs.python.org/issue10769 Allow connecting AST nodes with corresponding source ranges http://bugs.python.org/issue21295 Python 3.4 gives wrong col_offset for Call nodes returned from ast.parse http://bugs.python.org/issue18374 ast.parse gives wrong position (col_offset) for some BinOp-s http://bugs.python.org/issue16806 col_offset is -1 and lineno is wrong for multiline string expressions EKR -- nosy: +Edward.K..Ream ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22616 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17850] unicode_escape encoding fails for '\\Upsilon'
New submission from Edward K. Ream: On both windows and Linux the following fails on Python 2.7: s = '\\Upsilon' unicode(s,unicode_escape) UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 0-7: end of string in escape sequence BTW, the six.py package uses this call. If this call doesn't work, six is broken. -- components: Library (Lib) messages: 187852 nosy: Edward.K..Ream priority: normal severity: normal status: open title: unicode_escape encoding fails for '\\Upsilon' type: crash versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17850 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17850] unicode_escape encoding fails for '\\Upsilon'
Edward K. Ream added the comment: Thanks for your quick reply. If this is not a bug, why does six define six.u as unicode(s,unicode_escape) for *all* u constants?? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17850 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17850] unicode_escape encoding fails for '\\Upsilon'
Edward K Ream added the comment: On Fri, Apr 26, 2013 at 8:51 AM, Edward K. Ream rep...@bugs.python.orgwrote: If this is not a bug, why does six define six.u as unicode(s,unicode_escape) for *all* u constants?? Oops. The following works:: s = r'\\Upsilon' unicode(s,unicode_escape) My apologies for the noise. Edward -- nosy: +edreamleo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17850 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
ANN: Leo 4.10 final released
Leo 4.10 final is now available at: http://sourceforge.net/projects/leo/files/Leo/4.10%20final/ Leo is a text editor, data organizer, project manager and much more. http://webpages.charter.net/edreamleo/intro.html Leo 4.10 contains 9 months of intense work on Leo. Several very important features are subtle; you could almost call them Easter Eggs, so please read the following notes carefully. The highlights of Leo 4.10: -- * Dozens of new and improved features and commands, including... - Tab completion now shows all @command @button nodes. - Leo tabs may be detached from the main window. - The Open With menu now works. - The leoInspect module answers questions about Python code. - Leo can highlight the pane containing the focus. - The bigdash plugin searches across multiple files. - Improved abbreviation capabilities. - Improved handling of URL's. - Improved editing of non-Leo files. - Improvements create weightless unit testing. - Improved Leo's home page. * Easier installation on MacOS. * Fixed almost 70 bugs. The Easter Eggs --- 1. Tab completion now shows all @command @button nodes. Put all your common scripts in @command nodes in myLeoSettings.leo. Typing Alt-X@cTab will remind you of the names of these scripts. You can execute the scripts by name without the @command- prefix. 2. Improved abbreviation capabilities. Virtually any kind of abbreviation is possible. For example, ~a to ã. 3. Improved handling of URL's. URL's can be used as links to other Leo outlines. 4 Weightless unit testing. The mantra is edit, alt-4 (run-marked-unit-tests-externally), edit, alt-4,... Several seemingly innocuous changes made this work without friction. The result is a remarkable increase in productivity. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/projects/leo/files/Leo/4.10%20final/ Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream -- Edward K. Ream email: edream...@gmail.com Leo: http://webpages.charter.net/edreamleo/front.html -- -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.10 b1 released
Leo 4.10 b1 is now available at: http://sourceforge.net/projects/leo/files/ Leo is a text editor, data organizer, project manager and much more. http://webpages.charter.net/edreamleo/intro.html Leo 4.10 contains 9 months of intense work on Leo. Several very important features are subtle; you could almost call them Easter Eggs, so please read the following notes carefully. The highlights of Leo 4.10: -- * Dozens of new and improved features and commands, including... - Tab completion now shows all @command @button nodes. - Leo tabs may be detached from the main window. - The Open With menu now works. - The leoInspect module answers questions about Python code. - Leo can highlight the pane containing the focus. - The bigdash plugin searches across multiple files. - Improved abbreviation capabilities. - Improved handling of URL's. - Improved editing of non-Leo files. - Improvements create weightless unit testing. * Easier installation on MacOS. * Fixed almost 70 bugs. The Easter Eggs --- 1. Tab completion now shows all @command @button nodes. Put all your common scripts in @command nodes in myLeoSettings.leo. Typing Alt-X@cTab will remind you of the names of these scripts. You can execute the scripts by name without the @command- prefix. 2. Improved abbreviation capabilities. Virtually any kind of abbreviation is possible. For example, ~a to ã. 3. Improved handling of URL's. URL's can link to other Leo outlines. Ctrl-Click on nodes or URL's in body text to activate the URL. 4 Weightless unit testing. The mantra is edit, alt-4 (run-marked-unit-tests-externally), edit, alt-4,... Several seemingly innocuous changes made this work without an friction. The result is a remarkable increase in productivity. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/projects/leo/files/ Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream -- Edward K. Ream email: edream...@gmail.com Leo: http://webpages.charter.net/edreamleo/front.html -- -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 4.10 b1 released
Leo 4.10 b1 is now available at: http://sourceforge.net/projects/leo/files/ Leo is a text editor, data organizer, project manager and much more. http://webpages.charter.net/edreamleo/intro.html Leo 4.10 contains 9 months of intense work on Leo. Several very important features are subtle; you could almost call them Easter Eggs, so please read the following notes carefully. The highlights of Leo 4.10: -- * Dozens of new and improved features and commands, including... - Tab completion now shows all @command @button nodes. - Leo tabs may be detached from the main window. - The Open With menu now works. - The leoInspect module answers questions about Python code. - Leo can highlight the pane containing the focus. - The bigdash plugin searches across multiple files. - Improved abbreviation capabilities. - Improved handling of URL's. - Improved editing of non-Leo files. - Improvements create weightless unit testing. * Easier installation on MacOS. * Fixed almost 70 bugs. The Easter Eggs --- 1. Tab completion now shows all @command @button nodes. Put all your common scripts in @command nodes in myLeoSettings.leo. Typing Alt-X@cTab will remind you of the names of these scripts. You can execute the scripts by name without the @command- prefix. 2. Improved abbreviation capabilities. Virtually any kind of abbreviation is possible. For example, ~a to ã. 3. Improved handling of URL's. URL's can link to other Leo outlines. Ctrl-Click on nodes or URL's in body text to activate the URL. 4 Weightless unit testing. The mantra is edit, alt-4 (run-marked-unit-tests-externally), edit, alt-4,... Several seemingly innocuous changes made this work without an friction. The result is a remarkable increase in productivity. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/projects/leo/files/ Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.9 final released
Leo 4.9 final is now available at: http://sourceforge.net/projects/leo/files/ Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.9: -- - The Qt gui completely replaces the Tk gui--Qt gui now has all essential features of Tk, including plugins. - Completed Leo's autocompleter. - The rendering pane can now display movies, html, svg images, etc. - The scrolledmessage plugin can now use the rendering pane. - Nodes may contain multiple @language directives. - Leo highlights URL's everywhere. Ctrl-click URL's opens them in your web browser. - Leo uses an @file node's extension by default if there is no @language directive in effect. - Unified extract and import commands. - Leo can now colorize multiple @language directives in a single node. - Plain up/down arrow keys in headline-editing mode select a new node. - New commands to insert, delete, change or print uA's. - Added namespace directive to .leo files. - Fixed many bugs, some important, most quite minor. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/projects/leo/files/ Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream June 21, 2011 -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 4.9 final released
Leo 4.9 final is now available at: http://sourceforge.net/projects/leo/files/ Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.9: - The Qt gui completely replaces the Tk gui--Qt gui now has all essential features of Tk, including plugins. - Completed Leo's autocompleter. - The rendering pane can now display movies, html, svg images, etc. - The scrolledmessage plugin can now use the rendering pane. - Nodes may contain multiple @language directives. - Leo highlights URL's everywhere. Ctrl-click URL's opens them in your web browser. - Leo uses an @file node's extension by default if there is no @language directive in effect. - Unified extract and import commands. - Leo can now colorize multiple @language directives in a single node. - Plain up/down arrow keys in headline-editing mode select a new node. - New commands to insert, delete, change or print uA's. - Added namespace directive to .leo files. - Fixed many bugs, some important, most quite minor. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/projects/leo/files/ Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream June 21, 2011 -- http://mail.python.org/mailman/listinfo/python-list
Leo 4.9 b4 released
Leo 4.9 b4 is now available at: http://sourceforge.net/projects/leo/files/ If you have trouble downloading, please do try an alternate mirror. Unless serious problems are reported, expect Leo 4.9 rc1 this Friday, June 17 and 4.9 final on Tuesday, June 21. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html **The highlights of Leo 4.9:** - The Qt gui completely replaces the Tk gui--Qt gui now has all essential features of Tk, including plugins. - Completed Leo's autocompleter. - The rendering pane can now display movies, html, svg images, etc. - The scrolledmessage plugin can now use the rendering pane. - Nodes may contain multiple @language directives. - Leo highlights URL's everywhere. Ctrl-click URL's opens them in your web browser. - Leo uses an @file node's extension by default if there is no @language directive in effect. - Unified extract and import commands. - Leo can now colorize multiple @language directives in a single node. - Plain up/down arrow keys in headline-editing mode select a new node. - New commands to insert, delete, change or print uA's. - Added namespace directive to .leo files. - Fixed many bugs, some important, others merely annoying. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/projects/leo/files/ Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream June 14, 2011 -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Leo 4.9 b4 released
Leo 4.9 b4 is now available at: http://sourceforge.net/projects/leo/files/ If you have trouble downloading, please do try an alternate mirror. Unless serious problems are reported, expect Leo 4.9 rc1 this Friday, June 17 and 4.9 final on Tuesday, June 21. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html **The highlights of Leo 4.9:** - The Qt gui completely replaces the Tk gui--Qt gui now has all essential features of Tk, including plugins. - Completed Leo's autocompleter. - The rendering pane can now display movies, html, svg images, etc. - The scrolledmessage plugin can now use the rendering pane. - Nodes may contain multiple @language directives. - Leo highlights URL's everywhere. Ctrl-click URL's opens them in your web browser. - Leo uses an @file node's extension by default if there is no @language directive in effect. - Unified extract and import commands. - Leo can now colorize multiple @language directives in a single node. - Plain up/down arrow keys in headline-editing mode select a new node. - New commands to insert, delete, change or print uA's. - Added namespace directive to .leo files. - Fixed many bugs, some important, others merely annoying. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/projects/leo/files/ Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream June 14, 2011 -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.8 final
Leo 4.8 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.8: -- - Leo now uses the simplest possible sentinel lines in external files. External files with sentinels now look like Emacs org-mode files. - Leo Qt gui now supports Drag and Drop. This was one of the most frequently requested features. - Improved abbreviation commands. You now define abbreviations in Leo settings nodes, not external files. - @url nodes may contain url's in body text. This allows headlines to contain summaries: very useful. - Leo now uses PyEnchant to check spelling. - Leo can now open multiple files from the command line. - Leo's ancient Tangle and Untangle commands are now deprecated. This will help newbies how to learn Leo. - Leo now shows Resurrected and Recovered nodes. These protect data and show how data have changed. These fix several long-standing data-related problems. - A new screenshots plugin for creating slide shows with Leo. I used this plugin to create Leo's introductory slide shows. - Improved autocompletion: Ctrl-space starts a one-time completion. - A better installer. - Many bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream November 26, 2010 -- http://mail.python.org/mailman/listinfo/python-list
Leo 4.8 rc1 released
Leo 4.8 release candidate 1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.8: -- - Leo now uses the simplest possible sentinel lines in external files. External files with sentinels now look like Emacs org-mode files. - Leo Qt gui now supports Drag and Drop. This was one of the most frequently requested features. - Improved abbreviation commands. You now define abbreviations in Leo settings nodes, not external files. - @url nodes may contain url's in body text. This allows headlines to contain summaries: very useful. - Leo now uses PyEnchant to check spelling. - Leo can now open multiple files from the command line. - Leo's ancient Tangle and Untangle commands are now deprecated. This will help newbies how to learn Leo. - Leo now shows Resurrected and Recovered nodes. These protect data and show how data have changed. These fix several long-standing data-related problems. - A new screenshots plugin for creating slide shows with Leo. I used this plugin to create Leo's introductory slide shows. - Improved autocompletion: Ctrl-space starts a one-time completion. - A better installer. - Many bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream November 15, 2010 -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Leo 4.8 rc1 released
Leo 4.8 release candidate 1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.8: -- - Leo now uses the simplest possible sentinel lines in external files. External files with sentinels now look like Emacs org-mode files. - Leo Qt gui now supports Drag and Drop. This was one of the most frequently requested features. - Improved abbreviation commands. You now define abbreviations in Leo settings nodes, not external files. - @url nodes may contain url's in body text. This allows headlines to contain summaries: very useful. - Leo now uses PyEnchant to check spelling. - Leo can now open multiple files from the command line. - Leo's ancient Tangle and Untangle commands are now deprecated. This will help newbies how to learn Leo. - Leo now shows Resurrected and Recovered nodes. These protect data and show how data have changed. These fix several long-standing data-related problems. - A new screenshots plugin for creating slide shows with Leo. I used this plugin to create Leo's introductory slide shows. - Improved autocompletion: Ctrl-space starts a one-time completion. - A better installer. - Many bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream November 15, 2010 -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.8 beta 1 released
Leo 4.8 beta 1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.8: -- - Leo now uses the simplest possible sentinel lines in external files. External files with sentinels now look like Emacs org-mode files. - Leo Qt gui now supports Drag and Drop. This was one of the most frequently requested features. - Improved abbreviation commands. You now define abbreviations in Leo settings nodes, not external files. - @url nodes may contain url's in body text. This allows headlines to contain summaries: very useful. - Leo now uses PyEnchant to check spelling. - Leo can now open multiple files from the command line. - Leo's ancient Tangle and Untangle commands are now deprecated. This will help newbies how to learn Leo. - Leo now shows Resurrected and Recovered nodes. These protect data and show how data have changed. These fix several long-standing data-related problems. - A new screenshots plugin for creating slide shows with Leo. I used this plugin to create Leo's introductory slide shows. - A better installer. - Many bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 4.8 beta 1 released
Leo 4.8 beta 1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.8: -- - Leo now uses the simplest possible sentinel lines in external files. External files with sentinels now look like Emacs org-mode files. - Leo Qt gui now supports Drag and Drop. This was one of the most frequently requested features. - Improved abbreviation commands. You now define abbreviations in Leo settings nodes, not external files. - @url nodes may contain url's in body text. This allows headlines to contain summaries: very useful. - Leo now uses PyEnchant to check spelling. - Leo can now open multiple files from the command line. - Leo's ancient Tangle and Untangle commands are now deprecated. This will help newbies how to learn Leo. - Leo now shows Resurrected and Recovered nodes. These protect data and show how data have changed. These fix several long-standing data-related problems. - A new screenshots plugin for creating slide shows with Leo. I used this plugin to create Leo's introductory slide shows. - A better installer. - Many bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.7.1 released
Leo 4.7.1 finalFebruary 26, 2010 Leo 4.7.1 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo 4.7.1 fixes a dangerous bug in Leo 4.7. When converting file-like sentinels to thin-like sentinels in an external file, Leo now issues a warning and sets the corresponding @file node dirty. This ensures that Leo will write the converted external file and .leo file together, making it impossible to lose data. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.7: -- - Leo now uses the simplest possible internal data model. This is the so-called one-node world. - Leo supports Python 3.x. - Leo requires Python 2.6 or above. - Several important improvements in file handling. - Leo converts @file nodes to @thin nodes automatically. - Leo creates a 'Recovered Nodes' node to hold data that otherwise might be lost due to clone conflicts. - @auto-rst now works much more reliably reliably. - Leo no longer supports @noref trees. Such trees are not reliable in cooperative environments. - A new Windows installer. - Many other features, including new command line options and new plugins. - Dozens of bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 4.7.1 released
Leo 4.7.1 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo 4.7.1 fixes a dangerous bug in Leo 4.7. When converting file-like sentinels to thin-like sentinels in an external file, Leo now issues a warning and sets the corresponding @file node dirty. This ensures that Leo will write the converted external file and .leo file together, making it impossible to lose data. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.7: -- - Leo now uses the simplest possible internal data model. This is the so-called one-node world. - Leo supports Python 3.x. - Leo requires Python 2.6 or above. - Several important improvements in file handling. - Leo converts @file nodes to @thin nodes automatically. - Leo creates a 'Recovered Nodes' node to hold data that otherwise might be lost due to clone conflicts. - @auto-rst now works much more reliably reliably. - Leo no longer supports @noref trees. Such trees are not reliable in cooperative environments. - A new Windows installer. - Many other features, including new command line options and new plugins. - Dozens of bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: Leo 4.7 final released
On Tue, 23 Feb 2010 07:53:44 -0600, Edward K Ream edream...@gmail.com wrote: A critical bug has been reported against Leo 4.7 final, and indeed all previous versions of Leo 4.7. The bug can cause loss of data in @file nodes when Leo 4.7 saves .leo files created with older versions of Leo. This bug will be fixed in Leo 4.7.1, due in a few days. The bug has already been fixed on Leo's trunk. My apologies for any problems this bug may have caused. -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.7 final released
Leo 4.7 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo 4.7 final fixes all known bugs in Leo. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.7: -- - Leo now uses the simplest possible internal data model. This is the so-called one-node world. - Leo supports Python 3.x. - Leo requires Python 2.6 or above. - Several important improvements in file handling. - Leo converts @file nodes to @thin nodes automatically. - Leo creates a 'Recovered Nodes' node to hold data that otherwise might be lost due to clone conflicts. - @auto-rst now works much more reliably reliably. - Leo no longer supports @noref trees. Such trees are not reliable in cooperative environments. - A new Windows installer. - Many other features, including new command line options and new plugins. - Dozens of bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 4.7 final released
Leo 4.7 finalFebruary 23, 2009 Leo 4.7 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo 4.7 final fixes all known bugs in Leo. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.7: -- - Leo now uses the simplest possible internal data model. This is the so-called one-node world. - Leo supports Python 3.x. - Leo requires Python 2.6 or above. - Several important improvements in file handling. - Leo converts @file nodes to @thin nodes automatically. - Leo creates a 'Recovered Nodes' node to hold data that otherwise might be lost due to clone conflicts. - @auto-rst now works much more reliably reliably. - Leo no longer supports @noref trees. Such trees are not reliable in cooperative environments. - A new Windows installer. - Many other features, including new command line options and new plugins. - Dozens of bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.7 rc1 released
Leo 4.7 release candidate 1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo 4.7 rc 1 fixes all known serious bugs in Leo; minor nits remain. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.7: -- - Leo now uses the simplest possible internal data model. This is the so-called one-node world. - Leo supports Python 3.x. - Leo requires Python 2.6 or above. - Several important improvements in file handling. - Leo converts @file nodes to @thin nodes automatically. - Leo creates a 'Recovered Nodes' node to hold data that otherwise might be lost due to clone conflicts. - @auto-rst now works much more reliably reliably. - Leo no longer supports @noref trees. Such trees are not reliable in cooperative environments. - A new Windows installer. - Many other features, including new command line options and new plugins. - Dozens of bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream February 12, 2010 -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 4.7 rc1 released
Leo 4.7 release candidate 1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo 4.7 rc 1 fixes all known serious bugs in Leo; minor nits remain. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.7: -- - Leo now uses the simplest possible internal data model. This is the so-called one-node world. - Leo supports Python 3.x. - Leo requires Python 2.6 or above. - Several important improvements in file handling. - Leo converts @file nodes to @thin nodes automatically. - Leo creates a 'Recovered Nodes' node to hold data that otherwise might be lost due to clone conflicts. - @auto-rst now works much more reliably reliably. - Leo no longer supports @noref trees. Such trees are not reliable in cooperative environments. - A new Windows installer. - Many other features, including new command line options and new plugins. - Dozens of bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream February 12, 2010 -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.7 b3 released
Leo 4.7 beta 3 February 2, 2009 Leo 4.7 beta 3 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo 4.7 beta 3 fixes all known serious bugs in Leo. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.7: -- - Leo now uses the simplest possible internal data model. This is the so-called one-node world. - Leo supports Python 3.x. - Leo requires Python 2.6 or above. - Several important improvements in file handling. - Leo converts @file nodes to @thin nodes automatically. - @auto-rst now works much more reliably reliably. - Leo no longer @noref trees. Such trees are not reliable in cooperative environments. - A new Windows installer. - Many other features, including new command line options and new plugins. - Dozens of bug fixes. Edward K. Ream Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 4.7 b3 released
Leo 4.7 beta 3 February 2, 2009 Leo 4.7 beta 3 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo 4.7 beta 3 fixes all known serious bugs in Leo. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.7: -- - Leo now uses the simplest possible internal data model. This is the so-called one-node world. - Leo supports Python 3.x. - Leo requires Python 2.6 or above. - Several important improvements in file handling. - Leo converts @file nodes to @thin nodes automatically. - @auto-rst now works much more reliably reliably. - Leo no longer @noref trees. Such trees are not reliable in cooperative environments. - A new Windows installer. - Many other features, including new command line options and new plugins. - Dozens of bug fixes. Edward K. Ream Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.7 beta 1 released
Leo 4.7 beta 1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html This version of Leo is labeled a beta version because it contains some new, relatively untested plugins. However, Leo's core should be quite reliable. In particular, Leo 4.7 beta 1 fixes a bug that caused Leo 4.6 releases to crash if .leoID.txt did not exist. Usually this file does exist, but Leo will prompt for the contents of this file (a user id) the very first time somebody uses Leo. Alas, an unfortunate reversion of code caused Leo to crash. Not exactly the best introduction to Leo! The highlights of Leo 4.7: -- - A major simplification of internal data model: the so-called one-node world. Note: this is **disabled** in the beta 1 release. - A new executable Windows installer, whose manifest is created from the files that bzr actively manages. - Leo no longer adds directories to sys.path on startup. - New plugins. - The usual assortment of bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: edream...@yahoo.com Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANNOUNCE: Leo 4.7 beta 1 released
Leo 4.7 beta 1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html This version of Leo is labeled a beta version because it contains some new, relatively untested plugins. However, Leo's core should be quite reliable. In particular, Leo 4.7 beta 1 fixes a bug that caused Leo 4.6 releases to crash if .leoID.txt did not exist. Usually this file does exist, but Leo will prompt for the contents of this file (a user id) the very first time somebody uses Leo. Alas, an unfortunate reversion of code caused Leo to crash. Not exactly the best introduction to Leo! The highlights of Leo 4.7: -- - A major simplification of internal data model: the so-called one-node world. Note: this is **disabled** in the beta 1 release. - A new executable Windows installer, whose manifest is created from the files that bzr actively manages. - Leo no longer adds directories to sys.path on startup. - New plugins. - The usual assortment of bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: edream...@yahoo.com Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-list
ANNOUNCE: Leo 4.6.3 released
Leo 4.6.3 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html Leo 4.6.3 fixes a significant caching bug in Leo 4.6.2. Leo 4.6.3 also comes with an executable installer for Windows. The highlights of Leo 4.6 -- - Cached external files *greatly* reduces the time to load .leo files. - Leo now features a modern Qt interface by default. Leo's legacy Tk interface can also be used. - New --config, --file and --gui command-line options. - Leo tests syntax of .py files when saving them. - Leo can now open any kind of file into @edit nodes. - @auto-rst nodes allow easy editing of reStructuredText files. - Properties of commanders, positions and nodes simplify programming. - Improved Leo's unit testing framework. - Leo now requires Python 2.5 or later. - Dozens of small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: edream...@yahoo.com Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.6.2 final released
Leo 4.6.2 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html Leo 4.6.2 fixes several bugs reported since Leo 4.6 was released. The highlights of Leo 4.6 -- - Cached external files *greatly* reduces the time to load .leo files. - Leo now features a modern Qt interface by default. Leo's legacy Tk interface can also be used. - New --config, --file and --gui command-line options. - Leo tests syntax of .py files when saving them. - Leo can now open any kind of file into @edit nodes. - @auto-rst nodes allow easy editing of reStructuredText files. - Properties of commanders, positions and nodes simplify programming. - Improved Leo's unit testing framework. - Leo now requires Python 2.5 or later. - Dozens of small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: edream...@yahoo.com Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 4.6.2 final released
Leo 4.6.2 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html Leo 4.6.2 fixes several bugs reported since Leo 4.6 was released. The highlights of Leo 4.6 -- - Cached external files *greatly* reduces the time to load .leo files. - Leo now features a modern Qt interface by default. Leo's legacy Tk interface can also be used. - New --config, --file and --gui command-line options. - Leo tests syntax of .py files when saving them. - Leo can now open any kind of file into @edit nodes. - @auto-rst nodes allow easy editing of reStructuredText files. - Properties of commanders, positions and nodes simplify programming. - Improved Leo's unit testing framework. - Leo now requires Python 2.5 or later. - Dozens of small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: edream...@yahoo.com Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 4.6.1 final released
Leo 4.6.1 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html Leo 4.6.1 fixes several minor bugs in Leo 4.6. The highlights of Leo 4.6 -- - Cached external files *greatly* reduces the time to load .leo files. - Leo now features a modern Qt interface by default. Leo's legacy Tk interface can also be used. - New --config, --file and --gui command-line options. - Leo tests syntax of .py files when saving them. - Leo can now open any kind of file into @edit nodes. - @auto-rst nodes allow easy editing of reStructuredText files. - Properties of commanders, positions and nodes simplify programming. - Improved Leo's unit testing framework. - Leo now requires Python 2.5 or later. - Dozens of small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: edream...@yahoo.com Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.6 final released
Leo 4.6 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.6: -- - Cached external files *greatly* reduces the time to load .leo files. - Leo now features a modern Qt interface by default. Leo's legacy Tk interface can also be used. - New --config, --file and --gui command-line options. - Leo tests syntax of .py files when saving them. - Leo can now open any kind of file into @edit nodes. - @auto-rst nodes allow easy editing of reStructuredText files. - Properties of commanders, positions and nodes simplify programming. - Improved Leo's unit testing framework. - Leo now requires Python 2.5 or later. - Dozens of small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: edream...@yahoo.com Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 4.6 final released
Leo 4.6 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.6: -- - Cached external files *greatly* reduces the time to load .leo files. - Leo now features a modern Qt interface by default. Leo's legacy Tk interface can also be used. - New --config, --file and --gui command-line options. - Leo tests syntax of .py files when saving them. - Leo can now open any kind of file into @edit nodes. - @auto-rst nodes allow easy editing of reStructuredText files. - Properties of commanders, positions and nodes simplify programming. - Improved Leo's unit testing framework. - Leo now requires Python 2.5 or later. - Dozens of small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: edream...@yahoo.com Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.6 rc1 released
Leo 4.6 rc1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.6: -- - Cached external files *greatly* reduces the time to load .leo files. - Leo now features a modern Qt interface by default. Leo's legacy Tk interface can also be used. - New --config, --file and --gui command-line options. - Leo tests syntax of .py files when saving them. - Leo can now open any kind of file into @edit nodes. - @auto-rst nodes allow easy editing of reStructuredText files. - Properties of commanders, positions and nodes simplify programming. - Improved Leo's unit testing framework. - Leo now requires Python 2.5 or later. - Dozens of small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: edream...@yahoo.com Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 4.6 rc1 released
Leo 4.6 rc1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.6: -- - Cached external files *greatly* reduces the time to load .leo files. - Leo now features a modern Qt interface by default. Leo's legacy Tk interface can also be used. - New --config, --file and --gui command-line options. - Leo tests syntax of .py files when saving them. - Leo can now open any kind of file into @edit nodes. - @auto-rst nodes allow easy editing of reStructuredText files. - Properties of commanders, positions and nodes simplify programming. - Improved Leo's unit testing framework. - Leo now requires Python 2.5 or later. - Dozens of small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: edream...@yahoo.com Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.6 beta 2 released
Leo 4.6 b2 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.6: -- - Cached external files *greatly* reduces the time to load .leo files. - Leo now features a modern Qt interface by default. Leo's legacy Tk interface can also be used. - New --config, --file and --gui command-line options. - Leo tests syntax of .py files when saving them. - Leo can now open any kind of file into @edit nodes. - @auto-rst nodes support round-tripping of reStructuredText files. - Properties of commanders, positions and nodes simplify programming. - Improved Leo's unit testing framework. - Leo now requires Python 2.4 or later. - Dozens of small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html -- Edward K. Ream email: edream...@yahoo.com Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
ANN: Leo 4.6 beta 2 released
Leo 4.6 b2 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.6: -- - Cached external files *greatly* reduces the time to load .leo files. - Leo now features a modern Qt interface by default. Leo's legacy Tk interface can also be used. - New --config, --file and --gui command-line options. - Leo tests syntax of .py files when saving them. - Leo can now open any kind of file into @edit nodes. - @auto-rst nodes support round-tripping of reStructuredText files. - Properties of commanders, positions and nodes simplify programming. - Improved Leo's unit testing framework. - Leo now requires Python 2.4 or later. - Dozens of small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: edream...@yahoo.com Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-list
Leo 4.6 beta 1 released
Leo 4.6 b1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.6: -- - Leo now requires Python 2.4 or later. - A new qt gui plugin, supporting Qt's look and feel. - New --config --file and --gui command-line options. - Dozens of small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: edream...@gmail.com Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
Leo 4.6 beta 1 released
Leo 4.6 b1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.6: -- - Leo now requires Python 2.4 or later. - A new qt gui plugin, supporting Qt's look and feel. - New --config --file and --gui command-line options. - Dozens of small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: edream...@gmail.com Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-list
[issue4531] Deprecation warnings in lib\compiler\ast.py
New submission from Edward K Ream [EMAIL PROTECTED]: Python 2.6 final on Windows XP gives following warnings with -3 option: c:\python26\lib\compiler\ast.py:54: SyntaxWarning: tuple parameter unpacking has been removed in 3.x def __init__(self, (left, right), lineno=None): c:\python26\lib\compiler\ast.py:434: SyntaxWarning: tuple parameter unpacking has been removed in 3.x def __init__(self, (left, right), lineno=None): c:\python26\lib\compiler\ast.py:488: SyntaxWarning: tuple parameter unpacking has been removed in 3.x def __init__(self, (left, right), lineno=None): c:\python26\lib\compiler\ast.py:806: SyntaxWarning: tuple parameter unpacking has been removed in 3.x def __init__(self, (left, right), lineno=None): c:\python26\lib\compiler\ast.py:896: SyntaxWarning: tuple parameter unpacking has been removed in 3.x def __init__(self, (left, right), lineno=None): c:\python26\lib\compiler\ast.py:926: SyntaxWarning: tuple parameter unpacking has been removed in 3.x def __init__(self, (left, right), lineno=None): c:\python26\lib\compiler\ast.py:998: SyntaxWarning: tuple parameter unpacking has been removed in 3.x def __init__(self, (left, right), lineno=None): c:\python26\lib\compiler\ast.py:1098: SyntaxWarning: tuple parameter unpacking has been removed in 3.x def __init__(self, (left, right), lineno=None): c:\python26\lib\compiler\ast.py:1173: SyntaxWarning: tuple parameter unpacking has been removed in 3.x def __init__(self, (left, right), lineno=None): c:\python26\lib\compiler\pycodegen.py:903: SyntaxWarning: tuple parameter unpacking has been removed in 3.x Edward Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -- components: Library (Lib) messages: 76904 nosy: edreamleo severity: normal status: open title: Deprecation warnings in lib\compiler\ast.py type: compile error versions: Python 2.6 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4531 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4531] Deprecation warnings in lib\compiler\ast.py
Edward K Ream [EMAIL PROTECTED] added the comment: On Thu, Dec 4, 2008 at 12:33 PM, Brett Cannon [EMAIL PROTECTED] wrote: Brett Cannon [EMAIL PROTECTED] added the comment: Considering the entire compiler package is not in 3.0 it is not worth fixing this. Closing as wont fix. Thanks for this clarification. Edward Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4531 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
ANN: Leo 4.5.1 final released
Leo 4.5.1 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo 4.5.1 final fixes several important bugs in Leo 4.5 final: - Eliminated spurious error messages in the goto-global-line command. - @shadow files with unknown file extensions now work properly. - Improved Leo's installer. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.5: -- - Full support for @shadow files in Leo's core. - Major improvements to Leo's key binding code. - The beginning of usable vim-like bindings. - uA's may now be associated with vnodes in @thin and @shadow files. - Several major reorganizations of Leo's code: including sax-based parsing, support for the Graph world (unified nodes), and simplified drawing code. - Leo is now an installable package. - Prepared code to be ready for Python 3.0. - Many small improvements and bug fixes. Quote of the month: --- Squeak and Leo have been two of the most significant technologies to redefine my personal computer experience and the ideas behind computing. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
ANN: Leo 4.5 final released
Leo 4.5 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.5: -- - Full support for @shadow files in Leo's core. - Major improvements to Leo's key binding code. - The beginning of usable vim-like bindings. - uA's may now be associated with vnodes in @thin and @shadow files. - Several magor reorganizations of Leo's code: including sax-based parsing, support for the Graph world (unified nodes), and simplified drawing code. - Leo is now an installable package. - Prepared code to be ready for Python 3.0. - Many small improvements and bug fixes. Quote of the month: --- Squeak and Leo have been two of the most significant technologies to redefine my personal computer experience and the ideas behind computing. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
Leo 4.5 final released
Leo 4.5 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.5: -- - Full support for @shadow files in Leo's core. - Major improvements to Leo's key binding code. - The beginning of usable vim-like bindings. - uA's may now be associated with vnodes in @thin and @shadow files. - Several magor reorganizations of Leo's code: including sax-based parsing, support for the Graph world (unified nodes), and simplified drawing code. - Leo is now an installable package. - Prepared code to be ready for Python 3.0. - Many small improvements and bug fixes. Quote of the month: --- Squeak and Leo have been two of the most significant technologies to redefine my personal computer experience and the ideas behind computing. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.5 rc1 released
Leo 4.5 rc1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo 4.5 contains many important new features. See below for details. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.5: -- - Full support for @shadow files in Leo's core. - Major improvements to Leo's key binding code. - The beginning of usable vim-like bindings. - uA's may now be associated with vnodes in @thin and @shadow files. - Several magor reorganizations of Leo's code: including sax-based parsing, support for the Graph world (unified nodes), and simplified drawing code. - Leo is now an installable package. - Prepared code to be ready for Python 3.0. - Many small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
ANN: Leo 4.5 rc1 released
Leo 4.5 rc1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo 4.5 contains many important new features. See below for details. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.5: -- - Full support for @shadow files in Leo's core. - Major improvements to Leo's key binding code. - The beginning of usable vim-like bindings. - uA's may now be associated with vnodes in @thin and @shadow files. - Several magor reorganizations of Leo's code: including sax-based parsing, support for the Graph world (unified nodes), and simplified drawing code. - Leo is now an installable package. - Prepared code to be ready for Python 3.0. - Many small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-list
ANN: Leo 4.5 beta 4 released
Leo 4.5 beta 4 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 This beta 4 release will likely be the last release before Leo 4.5 final. Leo 4.5 contains many important new features. See below for details. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.5: -- - Full support for @shadow files in Leo's core. - Major improvements to Leo's key binding code. - The beginning of usable vim-like bindings. - uA's may now be associated with vnodes in @thin and @shadow files. - Several magor reorganizations of Leo's code: including sax-based parsing, support for the Graph world (unified nodes), simplified drawing code. - Leo is now an installable package. - Prepared code to be ready for Python 3.0. - Many small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
ANN: Leo 4.5 beta 4 released
Leo 4.5 beta 4 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 This beta 4 release will likely be the last release before Leo 4.5 final. Leo 4.5 contains many important new features. See below for details. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.html The highlights of Leo 4.5: -- - Full support for @shadow files in Leo's core. - Major improvements to Leo's key binding code. - The beginning of usable vim-like bindings. - uA's may now be associated with vnodes in @thin and @shadow files. - Several magor reorganizations of Leo's code: including sax-based parsing, support for the Graph world (unified nodes), simplified drawing code. - Leo is now an installable package. - Prepared code to be ready for Python 3.0. - Many small improvements and bug fixes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Forum:http://groups.google.com/group/leo-editor Download: http://sourceforge.net/project/showfiles.php?group_id=3458 Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-list
[issue3590] sax.parser hangs on byte streams
New submission from Edward K Ream [EMAIL PROTECTED]: While porting Leo to Python 3.0, I found that passing any byte stream to xml.sax.parser.parse will hang the parser. My quick fix was to change: while buffer != : to: while buffer != and buffer != b: at line 123 of xmlreader.py Here is the entire function: def parse(self, source): from . import saxutils source = saxutils.prepare_input_source(source) self.prepareParser(source) file = source.getByteStream() buffer = file.read(self._bufsize) ### while buffer != : while buffer != and buffer != b: ### EKR self.feed(buffer) buffer = file.read(self._bufsize) self.close() For reference, here is the code in Leo that was hanging:: parser = xml.sax.make_parser() parser.setFeature(xml.sax.handler.feature_external_ges,1) handler = saxContentHandler(c,inputFileName,silent,inClipboard) parser.setContentHandler(handler) parser.parse(theFile) Looking at the test_expat_file function in test_sax.py, it appears that the essential difference between the code that hangs and the successful unit test is that that Leo opens the file in 'rb' mode. (code not shown) It's doubtful that 'rb' mode is correct--from the unit test I deduce that the default 'r' mode would be better. Anyway, it would be nice if parser.parse didn't hang on dubious streams. HTH. Edward -- components: Library (Lib) messages: 71339 nosy: edreamleo severity: normal status: open title: sax.parser hangs on byte streams type: behavior versions: Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3590 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3590] sax.parser hangs on byte streams
Edward K Ream [EMAIL PROTECTED] added the comment: On Mon, Aug 18, 2008 at 10:09 AM, Benjamin Peterson [EMAIL PROTECTED]wrote: Benjamin Peterson [EMAIL PROTECTED] added the comment: It should probably be changed to just while buffer != b since it requests a byte stream. That was my guess as well. I added the extra test so as not to remove a test that might, under some circumstance be important. Just to be clear, I am at present totally confused about io streams :-) Especially as used by the sax parsers. In particular, opening a file in 'r' mode, that is, passing a *non*-byte stream to parser.parse, works, while opening a file in 'rb' mode, that is, passing a *byte* stream to parser.parse, hangs. Anyway, opening the file passed to parser.parse with 'r' mode looks like the (only) way to go when using Python 3.0. In Python 2.5, opening files passed to parser.parse in 'rb' mode works. I don't recall whether I had any reason for 'rb' mode: it may have been an historical accident, or just a lucky accident :-) Edward Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html Added file: http://bugs.python.org/file11145/unnamed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3590 ___div dir=ltrOn Mon, Aug 18, 2008 at 10:09 AM, Benjamin Peterson span dir=ltrlt;a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/agt;/span wrote:brdiv class=gmail_quoteblockquote class=gmail_quote style=border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex; br Benjamin Peterson lt;a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/agt; added the comment:br br It should probably be changed to just while buffer != bquot;quot; since itbr requests a byte stream./blockquotedivbrThat was my guess as well.nbsp; I added the extra test so as not to remove a test that might, under some circumstance be important.brbrJust to be clear, I am at present totally confused about io streams :-)nbsp; Especially as used by the sax parsers.nbsp; In particular, opening a file in #39;r#39; mode, that is, passing a *non*-byte stream to parser.parse, works, while opening a file in #39;rb#39; mode, that is, passing a *byte* stream to parser.parse, hangs.br brAnyway, opening the file passed to parser.parse with #39;r#39; mode looks like the (only) way to go when using Python 3.0.nbsp; In Python 2.5, opening files passed to parser.parse in #39;rb#39; mode works.nbsp; I don#39;t recall whether I had any reason for #39;rb#39; mode: it may have been an historical accident, or just a lucky accident :-)br brEdward/div/divbrEdward K. Ream email: a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/abrLeo: a href=http://webpages.charter.net/edreamleo/front.html;http://webpages.charter.net/edreamleo/front.html/abr brbr /div ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3590] sax.parser considers XML as text rather than bytes
Edward K Ream [EMAIL PROTECTED] added the comment: On Mon, Aug 18, 2008 at 1:51 PM, Antoine Pitrou [EMAIL PROTECTED]wrote: Antoine Pitrou [EMAIL PROTECTED] added the comment: From the discussion on the python-3000, it looks like it would be nice if sax.parser handled both bytes and unicode streams. Edward, does your simple fix make sax.parser work entirely well with byte streams? No. The sax.parser seems to have other problems. Here is what I *think* I know ;-) 1. A smallish .leo file (an xml file) containing a single non-ascii (utf-8) encoded character appears to have been read correctly with Python 3.0. 2. A larger .leo file fails as follows (it's possible that the duplicate error messages are a Leo problem): Traceback (most recent call last): Traceback (most recent call last): File C:\leo.repo\leo-30\leo\core\leoFileCommands.py, line 1283, in parse_leo_file parser.parse(theFile) # expat does not support parseString File C:\leo.repo\leo-30\leo\core\leoFileCommands.py, line 1283, in parse_leo_file parser.parse(theFile) # expat does not support parseString File c:\python30\lib\xml\sax\expatreader.py, line 107, in parse xmlreader.IncrementalParser.parse(self, source) File c:\python30\lib\xml\sax\expatreader.py, line 107, in parse xmlreader.IncrementalParser.parse(self, source) File c:\python30\lib\xml\sax\xmlreader.py, line 121, in parse buffer = file.read(self._bufsize) File c:\python30\lib\xml\sax\xmlreader.py, line 121, in parse buffer = file.read(self._bufsize) File C:\Python30\lib\io.py, line 1670, in read eof = not self._read_chunk() File C:\Python30\lib\io.py, line 1670, in read eof = not self._read_chunk() File C:\Python30\lib\io.py, line 1499, in _read_chunk self._set_decoded_chars(self._decoder.decode(input_chunk, eof)) File C:\Python30\lib\io.py, line 1499, in _read_chunk self._set_decoded_chars(self._decoder.decode(input_chunk, eof)) File C:\Python30\lib\io.py, line 1236, in decode output = self.decoder.decode(input, final=final) File C:\Python30\lib\io.py, line 1236, in decode output = self.decoder.decode(input, final=final) File C:\Python30\lib\encodings\cp1252.py, line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] File C:\Python30\lib\encodings\cp1252.py, line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 74: character maps to undefined UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 74: character maps to undefined The same calls to sax read the file correctly on Python 2.5. It would be nice to have a message pinpoint the line and character offset of the problem. My vote would be for the code to work on both kinds of input streams. This would save the users considerable confusion if sax does the (tricky) conversions automatically. Imo, now would be the most convenient time to attempt this--there is a certain freedom in having everything be partially broken :-) Edward Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html Added file: http://bugs.python.org/file11147/unnamed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3590 ___div dir=ltrbrbrdiv class=gmail_quoteOn Mon, Aug 18, 2008 at 1:51 PM, Antoine Pitrou span dir=ltrlt;a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/agt;/span wrote:brblockquote class=gmail_quote style=border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex; div class=Ih2E3dbr Antoine Pitrou lt;a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/agt; added the comment:br br /divFrom the discussion on the python-3000, it looks like it would be nicebr if sax.parser handled both bytes and unicode streams.br/blockquotedivnbsp;br/divblockquote class=gmail_quote style=border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex; Edward, does your simple fix make sax.parser work entirely well withbr byte streams?/blockquotedivbrNo. The sax.parser seems to have other problems.nbsp; Here is what I *think* I know ;-)brbr1. A smallish .leo file (an xml file) containing a single non-ascii (utf-8) encoded character appears to have been read correctly with Python 3.0.br br2. A larger .leo file fails as follows (it#39;s possible that the duplicate error messages are a Leo problem):brbrTraceback (most recent call last):brTraceback (most recent call last):brbrnbsp; File quot;C:\leo.repo\leo-30\leo\core\leoFileCommands.pyquot;, line 1283, in parse_leo_filebr nbsp;nbsp;nbsp; parser.parse(theFile) # expat does not support parseStringbrnbsp; File quot;C:\leo.repo\leo-30\leo\core