Skip to content

issues Search Results · repo:brython-dev/brython language:Python

Filter by

2k results
 (67 ms)

2k results

inbrython-dev/brython (press backspace or delete to remove)

It is tested on Brython v3.11.3 and v3.13.2 Wrong behavior: example_list = [1, 2, 3, 4, 5, 6, 7, 8, 9] example_list[-16:] [3, 4, 5, 6, 7, 8, 9] The correct behavior should be: example_list ...
  • jacklinquan
  • Opened 
    3 days ago
  • #2592

Hello again Pierre :-), The following code has a syntax error incorrectly reported by Brython: f {3) With regular Python: File stdin , line 1 f {3) ^ SyntaxError: f-string: unmatched ...
  • epeios-q37
  • 1
  • Opened 
    14 days ago
  • #2591

Hello Pierre, Following code does not work properly with Brython: class Test: def __getattr__(self, methodName): print(f {methodName} called ! ) return lambda: True if Test(): print( ...
  • epeios-q37
  • 1
  • Opened 
    14 days ago
  • #2590

I see you have used the pure js to implement the whole python parser and interpreter, which is good. Which means it can even run at xp ie6 old browser. (Not like micropython binary, only support new browser) ...
  • yingshaoxo
  • 1
  • Opened 
    17 days ago
  • #2588

Hi, I was curious about how logging works in Brython and noticed it cannot be imported in the latest version. To reproduce, in the console on the Brython website: Brython 3.13.1 on Netscape 5.0 (X11; ...
  • tjnaughton
  • 1
  • Opened 
    26 days ago
  • #2586

Steps to reproduce: import datetime date_str = None try: parsed = datetime.datetime.strptime(date_str, %Y-%m-%d ) print(parsed) except TypeError: print( TypeError ) Expected: TypeError is printed ...
  • djoume
  • Opened 
    on Jun 20
  • #2585

A bit of background here. I am revisiting some old Brython code. I had written a utility library which did essentially the following: import browser browser.DOMNode.accessor = MyDescriptorClass() MyDescriptorClass ...
  • BrenBarn
  • 1
  • Opened 
    on Jun 17
  • #2584

There looks to be an unneeded console.log statement in the following function in py_string.js: var unicode_categories_contain_character = function (categories, cp) { for (var cat of categories) { ...
  • cwag-gh
  • 1
  • Opened 
    on May 27
  • #2583

Steps to reproduce: Run this code with brython ([link](https://brython.info/tests/editor.html?code=a%20%3D%20%7B key %3A%201%7D%0Atry%3A%0A%20%20print%28a%5B missing %5D%29%0Aexcept%20KeyError%20as%20e%3A%0A%20%20print%28e%29%0A%20%20assert%20str%28e%29%20%3D%3D%20%22 ...
  • djoume
  • 1
  • Opened 
    on May 24
  • #2582

Steps to reproduce: Run this with Brython (link): try: v = float( a1 ) print( value , v) except ValueError as e: print( Caught ValueError: , e) except TypeError as e: print( Caught TypeError: ...
  • djoume
  • Opened 
    on May 24
  • #2581
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub