unpythonic icon indicating copy to clipboard operation
unpythonic copied to clipboard

Supercharge your Python with parts of Lisp and Haskell.

Results 26 unpythonic issues
Sort by recently updated
recently updated
newest added

As of v0.15.0, there is a toy implementation of multi-shot generators (i.e. *re-resumable* generators) buried within the automated tests, see [unpythonic.syntax.tests.test_conts_gen](https://github.com/Technologicat/unpythonic/blob/master/unpythonic/syntax/tests/test_conts_gen.py). Playing around with the idea, multi-shot generators seem a...

enhancement
documentation

As of 0.15.1, the contents of the `with test` block are implicitly lifted into a function. This in itself is fine; it is documented behavior, and arguably the simplest way...

enhancement

Currently, if you assign to a local variable in a continuation, this always creates a new name local to the continuation. If the parent function whose continuation it is has...

documentation

**Long-term support roadmap** (updated 06 November 2025) [Status of Python versions](https://devguide.python.org/versions/#versions) ~[Python support schedule](https://stackoverflow.com/questions/40655195/is-there-official-guide-for-python-3-x-release-lifecycle) ([in chart format](https://python-release-cycle.glitch.me/); [original source](https://devguide.python.org/#status-of-python-branches)).~ Assuming that `unpythonic` stays in active development, **`unpythonic` will try to...

enhancement

[Python 3.8 added](https://docs.python.org/3/whatsnew/3.8.html#ast) the `end_lineno` and `end_col_offset` fields to AST nodes that have `lineno` and `col_offset`. Specs in the [official documentation](https://docs.python.org/3/library/ast.html#ast.AST.end_lineno). We should probably worry about these anywhere we handle...

enhancement

Now that Python 3.8 has added the walrus operator `:=`, it would make more sense to override that (instead of left-shift `

enhancement

We already have `raisef` and `tryf`, functional loops, the `do[]` macro to write imperative code in an expression position... the last missing major piece of the puzzle is to support...

enhancement

See [Peter Seibel: Practical Common Lisp, Chapter 20](http://www.gigamonkeys.com/book/the-special-operators.html) for an explanation. Rough draft of how we could pythonify this. User interface: ```python from unpythonic.syntax import macros, with_tags, tag, go @with_tags...

enhancement
discussion

Over time, the feature set of `unpythonic` has become larger than can be briefly explained in a simple README. The documentation needs rethinking. **EDIT**: As of v0.15.0, some of this...

enhancement
help wanted
good first issue
documentation

As of this writing, `unpythonic` has been around for approximately three years, and has in effect adhered to the minor/major version bumping conventions of [semantic versioning](https://semver.org/) for two years of...

bug
enhancement