pfalcon / pycopy-lib

Standard library of the Pycopy project, minimalist and light-weight Python language implementation
https://github.com/pfalcon/pycopy
Other
246 stars 70 forks source link

logging error on lineno formater #83

Open alxkos opened 8 months ago

alxkos commented 8 months ago

Getting an error on trying to add format %(lineno)d parameter

code: logging.Formatter('%(lineno)d, %(name)s, %(message)s')

error: TypeError: can't convert NoneType to int

pmp-p commented 8 months ago

note sure about issue, but beware that line numbers may be an optionnal feature in some build.