-
CPython 3.9.1:
```
Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from ma…
-
The code below results in a Too much recursion error on Brython, but works fine in CPython Python 3:
```
def fib_gen():
yield from [0, 1]
a = fib_gen()
next(a)
for x, y in zip(…
-
In the brython.info console, the line
```python3
''.x = 0
```
fails silently. In CPython, that line raises
```
AttributeError: 'str' object has no attribute 'x'
```
getattr on strings …
-
It would be nice to compile `Python` code with `Brython` statically as `TypeScript` did
By doing so it expand `Brython` also to `Node.js` and `Deno` run-times as platform for writing application in…
-
It appears that zip() doesn't implement the full iterator interface-
```
english = ["one", "two", "three"]
español = ["uno", "dos", "tres"]
zip_iter = zip(english, español)
eng, esp = next(zip…
-
Hello again
This tiny example used to work in the editor on the website:
```python
from browser import document
import browser.html as html
d = html.DIV("Hello world", style={"background-color"…
-
The following code produces a NameError on Brython, but works fine in Python 3.
```
def add_seen_k(k, f=lambda x: 0):
def inner(z):
print(k)
return k
return inner
a …
-
ArcPy is a Python module for interacting with ArcGIS tools. The module was developed by Esri, the company that makes ArcGIS. can you please let me know if it is possible to import the module into scr…
-
Hello,
there is no way in Brython (beside using javascript) to convert a callback method based to an async one. In asyncio we have `Future` for that, `Deferred` with Twisted and `Promise` in javasc…
-
I'm currently still new to Brython and learning different concepts. This `--add_package` command line option ~does not seem to be mentioned anywhere in the [official documentation](https://brython.inf…