[issue14965] super() and property inheritance behavior

2021-05-20 Thread Daniel Urban
Daniel Urban added the comment: @habnabit I believe I've already signed some contributor form some years ago. If there is a new one, I can sign that one too. -- ___ Python tracker <https://bugs.python.org/issue14

[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2013-09-29 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19072 ___ ___ Python-bugs

[issue19022] Improve handling of type.__abstractmethods__ descriptor

2013-09-22 Thread Daniel Urban
Daniel Urban added the comment: I like the 3rd alternative the most. It seems to me, that __abstractmethods__ is currently an undocumented implementation detail of ABCs. The 1st alternative would cause every type to have an empty __abstractmethods__ (which is technically correct, but probably

[issue17950] Dynamic classes contain non-breakable reference cycles

2013-05-13 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17950 ___ ___ Python-bugs

[issue16429] Emit SyntaxWarning for code that risks UnboundLocalError

2013-05-04 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16429 ___ ___ Python-bugs

[issue17853] class construction name resolution broken in functions

2013-04-27 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17853 ___ ___ Python-bugs

[issue17044] Implement PEP 422: Simple class initialisation hook

2013-04-14 Thread Daniel Urban
Daniel Urban added the comment: I've attached a new patch. With this patch, type.__prepare__ has an optional keyword-only argument 'namespace', and returns it if it's specified. Also, __init_class__ is passed an argument: a mapping proxy of the mapping originally returned by __prepare__

[issue17422] language reference should specify restrictions on class namespace

2013-03-14 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17422 ___ ___ Python-bugs

[issue17421] Drop restriction that meta.__prepare__() must return a dict (subclass)

2013-03-14 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17421 ___ ___ Python-bugs

[issue17044] Implement PEP 422: Simple class initialisation hook

2013-03-13 Thread Daniel Urban
Daniel Urban added the comment: I've looked into implementing the changes in the new version of the PEP. It seems, that currently type.__new__ copies the dict returned by __prepare__ (http://hg.python.org/cpython/file/55806d234653/Objects/typeobject.c#l2058). I think this means that some

[issue11480] Cannot copy a class with a metaclass other than type

2013-02-24 Thread Daniel Urban
Daniel Urban added the comment: I did, and I've been told that it has been added to the bug tracker: http://mail.python.org/pipermail/python-committers/2012-May/001987.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue17279] Document which named built-in classes can be subclassed

2013-02-22 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17279 ___ ___ Python-bugs

[issue17044] Implement PEP 422: Simple class initialisation hook

2013-02-17 Thread Daniel Urban
Daniel Urban added the comment: Thanks for the grammar correction, I've fixed it in the new patch. The new patch also adds object.__init_class__ (which is a no-op), to support cooperative multiple inheritance of __init_class__. (Adding type.__init_class__ was mentioned in the python-dev

[issue17044] Implement PEP 422: Simple class initialisation hook

2013-02-17 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: Removed file: http://bugs.python.org/file29097/pep422_4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17044

[issue17044] Implement PEP 422: Simple class initialisation hook

2013-02-17 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: Added file: http://bugs.python.org/file29098/pep422_4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17044

[issue17044] Implement PEP 422: Simple class initialisation hook

2013-02-17 Thread Daniel Urban
Daniel Urban added the comment: Yes, if we would add a regular (instance) method __init_class__ to type, it could (probably) work for regular (non-meta) classes, but not for metaclasses. If a metaclass Meta wouldn't define __init_class__ itself, calling Meta.__init_class__

[issue17044] Implement PEP 422: Simple class initialisation hook

2013-02-17 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: Added file: http://bugs.python.org/file29102/pep422.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17044

[issue17179] Incorrect use of type function in types.new_class

2013-02-14 Thread Daniel Urban
Daniel Urban added the comment: I don't think this is a bug: from datetime import datetime class tdatetime(datetime, foo='bar'): ... pass ... Traceback (most recent call last): File stdin, line 1, in module TypeError: type() takes 1 or 3 arguments -- nosy: +daniel.urban

[issue17044] Implement PEP 422: Simple class initialisation hook

2013-01-30 Thread Daniel Urban
Daniel Urban added the comment: I'm attaching a new patch with some documentation and one additional test. -- Added file: http://bugs.python.org/file28912/pep422_3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17044

[issue17044] Implement PEP 422: Simple class initialisation hook

2013-01-26 Thread Daniel Urban
New submission from Daniel Urban: The attached patch implements PEP 422 -- Simple class initialisation hook (__init_class__). It includes tests, but it doesn't include documentation yet. -- components: Interpreter Core, Library (Lib) files: pep422_1.patch keywords: needs review, patch

[issue17044] Implement PEP 422: Simple class initialisation hook

2013-01-26 Thread Daniel Urban
Daniel Urban added the comment: Thanks for the review Ezio! I've fixed the order of the arguments of assertEqual. Regarding your other comment: I agree that your code is shorter and clearer, but it doesn't do exactly the same thing. cls.__init_class__ can be None, and in that case, we should

[issue16894] Function attribute access doesn't invoke methods in dict subclasses

2013-01-10 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16894 ___ ___ Python-bugs

[issue16839] segmentation fault when unicode(classic_class_instance)

2013-01-02 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16839 ___ ___ Python-bugs

[issue16832] Expose cache validity checking support in ABCMeta

2013-01-01 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16832 ___ ___ Python-bugs

[issue16607] Bad examples in documentation

2012-12-13 Thread Daniel Urban
Daniel Urban added the comment: As John Hampton have explained it, the documentation is actually correct. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16607

[issue12915] Add inspect.locate and inspect.resolve

2012-12-10 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- stage: test needed - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12915

[issue11159] Sax parser crashes if given unicode file name

2012-12-08 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11159 ___ ___ Python-bugs

[issue16619] LOAD_GLOBAL used to load `None` under certain circumstances

2012-12-06 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16619 ___ ___ Python-bugs

[issue12457] type() returns incorrect type for nested classes

2012-12-04 Thread Daniel Urban
Daniel Urban added the comment: I don't know what is the protocol for duplicates when the superseder is still open. If they should be closed, then I think yes, this should be closed. -- ___ Python tracker rep...@bugs.python.org http

[issue16602] weakref can return an object with 0 refcount

2012-12-04 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16602 ___ ___ Python-bugs

[issue16607] Bad examples in documentation

2012-12-04 Thread Daniel Urban
Daniel Urban added the comment: Could you please point to a specific example which is incorrect? Thank you. -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16607

[issue16607] Bad examples in documentation

2012-12-04 Thread Daniel Urban
Daniel Urban added the comment: Both work fine. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16607 ___ ___ Python-bugs-list mailing list

[issue16612] Integrate Argument Clinic specialized preprocessor into CPython trunk

2012-12-04 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16612 ___ ___ Python-bugs

[issue16599] unittest: Access test result from tearDown

2012-12-03 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- stage: - needs patch type: - enhancement versions: +Python 3.4 -Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16599

[issue16584] unhandled IOError filecmp.cmpfiles() if file not readable

2012-12-01 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- stage: - patch review type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16584

[issue16572] Bad multi-inheritance support in some libs like threading or multiprocessing

2012-11-29 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16572 ___ ___ Python-bugs

[issue12370] Use of super overwrites use of __class__ in class namespace

2012-11-28 Thread Daniel Urban
Daniel Urban added the comment: Thanks for the review! Nick, the example with Outer, InnerParent and InnerChild still works (the evaluation happens before we enter the new scope). Of course you're all right about __args__ and __kw__. I'll try to find a way to hide them. -- stage

[issue16554] The description of the argument of MAKE_FUNCTION and MAKE_CLOSURE is incorrect

2012-11-28 Thread Daniel Urban
Daniel Urban added the comment: Sorry, I won't have time for that in the following weeks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16554

[issue12370] Use of super overwrites use of __class__ in class namespace

2012-11-26 Thread Daniel Urban
Daniel Urban added the comment: I tried to implement Nick's idea with the separate scope for __class__. It seems to work, I'm attaching a patch. The patch basically causes the following class statement: class C(A, B, metaclass=meta): def f(self): return __class__ To be compiled

[issue16554] The description of the argument of MAKE_FUNCTION and MAKE_CLOSURE is incorrect

2012-11-25 Thread Daniel Urban
New submission from Daniel Urban: The description of the argument of the MAKE_FUNCTION and MAKE_CLOSURE opcodes in the documentation of the dis module is incorrect. Patch attached. -- assignee: docs@python components: Documentation files: make_function_closure.patch keywords: needs

[issue16546] ast.YieldFrom needlessly has its expr value as optional

2012-11-24 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16546 ___ ___ Python-bugs

[issue16545] ast.FunctionDef sets a bad value for kw_defaults when keyword-only arguments present

2012-11-24 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16545 ___ ___ Python-bugs

[issue16545] ast.FunctionDef sets a bad value for kw_defaults when keyword-only arguments present

2012-11-24 Thread Daniel Urban
Daniel Urban added the comment: If I understand correctly, the invariant is that len(kw_defaults) == len(kwonlyargs). I think the reason is that the following is valid syntax (an argument without a default after one with a default): def f(*, a=0, b): pass ... And None is used

[issue12457] type() returns incorrect type for nested classes

2012-11-24 Thread Daniel Urban
Daniel Urban added the comment: Also, it seems, that pickling inner classes will by supported by pickle protocol version 4 (see PEP 3154). There is already an issue for the implementation: issue15642. -- versions: +Python 3.4 -Python 2.7, Python 3.2

[issue12457] type() returns incorrect type for nested classes

2012-11-24 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- resolution: - duplicate superseder: - Integrate pickle protocol version 4 GSoC work by Stefan Mihaila ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12457

[issue16538] The docs doesn't describe MAKE_CLOSURE correctly

2012-11-23 Thread Daniel Urban
New submission from Daniel Urban: The documentation of the dis module describes the MAKE_CLOSURE opcode incorrectly. The description of MAKE_FUNCTION was updated in 242d3f8e8c50 (issue14349) to include the qualified name, but MAKE_CLOSURE wan't. A patch is attched. -- assignee: docs

[issue13266] Add inspect.unwrap(f) to easily unravel __wrapped__ chains

2012-11-22 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13266

[issue16522] Add 'FAIL_FAST' flag to doctest

2012-11-21 Thread Daniel Urban
Daniel Urban added the comment: I've added some tests and documentation. English is not my first language, so the docs almost certainly need some correction. -- nosy: +daniel.urban Added file: http://bugs.python.org/file28066/doctest_fail_fast_2.patch

[issue16522] Add 'FAIL_FAST' flag to doctest

2012-11-21 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: Removed file: http://bugs.python.org/file28066/doctest_fail_fast_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16522

[issue16522] Add 'FAIL_FAST' flag to doctest

2012-11-21 Thread Daniel Urban
Daniel Urban added the comment: I'm sorry, I forgot the versionadded directive. The fixed patch is attached. -- Added file: http://bugs.python.org/file28067/doctest_fail_fast_3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue14631] Instance methods and WeakRefs don't mix.

2012-11-11 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14631 ___ ___ Python-bugs

[issue13266] Add inspect.unwrap(f) to easily unravel __wrapped__ chains

2012-11-04 Thread Daniel Urban
Daniel Urban added the comment: I've attached a patch addressing the comments on Rietveld. I've added another modification: inspect.signature uses inspect.unwrap. (It already tried to unwrap the function, but it wasn't protected from infinite recursion. I don't know if this worth fixing

[issue15397] Unbinding of methods

2012-07-19 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15397 ___ ___ Python-bugs

[issue15243] Misleading documentation for __prepare__

2012-07-05 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: __prepare__ is not implicitly a staticmethod, and it is called exactly as documented (also in types.prepare_class). There is no implicit first argument because the method is called on the (meta)class object

[issue15243] Misleading documentation for __prepare__

2012-07-05 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: Actually the docs contained a similar sentence (If the metaclass has a :meth:`__prepare__` attribute (usually implemented as a class or static method), ...), but it was removed in befd56673c80 when Nick rewrote this section

[issue15245] ast.literal_eval fails on some literals

2012-07-04 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: eval(repr(float('nan'))) doesn't work either, so I'm not sure ast.literal_eval should. The same with float('inf'). -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http

[issue15243] Misleading documentation for __prepare__

2012-07-03 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15243 ___ ___ Python-bugs

[issue14965] super() and property inheritance behavior

2012-06-04 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: I'm attaching a patch implementing super.__setattr__ (and __delattr__). The implementation in the patch only works, if super can find a data descriptor in the MRO, otherwise it throws an AttributeError. As it can be seen in the tests

[issue14965] super() and property inheritance behavior

2012-06-04 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- components: +Extension Modules -Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14965

[issue11480] Cannot copy a class with a metaclass other than type

2012-06-03 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: I've updated the patch to the current version. I've also checked, that the tests still pass. -- nosy: +ncoghlan Added file: http://bugs.python.org/file25806/copy_metaclass_2.patch ___ Python

[issue14857] Direct access to lexically scoped __class__ is broken in 3.3

2012-05-20 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14857 ___ ___ Python-bugs-list

[issue12370] Use of super overwrites use of __class__ in class namespace

2012-05-20 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12370 ___ ___ Python-bugs-list

[issue14588] PEP 3115 compliant dynamic class creation

2012-05-12 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: Here is my first attempt at creating a pure Python version of the operator.build_class function (in my previous patch) as types.new_class. The three added functions (two private and one public) correspond to the following functions in my

[issue13266] Add inspect.unwrap(f) to easily unravel __wrapped__ chains

2012-04-25 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: I've attached a patch implementing inspect.unwrap (+ some tests). -- keywords: +patch Added file: http://bugs.python.org/file25368/inspect_unwrap.patch ___ Python tracker rep...@bugs.python.org

[issue14588] PEP 3115 compliant dynamic class creation

2012-04-20 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: I've attached the third patch with the eval_body - exec_body change; explicitly passing the default (None) now also allowed. I also fixed a refleak (I think). -- Added file: http://bugs.python.org/file25292/operator_build_class_3

[issue14588] PEP 3115 compliant dynamic class creation

2012-04-19 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: Fair enough. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14588 ___ ___ Python-bugs

[issue14588] PEP 3115 compliant dynamic class creation

2012-04-18 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: I've attached a patch with more tests. I simply copied and modified the tests about metaclass calculation and __prepare__ in test_descr.py, to create the tested classes with operator.build_class (and not the class statement). Although

[issue14588] PEP 3115 compliant dynamic class creation

2012-04-15 Thread Daniel Urban
New submission from Daniel Urban urban.dani...@gmail.com: As Nick Coghlan proposed [1, 2], there should be a way to dynamically create classes, which handles metaclasses correctly (see also issue1294232). Here is my first attempt at creating an operator.build_class method. It only includes

[issue14051] Cannot set attributes on staticmethod

2012-02-18 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14051 ___ ___ Python-bugs-list

[issue13264] Monkeypatching using metaclass

2011-11-12 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: It seems to me this is not a bug. +1 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13264

[issue13266] Add inspect.unwrap(f) to easily unravel __wrapped__ chains

2011-10-26 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13266 ___ ___ Python-bugs-list

[issue13264] Monkeypatching using metaclass

2011-10-25 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13264 ___ ___ Python-bugs-list

[issue13264] Monkeypatching using metaclass

2011-10-25 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: class Meta(ABCMeta): def __instancecheck__(cls, instance): # monkeypatching class method cls.__subclasscheck__ = super(Meta, cls).__subclasscheck__ This line is approximately the same as: cls.__dict__

[issue13062] Introspection generator and function closure state

2011-09-30 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13062 ___ ___ Python-bugs-list

[issue12915] Add inspect.locate and inspect.resolve

2011-09-09 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12915 ___ ___ Python-bugs-list

[issue12857] Expose called function on frame object

2011-08-30 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12857 ___ ___ Python-bugs-list

[issue12850] [PATCH] stm.atomic

2011-08-30 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12850 ___ ___ Python-bugs-list

[issue12772] fractional day attribute in datetime class

2011-08-18 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban versions: +Python 3.3 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12772

[issue12775] immense performance problems related to the garbage collector

2011-08-18 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12775 ___ ___ Python-bugs-list

[issue12735] request full Unicode collation support in std python library

2011-08-12 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12735 ___ ___ Python-bugs-list

[issue12732] Can't portably use Unicode in Python identifiers

2011-08-12 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12732 ___ ___ Python-bugs-list

[issue12691] tokenize.untokenize is broken

2011-08-05 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12691 ___ ___ Python-bugs-list

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-05 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12675 ___ ___ Python-bugs-list

[issue12657] Cannot override JSON encoding of basic type subclasses

2011-07-30 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12657 ___ ___ Python-bugs-list

[issue12647] Add __bool__ to None

2011-07-28 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12647 ___ ___ Python-bugs-list

[issue12617] Mutable Sequence Type can work not only with iterable in slice[i:j] = t

2011-07-23 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12617 ___ ___ Python-bugs-list

[issue12608] crash in PyAST_Compile when running Python code

2011-07-22 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12608 ___ ___ Python-bugs-list

[issue12599] Use 'is not None' where appropriate in importlib

2011-07-22 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12599 ___ ___ Python-bugs-list

[issue12575] add a AST validator

2011-07-17 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12575 ___ ___ Python-bugs-list

[issue12559] gzip.open() needs an optional encoding argument

2011-07-15 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: If we go this way, the errors and newline argument should be added as well. Yeah, I thought about that. I can make a new patch, that implement this, if needed. Though it seems there is a real problem, the one that Amaury Forgeot d'Arc

[issue12559] gzip.open() needs an optional encoding argument

2011-07-14 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: Here is a patch. If the code changes are acceptable I can also make a documentation patch. (I'm surprised to see 3.2 in Versions. I thought 3.2 only gets bugfixes...) -- keywords: +patch nosy: +durban Added file: http

[issue8639] Allow callable objects in inspect.getargspec

2011-07-09 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8639 ___ ___ Python-bugs-list

[issue12459] time.sleep(-1.0) behaviour

2011-07-01 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12459 ___ ___ Python-bugs-list

[issue12457] type() returns incorrect type for nested classes

2011-07-01 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12457 ___ ___ Python-bugs-list

[issue12374] Execution model should explain compile vs definition vs execution time

2011-06-24 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12374 ___ ___ Python-bugs-list

[issue11610] Improved support for abstract base classes with descriptors

2011-06-20 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: I've posted some comments on Rietveld. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11610

[issue11610] Improved support for abstract base classes with descriptors

2011-06-11 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: It doesn't work with staticmethod: import abc class C(metaclass=abc.ABCMeta): ... @staticmethod ... @abc.abstractmethod ... def foo(x): ... raise NotImplementedError() ... class D(C): ... @staticmethod

[issue12128] Allow `abc.abstractproperty` to be overridden by a data attribute

2011-05-20 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12128 ___ ___ Python-bugs-list

[issue10271] warnings.showwarning should allow any callable object

2011-05-18 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10271 ___ ___ Python-bugs-list

[issue1748064] inspect.getargspec fails on built-in or slot wrapper methods

2011-05-16 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1748064 ___ ___ Python-bugs-list

  1   2   3   >