[issue11854] __or__ et al instantiate subclass of set without calling __init__

2013-11-30 Thread Mark Dickinson
Mark Dickinson added the comment: Closing. This isn't likely to change in Python 2.7. -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11854

[issue11854] __or__ et al instantiate subclass of set without calling __init__

2013-11-21 Thread Mark Dickinson
Mark Dickinson added the comment: Can this issue be closed as 'wont fix'? -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11854 ___

[issue11854] __or__ et al instantiate subclass of set without calling __init__

2011-04-16 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11854 ___

[issue11854] __or__ et al instantiate subclass of set without calling __init__

2011-04-16 Thread Daniel Stutzbach
Changes by Daniel Stutzbach stutzb...@google.com: -- nosy: +stutzbach ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11854 ___ ___ Python-bugs-list

[issue11854] __or__ et al instantiate subclass of set without calling __init__

2011-04-16 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: Python 2.7.1 (r271:86832, Nov 27 2010, 17:19:03) [MSC v.1500 64 bit (AMD64)] on win32 Type help, copyright, credits or license for more information. class SetSub(set): ... def __init__(self, *args, **kwargs): ... print

[issue11854] __or__ et al instantiate subclass of set without calling __init__

2011-04-16 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- versions: -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11854 ___

[issue11854] __or__ et al instantiate subclass of set without calling __init__

2011-04-16 Thread Robert Burke
Robert Burke sharpobj...@gmail.com added the comment: I've only observed this in 2.6. Does 2.6 not belong in the bug's versions list if 2.7 is also affected? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11854

[issue11854] __or__ et al instantiate subclass of set without calling __init__

2011-04-16 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: 2.6 is closed for anything except security patches at this point. 2.7 is only open for flat-out bugs, not API changes. So, we might be able to add code that could call the __init__ method (if it exists) whenever a new set is

[issue11854] __or__ et al instantiate subclass of set without calling __init__

2011-04-16 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: If some code were added to call __init__ for the new instance of a set/frozenset subclass, it would have to make an assumption that the method's signature allowed it to be called without any arguments. --

[issue11854] __or__ et al instantiate subclass of set without calling __init__

2011-04-15 Thread Robert Burke
Changes by Robert Burke sharpobj...@gmail.com: -- title: __or__, __and__, __sub__, and __xor__ instantiate subclass of set without calling __init__ - __or__ et al instantiate subclass of set without calling __init__ ___ Python tracker