Brython 3.3.2 released

53 views
Skip to first unread message

Pierre Quentel

unread,
May 17, 2017, 11:20:41 AM5/17/17
to brython
By Brython standards, it's been a very long time since the last version - more than 3 months !

Version 3.3.2 is mostly a bug fix release. It also adds a demo page in the project home page.

The complete changelog is below.

Thanks to all contributors !
Pierre

Implementation
==============
- improve speed of instance creation and of method calls
- fix --modules option of brython.py (by Carlos González)
- reduce memory leaks on Firefox
- limit console trace on debug mode > 1
- import TimSort implementation from npm timsort package & modify list sorting
  (by Jonathan Verner)
- create subdirectory "npm" to generate npm packages
- change licence in package.json (BSD-3-Clause)
- update profile to work with the new framestack management (by Jonathan
  Verner)
- update server.py to handle browser cache (anticipation of Python 3.7)

Bug fixes
=========
- bug with DOM NodeList instances
- bug with JS functions or DOM node methods arguments : must be converted
  from Python to JS or DOM objects.
- fix the comparing function to return proper values (by Jonathan Verner)

Issues
- #501 : `yield from` behaves differently from Python's
- #562 : importing asyncio fails
- #563 : booleans don't work as zero and one: False + True should be 1
- #564 : wrong result type for operation mixing floats and ints
- #566 : bug in Ajax demo
- #567 : math.fsum return wrong precision
- #575 : function evaluated multiple times in chained expressions
- #576 : monkey patching fails with instantiated method
- #578 : `raise` should check that argument is instance of a class derived
         from `BaseException` and raise `TypeError` otherwise
- #579 : "viewBox" keyword argument to html.SVG() appears casefolded in the
         DOM
- #581 : pickle.dumps returns a str object instead of bytes
- #582 : RuntimeError when parsing multiline block (with backslash) lambda
- #584 : from __future__ import non_existing_feature should fail with a
         SyntaxError
- #587 : print_exc and format_exc differs
- #588 : non-debug mode missed error on bad function arguments

Brython site
============
- add demo.html to Brython site
- improve header menu (highlight currently selected item)

Demos
=====
- improve spreadsheet demo

Standard distribution
=====================
- improved version of markdown.py and highlight.py
- in locale.py, remove block "try:import _locale"
- reduce module os to what is relevant in a browser context

frederic kavita

unread,
May 19, 2017, 3:14:15 PM5/19/17
to brython
FÉLICITATION
Merci pour tes efforts
Reply all
Reply to author
Forward
0 new messages