| 00:18:29 | | HP_Archivist (HP_Archivist) joins |
| 00:31:25 | | BlueMaxima joins |
| 00:31:37 | | driib0835369 (driib) joins |
| 00:33:47 | | jacobk quits [Ping timeout: 265 seconds] |
| 00:34:45 | | driib083536 quits [Ping timeout: 265 seconds] |
| 00:34:46 | | driib0835369 is now known as driib083536 |
| 00:41:40 | | AlsoHP_Archivist joins |
| 00:44:57 | | HP_Archivist quits [Ping timeout: 252 seconds] |
| 00:47:40 | <TheTechRobo> | Uh, what the fuck? `periscope` seems to be a built-in module. I cannot find a shred of documentation about this... |
| 00:47:58 | <TheTechRobo> | `periscope.__file__` returns None, and `inspect.getfile(periscope)` says it's a built-in module. |
| 00:48:04 | <TheTechRobo> | I can't find it in the Python repo. |
| 00:48:48 | <TheTechRobo> | >>> dir(periscope) |
| 00:48:48 | <TheTechRobo> | ['__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__'] |
| 00:49:19 | <TheTechRobo> | Oh wait, hang on. This might be a setup problem. |
| 00:49:52 | <TheTechRobo> | Aha! |
| 00:51:59 | <TheTechRobo> | In my home directory, there's a folder called `periscope`. In there are version.py, setup.py, and a folder named periscope (which is a package). |
| 00:52:11 | <TheTechRobo> | Despite this not having an __init__.py, Python seems to be treating this like a package. |
| 00:53:12 | <TheTechRobo> | I can reproduce in Python 3.6.15, but not Python 2. (Migrating an old project to Python 3) |
| 00:54:54 | <@JAA> | TheTechRobo: PEP 420 |
| 00:55:51 | <TheTechRobo> | Wow, not confusing at all that they still call it a "built-in" module. |
| 00:55:59 | <@JAA> | And yeah, __file__ is None, but __path__ isn't. |
| 00:56:10 | <TheTechRobo> | yeah, I saw __path__. That's how I figured this out. |
| 00:56:35 | <@JAA> | That sounds like a bug in inspect, to be honest. |
| 00:56:51 | <@JAA> | I.e. lack of or incomplete namespace package support there. |
| 00:57:25 | <@JAA> | Although at least on Python 3.9, `inspect.getfile(periscope)` at least indicates that it's a namespace package: TypeError: <module 'periscope' (namespace)> is a built-in module |
| 00:57:40 | <TheTechRobo> | Yeah, I saw the "namespace" part but didn't understand it. |
| 00:57:45 | <TheTechRobo> | I think that's just the repr, though. |
| 00:57:53 | <@JAA> | Yeah |
| 00:58:15 | <TheTechRobo> | Where do I report something like that or find if it's reported...? |
| 00:58:21 | <TheTechRobo> | The cpython GH repo? |
| 00:59:26 | <TheTechRobo> | I can't see an issue regarding it. |
| 00:59:40 | <@JAA> | Yeah, https://github.com/python/cpython |
| 01:00:28 | <@JAA> | I assume it treats everything with `__file__ = None` as built-in. |
| 01:00:35 | <TheTechRobo> | That's what I was thinking |
| 01:02:00 | <@JAA> | Yup, that's precisely what it does: https://github.com/python/cpython/blob/f298ba1f2712ad10530a30bb225548a6889820b5/Lib/inspect.py#L898-L901 |
| 01:02:56 | | dm4v_ joins |
| 01:03:24 | | dm4v quits [Ping timeout: 265 seconds] |
| 01:03:24 | | dm4v_ is now known as dm4v |
| 01:03:25 | | dm4v is now authenticated as dm4v |
| 01:03:25 | | dm4v quits [Changing host] |
| 01:03:25 | | dm4v (dm4v) joins |
| 01:03:47 | <TheTechRobo> | Filing the issue now. |
| 01:06:26 | <TheTechRobo> | https://github.com/python/cpython/issues/92525 |
| 01:07:39 | <@JAA> | :-) |
| 01:11:21 | <TheTechRobo> | Feels good to report a bug in a widely-used software :D |
| 01:15:36 | | jacobk joins |
| 01:32:50 | <TheTechRobo> | Anyone know how to migrate from BeautifulSoup 3.2.0 to bs4? |
| 01:33:16 | <TheTechRobo> | If only beautifulsoup3 supported python 3... |
| 01:34:24 | <TheTechRobo> | Oh here, it's on the docs. |
| 01:34:27 | <TheTechRobo> | https://www.crummy.com/software/BeautifulSoup/bs4/doc/#porting-code-to-bs4 |
| 01:35:15 | <@JAA> | lol, my condolences. |
| 01:42:50 | <pabs> | a plea for retrocomputing books: https://blog.steve.fi/a_plea_for_books___.html |
| 01:43:17 | <TheTechRobo> | JAA: Fortunately it says it's all backwards compatible. |
| 01:43:19 | <TheTechRobo> | And now... |
| 01:43:23 | <TheTechRobo> | It's no longer my problem. :-) |
| 01:59:01 | <@JAA> | DNS resolution failed: [Errno -4] Non-recoverable error |
| 01:59:04 | <@JAA> | RIP lol |
| 01:59:20 | <TheTechRobo> | JAA: ? |
| 01:59:31 | <TheTechRobo> | Oh, great, now I'm running into this. https://github.com/psf/requests/issues/4775 |
| 01:59:54 | <@JAA> | Just got that error with grab-site. Not a clue yet why. |
| 02:00:08 | <TheTechRobo> | JAA: Never seen that before. |
| 02:00:17 | <@JAA> | Yeah, me neither. |
| 02:30:41 | | TheTechRobo quits [Remote host closed the connection] |
| 02:31:04 | | TheTechRobo (TheTechRobo) joins |
| 02:32:56 | | TheTechRobo quits [Read error: Connection reset by peer] |
| 02:33:04 | <pabs> | automedia – a tool for managing bitrot and formats in media libraries https://github.com/mmastrac/automedia https://news.ycombinator.com/item?id=31303799 |
| 02:35:32 | | TheTechRobo (TheTechRobo) joins |
| 02:35:41 | | TheTechRobo quits [Remote host closed the connection] |
| 02:36:04 | | TheTechRobo (TheTechRobo) joins |
| 02:47:25 | | tbc1887 (tbc1887) joins |
| 02:49:41 | | TheTechRobo quits [Read error: Connection reset by peer] |
| 02:50:00 | | TheTechRobo (TheTechRobo) joins |
| 02:56:06 | | Arcorann quits [Ping timeout: 240 seconds] |
| 02:59:28 | | Arcorann (Arcorann) joins |
| 02:59:56 | | Arcorann quits [Remote host closed the connection] |
| 03:04:16 | | TheTechRobo quits [Remote host closed the connection] |
| 03:04:30 | | TheTechRobo (TheTechRobo) joins |
| 03:06:09 | | Arcorann (Arcorann) joins |
| 03:06:46 | | TheTechRobo quits [Read error: Connection reset by peer] |
| 03:07:04 | | TheTechRobo (TheTechRobo) joins |
| 03:11:46 | | TheTechRobo quits [Read error: Connection reset by peer] |
| 03:12:04 | | TheTechRobo (TheTechRobo) joins |
| 03:13:43 | | TheTechRobo quits [Remote host closed the connection] |
| 03:14:04 | | TheTechRobo (TheTechRobo) joins |
| 03:39:47 | | AlsoHP_Archivist quits [Read error: Connection reset by peer] |
| 04:09:07 | | tbc1887 quits [Read error: Connection reset by peer] |
| 04:53:57 | | Arcorann quits [Ping timeout: 265 seconds] |
| 05:21:59 | | dm4v quits [Ping timeout: 265 seconds] |
| 05:24:08 | | Discant joins |
| 06:00:59 | | G4te_Keep3r quits [Remote host closed the connection] |
| 06:12:46 | | thuban quits [Read error: Connection reset by peer] |
| 06:13:10 | | thuban joins |
| 06:19:58 | | dm4v joins |
| 06:20:00 | | dm4v is now authenticated as dm4v |
| 06:20:00 | | dm4v quits [Changing host] |
| 06:20:00 | | dm4v (dm4v) joins |
| 06:54:18 | | Discant quits [Ping timeout: 265 seconds] |
| 07:06:16 | | tbc1887 (tbc1887) joins |
| 08:07:29 | | tbc1887 quits [Read error: Connection reset by peer] |
| 08:07:49 | | Arcorann (Arcorann) joins |
| 10:04:08 | | BlueMaxima quits [Client Quit] |
| 11:50:17 | | DiscantX joins |
| 12:19:06 | | DiscantX quits [Ping timeout: 265 seconds] |
| 12:42:06 | | HP_Archivist (HP_Archivist) joins |
| 13:18:15 | | LeGoupil joins |
| 14:14:08 | | Arcorann quits [Ping timeout: 265 seconds] |
| 14:30:46 | | LeGoupil quits [Client Quit] |
| 14:47:00 | | themadpro (themadpro) joins |
| 16:05:14 | | Ruthalas7 (Ruthalas) joins |
| 16:06:45 | | Ruthalas quits [Ping timeout: 252 seconds] |
| 16:06:46 | | Ruthalas7 is now known as Ruthalas |
| 16:23:53 | | HP_Archivist quits [Client Quit] |
| 16:33:03 | | qwertyasdfuiopghjkl quits [Client Quit] |
| 16:59:18 | | Church quits [Ping timeout: 265 seconds] |
| 17:00:42 | | Church (Church) joins |
| 17:02:19 | | sec^nd quits [Remote host closed the connection] |
| 17:03:31 | | sec^nd (second) joins |
| 17:12:28 | | themadpro quits [Client Quit] |
| 17:56:13 | | qwertyasdfuiopghjkl joins |
| 18:06:47 | | driib0835366 (driib) joins |
| 18:10:29 | | driib083536 quits [Ping timeout: 265 seconds] |
| 18:10:29 | | driib0835366 is now known as driib083536 |
| 19:24:32 | | driib0835368 (driib) joins |
| 19:28:18 | | driib083536 quits [Ping timeout: 265 seconds] |
| 19:28:18 | | driib0835368 is now known as driib083536 |
| 19:30:49 | | pabs quits [Read error: Connection reset by peer] |
| 21:03:07 | | themadpro (themadpro) joins |
| 21:50:54 | | DiscantX joins |
| 22:07:01 | | shoghicp quits [Ping timeout: 252 seconds] |
| 22:12:18 | | benjins quits [Remote host closed the connection] |
| 22:12:18 | | onetruth quits [Remote host closed the connection] |
| 22:12:18 | | DiscantX quits [Remote host closed the connection] |
| 22:12:18 | | immibis quits [Remote host closed the connection] |
| 22:12:18 | | qwertyasdfuiopghjkl quits [Remote host closed the connection] |
| 22:12:24 | | DiscantX joins |
| 22:12:31 | | immibis (immibis) joins |
| 22:12:41 | | onetruth joins |
| 22:13:23 | | benjins joins |
| 22:43:34 | | BlueMaxima joins |
| 22:51:39 | | driib083536 quits [Ping timeout: 265 seconds] |
| 22:55:22 | | mrHedgehog0 leaves |
| 23:09:37 | | Arcorann (Arcorann) joins |
| 23:12:45 | | themadpro quits [Client Quit] |
| 23:37:34 | | pabs (pabs) joins |
| 23:42:51 | | benjins quits [Remote host closed the connection] |
| 23:43:59 | | Church quits [Ping timeout: 265 seconds] |
| 23:44:10 | | Jake quits [Quit: Leaving for a bit!] |
| 23:44:20 | | benjins joins |
| 23:44:22 | | Church (Church) joins |
| 23:44:22 | | Jake (Jake) joins |
| 23:53:26 | | nikow quits [Remote host closed the connection] |
| 23:53:35 | | nikow joins |