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
Joy added the comment:
Yes, still working on a script for this bug.
--
status: pending -> open
___
Python tracker
<https://bugs.python.org/issue38921>
___
_
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
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
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
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
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
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 ==
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
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
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
11 matches
Mail list logo