Mathieu Moreau

Results 298 comments of Mathieu Moreau

I have the same issue in production env pyserial==3.5 Debian ``` ports=serial.tools.list_ports.comports() File "/usr/local/lib/python3.9/dist-packages/serial/tools/list_ports_linux.py", line 102, in comports for info in [SysFS(d) for d in devices] File "/usr/local/lib/python3.9/dist-packages/serial/tools/list_ports_linux.py", line 102,...

Many things can go wrong but the show must go on: ``` for self.usb_interface_path try: if self.usb_interface_path is not None: self.usb_device_path = os.path.dirname(self.usb_interface_path) extract.. except print('reason') # continue with next...

It's hard to recreate since after a new process it starts working again. My point is that we collect many things for one port, and if the OS decides not...

`The batch file cannot be found.` Can be misleading. could say no optional configuration was loaded.

If we know how to search for simple text then we only need to filter the results a bit more, exclude the ones where text can be extended with: [a-z]TEXT[a-z]...

So here you searched for "search" - previous char is unicode 2D '-' which is not part of [a-z0-9] => so it can be a whole word - next char...

I don't understand the reasoning, if the current search can find "word" (even though they are hidden internal characters/encoded differently) then all we need to do is to check one...

on my Firefox the end is clipped ![2024-08-14_210938_8M](https://github.com/user-attachments/assets/d1335b79-e087-48c3-a02e-789cda912f70)