Changes in Brython version 2.1.2 ================================ New features ============ - improved interface with Javascript libraries - improve handling of methods such as __mul__, using __rmul__ of operand - DOM attribute "class" is accessed/set by name "class_name" - support of non-ASCII characters for variable names Bug fixes ========= - bug in generators - bug with "raise" - bug with int() or float() : int('hello') should raise an exception, not return NaN - bug with dir() without arguments - bug with exec() when brython() is called without arguments - bug in setattr() - fix is_package issue in stdlib import function - add __code__ attribute to classes and class methods - bug in markdown.py - issue #1: Only ascii characters are recognized - issue #217 : re.match returns incorrect result - issue #254 : precedence of multiplication and division - issue #255: formatting of floats - issue #257 : names are bound improperly inside functions - issue #258 : browser.timer FR docs are not properly translated - issue #259 : assignment to tuple fails in certain circumstances - issue #260 : error in collections module - issue #261 : relative imports doesn't work - issue #263 : remove "s" from "values" in "need more than 1 values to unpack" - issue #264 : itertools.permutations() does not work with only one parameter - issue #265 : empty string in string returns False Demos ===== - add barcode demo by Carl Smith - add SVG compass demo by Nicolas Pinault - add a section for demos using Javascript libraries - add demos with Rapahel (vectorial graphics) and Highcharts (interactive charts) Standard distribution ===================== Documentation ============= - add static version (doc/en/static_index.html) so that pages can be referenced by a URL : doc/en/static_index?page=focus_envents - add links to Kiko's wiki pages in the Brython site home page - translations into Spanish by Kiko Correoso - replace "doc" and "win" by "document" and "window" in the examples - add a recipe in the cookbook on SELECT elements and checkboxes - in UI demo, replace random by __random (faster Javascript version)