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] sys.exc_info() function doesn't exist on ESP32 #88

Closed PolarGoose closed 2 months ago

PolarGoose commented 2 months ago

Micopython version: v1.23.0 Board: ESP32 / WROOM

The error message when using the logging library:

  File "/lib/logging/__init__.py", line 72, in exception
AttributeError: 'module' object has no attribute 'exc_info'
MicroPython v1.23.0 on 2024-06-02; Generic ESP32 module with ESP32
pfalcon commented 2 months ago

This project has nothing to do with MicroPython or ESP32.

PolarGoose commented 2 months ago

@pfalcon,

This project has nothing to do with MicroPython or ESP32.

Why is the logging implementation from this project packaged into micropython-logging?