-
Notifications
You must be signed in to change notification settings - Fork 535
Pull requests: brython-dev/brython
Author
Label
Projects
Milestones
Reviews
Assignee
Sort
Pull requests list
float formatting: precision 0 rounds half to even, Math.round rounded half up
#3011
opened Sep 23, 2026 by
fgallaire
Contributor
Loading…
list and tuple: slicing an instance of a subclass returns a plain list or tuple, not an instance of the subclass
#3010
opened Sep 23, 2026 by
fgallaire
Contributor
Loading…
sys.float_info: fields in the order of the C struct sequence, index 0 was dig instead of max
#3009
opened Sep 23, 2026 by
fgallaire
Contributor
Loading…
class body: an unbound name is searched in the class namespace first, so __module__, __qualname__ and __prepare__ entries are readable
#3007
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
property: instances of a subclass get a __dict__, as any object of a Python class
#3006
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
NotImplemented: using it in a boolean context raises TypeError
#3005
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
rich comparison: when both __eq__ return NotImplemented, fall back to identity instead of False
#3004
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
functions of Javascript modules: __qualname__ is the bare name, not module.name, which broke pickle's whichmodule
#3003
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
weakref.ref declares __slots__ so that WeakMethod, a subclass with __slots__, can be instantiated
#3002
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
float formatting: the precision 0 shortcut returned before the alternate form's decimal point and the % suffix
#3001
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
float formatting: keep the sign of -0.0, Javascript toFixed and toExponential drop it
#3000
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
float formatting: the E type is the e type uppercased, it was formatted as f
#2999
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
weakref: getweakrefs and getweakrefcount return the references to the object, they returned the object itself and 1
#2998
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
bytes and bytearray: strip, lstrip and rstrip accept no argument, None or a bytearray, and strip read an undefined variable
#2997
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
class subscript: the metaclass __getitem__ is tried before __class_getitem__, the order of PyObject_GetItem
#2996
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
str: strip, lstrip and rstrip raise TypeError on a non-str argument instead of a JavaScript error
#2995
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
contextvars: ContextVar is subscriptable, ContextVar[int] is a GenericAlias
#2994
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
GenericAlias: repr prefixes the origin and the arguments with their module, except builtins, like CPython ga_repr_item
#2993
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
method: __module__ and __doc__ come from the function, the method type's dict entries shadowed them
#2992
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
GenericAlias: __unpacked__ is False by default, the member was missing on list[int]
#2991
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
method-wrapper: __qualname__ is '<type>.<name>', the getset returned undefined
#2990
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
method-wrapper: implement equality and hash, both slots were empty functions returning undefined
#2989
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
object.__new__: an instance has no __dict__ only if every class in the MRO defines __slots__, a __slots__ = () leaf over a plain base keeps one
#2988
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
bytes.split on whitespace: honour maxsplit, and a wrong slice end dropped items after leading blanks
#2987
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
module.__setattr__: look up the dict only, a getattr ran the __get__ of subclass descriptors
#2986
opened Sep 21, 2026 by
fgallaire
Contributor
Loading…
Previous Next
ProTip!
Updated in the last three days: updated:>2026-09-20.