00:18:29HP_Archivist (HP_Archivist) joins
00:31:25BlueMaxima joins
00:31:37driib0835369 (driib) joins
00:33:47jacobk quits [Ping timeout: 265 seconds]
00:34:45driib083536 quits [Ping timeout: 265 seconds]
00:34:46driib0835369 is now known as driib083536
00:41:40AlsoHP_Archivist joins
00:44:57HP_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:56dm4v_ joins
01:03:24dm4v quits [Ping timeout: 265 seconds]
01:03:24dm4v_ is now known as dm4v
01:03:25dm4v quits [Changing host]
01:03:25dm4v (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:36jacobk 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:41TheTechRobo quits [Remote host closed the connection]
02:31:04TheTechRobo (TheTechRobo) joins
02:32:56TheTechRobo 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:32TheTechRobo (TheTechRobo) joins
02:35:41TheTechRobo quits [Remote host closed the connection]
02:36:04TheTechRobo (TheTechRobo) joins
02:47:25tbc1887 (tbc1887) joins
02:49:41TheTechRobo quits [Read error: Connection reset by peer]
02:50:00TheTechRobo (TheTechRobo) joins
02:56:06Arcorann quits [Ping timeout: 240 seconds]
02:59:28Arcorann (Arcorann) joins
02:59:56Arcorann quits [Remote host closed the connection]
03:04:16TheTechRobo quits [Remote host closed the connection]
03:04:30TheTechRobo (TheTechRobo) joins
03:06:09Arcorann (Arcorann) joins
03:06:46TheTechRobo quits [Read error: Connection reset by peer]
03:07:04TheTechRobo (TheTechRobo) joins
03:11:46TheTechRobo quits [Read error: Connection reset by peer]
03:12:04TheTechRobo (TheTechRobo) joins
03:13:43TheTechRobo quits [Remote host closed the connection]
03:14:04TheTechRobo (TheTechRobo) joins
03:39:47AlsoHP_Archivist quits [Read error: Connection reset by peer]
04:09:07tbc1887 quits [Read error: Connection reset by peer]
04:53:57Arcorann quits [Ping timeout: 265 seconds]
05:21:59dm4v quits [Ping timeout: 265 seconds]
05:24:08Discant joins
06:00:59G4te_Keep3r quits [Remote host closed the connection]
06:12:46thuban quits [Read error: Connection reset by peer]
06:13:10thuban joins
06:19:58dm4v joins
06:20:00dm4v quits [Changing host]
06:20:00dm4v (dm4v) joins
06:54:18Discant quits [Ping timeout: 265 seconds]
07:06:16tbc1887 (tbc1887) joins
08:07:29tbc1887 quits [Read error: Connection reset by peer]
08:07:49Arcorann (Arcorann) joins
10:04:08BlueMaxima quits [Client Quit]
11:50:17DiscantX joins
12:19:06DiscantX quits [Ping timeout: 265 seconds]
12:42:06HP_Archivist (HP_Archivist) joins
13:18:15LeGoupil joins
14:14:08Arcorann quits [Ping timeout: 265 seconds]
14:30:46LeGoupil quits [Client Quit]
14:47:00themadpro (themadpro) joins
16:05:14Ruthalas7 (Ruthalas) joins
16:06:45Ruthalas quits [Ping timeout: 252 seconds]
16:06:46Ruthalas7 is now known as Ruthalas
16:23:53HP_Archivist quits [Client Quit]
16:33:03qwertyasdfuiopghjkl quits [Client Quit]
16:59:18Church quits [Ping timeout: 265 seconds]
17:00:42Church (Church) joins
17:02:19sec^nd quits [Remote host closed the connection]
17:03:31sec^nd (second) joins
17:12:28themadpro quits [Client Quit]
17:56:13qwertyasdfuiopghjkl joins
18:06:47driib0835366 (driib) joins
18:10:29driib083536 quits [Ping timeout: 265 seconds]
18:10:29driib0835366 is now known as driib083536
19:24:32driib0835368 (driib) joins
19:28:18driib083536 quits [Ping timeout: 265 seconds]
19:28:18driib0835368 is now known as driib083536
19:30:49pabs quits [Read error: Connection reset by peer]
21:03:07themadpro (themadpro) joins
21:50:54DiscantX joins
22:07:01shoghicp quits [Ping timeout: 252 seconds]
22:12:18benjins quits [Remote host closed the connection]
22:12:18onetruth quits [Remote host closed the connection]
22:12:18DiscantX quits [Remote host closed the connection]
22:12:18immibis quits [Remote host closed the connection]
22:12:18qwertyasdfuiopghjkl quits [Remote host closed the connection]
22:12:24DiscantX joins
22:12:31immibis (immibis) joins
22:12:41onetruth joins
22:13:23benjins joins
22:43:34BlueMaxima joins
22:51:39driib083536 quits [Ping timeout: 265 seconds]
22:55:22mrHedgehog0 leaves
23:09:37Arcorann (Arcorann) joins
23:12:45themadpro quits [Client Quit]
23:37:34pabs (pabs) joins
23:42:51benjins quits [Remote host closed the connection]
23:43:59Church quits [Ping timeout: 265 seconds]
23:44:10Jake quits [Quit: Leaving for a bit!]
23:44:20benjins joins
23:44:22Church (Church) joins
23:44:22Jake (Jake) joins
23:53:26nikow quits [Remote host closed the connection]
23:53:35nikow joins