[issue38921] Max Recursion Depth Reached in Logging Library

2020-01-14 Thread Joy
Joy added the comment: This script should produce the following error: Traceback (most recent call last): File "logging_test_script.py", line 70, in testobj.main() File "logging_test_script.py", line 62, in main Logger.main_logger.info('Adding a li

[issue38921] Max Recursion Depth Reached in Logging Library

2019-12-11 Thread Joy
Joy added the comment: Yes, still working on a script for this bug. -- status: pending -> open ___ Python tracker <https://bugs.python.org/issue38921> ___ _

[issue38921] Max Recursion Depth Reached in Logging Library

2019-11-26 Thread Joy
New submission from Joy : Seeing an issue with the logger fmt not setting correctly in the Handler class. Our code calls format many times which works for a while and then we receive the following errors: [3206] 2019/11/26 12:42:31.011> [ERROR] File "/usr/lib/python3.7/logging/__i

[issue35158] Fix PEP 3115 to NOT imply that the class dictionary is used in the final created class

2018-11-03 Thread Joy Diamond
New submission from Joy Diamond : Fix the following in https://www.python.org/dev/peps/pep-3115/ REPLACE: """ def __new__(cls, name, bases, classdict): # Note that we replace the classdict with a regular # dict before passing it to the supercl

[issue35106] Add documentation for `type.__subclasses__` to docs.python.org

2018-10-29 Thread Joy Diamond
Joy Diamond added the comment: Documented here: https://docs.python.org/3/library/stdtypes.html#class.__subclasses__ (Though does not appear in google searches) -- stage: -> resolved status: open -> closed ___ Python tracker

[issue35106] Add documentation for `type.__subclasses__` to docs.python.org

2018-10-29 Thread Joy Diamond
New submission from Joy Diamond : Add documentation for `type.__subclasses__` to docs.python.org Python ideas discussion: https://mail.python.org/pipermail/python-ideas/2018-October/054361.html -- assignee: docs@python components: Documentation messages: 328848 nosy: docs@python

[issue35098] Deleting __new__ does not restore previous behavior

2018-10-28 Thread Joy Diamond
Joy Diamond added the comment: Its quite valid to assign to __new__ to replace the behavior of how an instance is created. (Obviously you would not really assign `0` to it; my example was just to show the `del Color.__new__` fails - so what was assigned was not relevant). Here is a more

[issue35098] Deleting __new__ does not restore previous behavior

2018-10-28 Thread Joy Diamond
New submission from Joy Diamond : Related: https://bugs.python.org/issue5322 Consider the following program: class Color(object): __slots__ = (('name',)) def __init__(self, name): self.name = name green = Color('green') # Works assert green.name == &#

[issue35083] Fix documentation for __instancecheck__

2018-10-27 Thread Joy Diamond
New submission from Joy Diamond : This is a request to fix the documentation for __instancecheck__. Please add the following: """ (Note that any object `x` is always considered to be an instance of `type(x)`, and this cannot be overridden.) """ Consider the fo

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2010-11-01 Thread David Joy
David Joy added the comment: Hi Marc, Well, I fried my original server install trying to trace this. My new fresh install can still reproduce the problem with mysql-python, but I can't recreate the issue with PyOpenSSL anymore. Grabbing packages at random from PyPi hasn't

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2010-10-29 Thread David Joy
David Joy added the comment: Hi All, I just built mysql-python against CPython2.7 MSVC2008 Express Edition and Server 2003 R2. All were freshly built on a clean Server 2003 install. This exact issue occurred building with pip 0.8.1 on top of distribute 0.6.14: C:\Program Files\Microsoft