techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#python2

0 posts0 participants0 posts today
Oriol Piera<p>I still have to deal with <a href="https://mastodon.economiasocial.org/tags/Python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python2</span></a> every day.</p><p>Everyone else?</p><p><a href="https://mastodon.economiasocial.org/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://mastodon.economiasocial.org/tags/Python27" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python27</span></a> <a href="https://mastodon.economiasocial.org/tags/Python2718" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python2718</span></a></p>
⏚ ȺՀղöɾէհ 🍉 βօӀìçҽ ժմ βօղƓօûէ<p>Pff, les paquets qui ont encore besoin de python2…</p><p><a href="https://framapiaf.org/tags/Python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python2</span></a> <a href="https://framapiaf.org/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a></p>
Green Webpage<p>This guide walks you through installing Python 2, from compiling the source code to setting up pip.</p><p><a href="https://greenwebpage.com/community/how-to-install-python-2-on-ubuntu-24-04/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">greenwebpage.com/community/how</span><span class="invisible">-to-install-python-2-on-ubuntu-24-04/</span></a></p><p><a href="https://mastodon.social/tags/python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python2</span></a> <a href="https://mastodon.social/tags/webdevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdevelopment</span></a> <a href="https://mastodon.social/tags/scripting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>scripting</span></a> <a href="https://mastodon.social/tags/ubuntu" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ubuntu</span></a> <a href="https://mastodon.social/tags/linuxadministration" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linuxadministration</span></a> <a href="https://mastodon.social/tags/greenwebpage" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>greenwebpage</span></a></p>
R.L. Dane :Debian: :OpenBSD: 🍵 :MiraLovesYou:<p><span class="h-card"><a href="https://polymaths.social/@amin" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>amin</span></a></span></p><p>Eh...</p><p>It's a rolling release, so it's got that going for it, but a lot/most of their custom utilities (such as the package manager) is still on Python 2, which is... <em>not</em> good.</p><p><code>/usr/bin/python</code> is even a symlink to <code>python2</code> which is <strong>really</strong> not good.</p><p>Small team. Looks like the original dev, who started a new distro, is going to re-work a lot of those things, which will be the basis for Solus going forward, so there's a lot of hope for newer and better utilities.</p><p>To be clear, my only real complaint so far is the python2-ness of it.</p><p>Also, they don't have a <code>ksh</code> package (which some of my scripts require), but I managed to compile the standard ksh2020.</p><p>I don't know if I will stay. <a href="https://polymaths.social/tags/python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python2</span></a> is kind of a deal-breaker.</p><p>Still slowly replicating my <a href="https://polymaths.social/tags/kde" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>KDE</span></a> <a href="https://polymaths.social/tags/plasma" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Plasma</span></a> setup from my work <a href="https://polymaths.social/tags/debian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Debian</span></a> box. I have a lot of custom keybinds that make it a <em>little</em> more like i3/sway for me.</p><p>My other options are Debian testing, <a href="https://polymaths.social/tags/freebsd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FreeBSD</span></a> (probably will lose the ability to run KSP), or <a href="https://polymaths.social/tags/opensuse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSuSE</span></a> tumbleweed (if they can ever just enable polkit by default, already).</p>
postmodern<p>Spoke too soon about InfoSec projects still clinging to Python 2.7. Turns out my <a href="https://github.com/ronin-rb/ronin-payloads" rel="nofollow noopener" target="_blank">ronin-payloads</a> project, a Ruby project, requires the <code>python2</code> package in order to test it's Python Payload Encoders under Python versions 2 <em>and</em> 3.<br><a href="https://github.com/ronin-rb/ronin-payloads/blob/1ae19ec2c3ae0a244b02d4a8cfc7d638c2414743/spec/encoders/builtin/python/base64_encode_spec.rb#L25-L31" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/ronin-rb/ronin-payl</span><span class="invisible">oads/blob/1ae19ec2c3ae0a244b02d4a8cfc7d638c2414743/spec/encoders/builtin/python/base64_encode_spec.rb#L25-L31</span></a></p><p>Appears that GitHub has recently updated their GitHub Actions Ubuntu VM to 24.04.1, which no longer has a <code>python2</code> package :(<br><a href="https://github.com/ronin-rb/ronin-payloads/actions/runs/13234890368/job/36937936068" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/ronin-rb/ronin-payl</span><span class="invisible">oads/actions/runs/13234890368/job/36937936068</span></a></p><p>Also looks like the <a href="https://github.com/actions/setup-python" rel="nofollow noopener" target="_blank">setup-python</a> GitHub Action has also already removed python2.7.<br><a href="https://github.com/actions/setup-python/issues/672" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/actions/setup-pytho</span><span class="invisible">n/issues/672</span></a></p><p>This poses a bit of a problem for software which <em>needs</em> to test against other legacy software.</p><p><a href="https://infosec.exchange/tags/python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python2</span></a> <a href="https://infosec.exchange/tags/githubactions" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>githubactions</span></a></p>
⛰️ | 9Lukas5 🚂 🐧<p>Imagine:<br>- small custom tool in <a href="https://mastodontech.de/tags/Python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python2</span></a> / <a href="https://mastodontech.de/tags/Jython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jython</span></a>, bundled to an .exe<br>- Last time bundled was a few years back<br>- executable used on CI server</p><p>Then:<br>- suddenly all builds across the Server fail 😳<br>- The CI server and your own PC fail executing your small tool, saying "This application needs <a href="https://mastodontech.de/tags/Java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Java</span></a> 8" 🤔<br>- But your CI Server and own PC _have_ Java 8 installed 🤨<br>- The fellas around you have seemingly the same tools installed and can execute the tool 🧐</p><p><a href="https://mastodontech.de/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodontech.de/tags/magic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>magic</span></a> <a href="https://mastodontech.de/tags/CI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CI</span></a></p>
Horror Nerd Online<p>Python 2 | Full Monster Horror Movie | WATCH FOR FREE</p><p><a href="https://mastodon.social/tags/horror" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>horror</span></a> – <a href="https://mastodon.social/tags/Trailers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Trailers</span></a> – <a href="https://mastodon.social/tags/horrormovies" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>horrormovies</span></a> – <a href="https://mastodon.social/tags/Python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python2</span></a> – @GoldwynFilms – A man, his business partner, and his wife are enlisted to transport an unknown object from a Russian military base, only to discover that the object is a giant, genetically-altered python. …</p><p><a href="https://mastodon.social/tags/ad" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ad</span></a> <a href="https://mastodon.social/tags/horror" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>horror</span></a> <a href="https://mastodon.social/tags/Python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python2</span></a> <a href="https://mastodon.social/tags/Trailers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Trailers</span></a></p><p><a href="https://horrornerdonline.com/2024/10/python-2-full-monster-horror-movie-watch-for-free/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">horrornerdonline.com/2024/10/p</span><span class="invisible">ython-2-full-monster-horror-movie-watch-for-free/</span></a></p>
Ariel<p>&gt; Most “packaging problems” are actually bootstrapping problems. With imports and versioning sprinkled on top.</p><p>From a fun little article on the history of Python packaging. I quite enjoy Bite Code.</p><p><a href="https://open.substack.com/pub/bitecode/p/whats-the-deal-with-setuptools-setuppy" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">open.substack.com/pub/bitecode</span><span class="invisible">/p/whats-the-deal-with-setuptools-setuppy</span></a></p><p><a href="https://eigenmagic.net/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://eigenmagic.net/tags/Python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python2</span></a> <a href="https://eigenmagic.net/tags/Python3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python3</span></a> <a href="https://eigenmagic.net/tags/PythonPip" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PythonPip</span></a> <a href="https://eigenmagic.net/tags/Packaging" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Packaging</span></a></p>
postmodern<p>Added integration tests for <a href="https://github.com/ronin-rb/ronin-payloads/tree/0.3.0#readme" rel="nofollow noopener" target="_blank">ronin-payload</a>'s new payload encoders and discovered that Python2 does not support evaling a <code>print</code> statement. Python3 however added support for this.</p><pre><code>&gt;&gt;&gt; eval('print "test"')<br>Traceback (most recent call last):<br> File "&lt;stdin&gt;", line 1, in &lt;module&gt;<br> File "&lt;string&gt;", line 1<br> print "test"<br> ^<br>SyntaxError: invalid syntax<br></code></pre><p>Lol, wtf, how did people seriously tout Python2 over Python3. Even Ruby and JavaScript are more consistent.</p><p><a href="https://infosec.exchange/tags/python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python2</span></a> <a href="https://infosec.exchange/tags/payloads" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>payloads</span></a> <a href="https://infosec.exchange/tags/roninrb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>roninrb</span></a></p>
Hugo van Kemenade<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@mariatta" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mariatta</span></a></span> </p><p>Packages still depending on six (via "pipdeptree --reverse -p six"):</p><p>asttokens<br>bleach<br>fire<br>html5lib<br>ics<br>isodate<br>lplight<br>Mastodon.py<br>python-coveralls<br>python-dateutil</p><p><a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/six" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>six</span></a> <a href="https://mastodon.social/tags/python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python2</span></a> <a href="https://mastodon.social/tags/pipdeptree" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pipdeptree</span></a></p>
David Bremner<p>I have discovered a new way to procrastinate making a talk: convert a legacy <a href="https://mathstodon.xyz/tags/python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python2</span></a> codebase to <a href="https://mathstodon.xyz/tags/python3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python3</span></a>. Clearly this is better than just re-using figures I have lying around. <a href="https://mathstodon.xyz/tags/wcpgw" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wcpgw</span></a></p>
Michelle Waveform, PhD<p>It started with a nice lil summary of what the __pycache__ folder is… and was reminded that back in <a href="https://mastodon.social/tags/python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python2</span></a> you just had all of those cache files right in the same folder as your code. I’d kind of forgotten about those .pyc files hanging around everywhere! <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a></p>
Nerdeiro :debian: :steamdeck:<p>Python gurus, can I wrap a function in more than one decorator at the same time? On the same topic, can I wrap a decorator in another decorator ?</p><p>Asking for a friend...</p><p><a href="https://fosstodon.org/tags/programing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programing</span></a> <a href="https://fosstodon.org/tags/python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python2</span></a></p>
⛰️ | 9Lukas5 🚂 🐧<p>"Type annotations are unsupperted in Python 2"<br>😒😒</p><p>Will man Jython überhaupt noch verwenden? 🤐</p><p><a href="https://mastodontech.de/tags/Jython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jython</span></a> <a href="https://mastodontech.de/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://mastodontech.de/tags/Python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python2</span></a> <a href="https://mastodontech.de/tags/LegacyCode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LegacyCode</span></a></p>
QuirkyFilms<p><a href="https://c.im/tags/Python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python2</span></a> (2002) 🐍<br>A man, his business partner, and his wife are enlisted to transport an unknown object from a Russian military base, only to discover that the object is a giant, genetically-altered python.<br><a href="https://c.im/tags/CreatureFeature" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CreatureFeature</span></a> <a href="https://c.im/tags/FilmsWithBite" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FilmsWithBite</span></a> <br><a href="https://c.im/tags/FilmMastodon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FilmMastodon</span></a> 📽️ 🎬</p>
Joxean Koret (@matalaz)<p>Some questions regarding Ghidra:</p><p>* NetworkX libraries don't support Jython, right?<br>* Which Python 3.X bridge is the most used for Ghidra? Is it Ghidrathon? Or perhaps ghidra-bridge?<br>* Do you happen to know if there are differences big enough to worry about supporting Ghidrathon or Ghidra Bridge?</p><p><a href="https://mastodon.social/tags/Ghidra" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ghidra</span></a> <a href="https://mastodon.social/tags/NetworkX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NetworkX</span></a> <a href="https://mastodon.social/tags/Jython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jython</span></a> <a href="https://mastodon.social/tags/Ghidrathon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ghidrathon</span></a> <a href="https://mastodon.social/tags/GhidraBridge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GhidraBridge</span></a><br><a href="https://mastodon.social/tags/Python3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python3</span></a> <a href="https://mastodon.social/tags/Python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python2</span></a></p>
Felix Palmen 📯<p><span class="h-card" translate="no"><a href="https://troet.cafe/@CyDeFect" class="u-url mention">@<span>CyDeFect</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@FiLiS" class="u-url mention">@<span>FiLiS</span></a></span> all of these are missing too many details to tell anything about them. Except for <a href="https://techhub.social/tags/CIFS" class="mention hashtag" rel="tag">#<span>CIFS</span></a> (although you probably don&#39;t even want that but <a href="https://techhub.social/tags/SMB3" class="mention hashtag" rel="tag">#<span>SMB3</span></a> instead, <a href="https://techhub.social/tags/Linux" class="mention hashtag" rel="tag">#<span>Linux</span></a> just kept tthe &quot;CIFS&quot; name although supporting SMB3), all <a href="https://techhub.social/tags/FreeBSD" class="mention hashtag" rel="tag">#<span>FreeBSD</span></a> offers is indeed <a href="https://techhub.social/tags/SMB1" class="mention hashtag" rel="tag">#<span>SMB1</span></a>. Whether this is an issue or not depends on your scenario and environment. I just offer my shares via <a href="https://techhub.social/tags/NFS" class="mention hashtag" rel="tag">#<span>NFS</span></a> as well, problem solved for me.</p><p>BTW, <a href="https://techhub.social/tags/seamonkey" class="mention hashtag" rel="tag">#<span>seamonkey</span></a> was removed mainly because of a <a href="https://techhub.social/tags/python2" class="mention hashtag" rel="tag">#<span>python2</span></a> (EOL for a long time) build dependency. IIRC this is meanwhile solved, so the port *could* be readded, it&#39;s just someone would have to do it and maintain it. There&#39;s an inofficial port available, you&#39;ll find it on the forums.</p>
Simon Walters<p>I'm just starting converting an old <a href="https://fosstodon.org/tags/Python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python2</span></a> program to <a href="https://fosstodon.org/tags/Python3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python3</span></a> and I'm having errors when waiting for threads to stop using .join() - is this a known difference?</p>
GeekProjects News<p>PyOBD Gets Python3 Upgrades <a href="https://hackaday.com/2023/09/17/pyobd-gets-python3-upgrades/" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hackaday.com/2023/09/17/pyobd-</span><span class="invisible">gets-python3-upgrades/</span></a> <a href="https://geekprojects.com/tags/SoftwareHacks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SoftwareHacks</span></a> <a href="https://geekprojects.com/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a> <a href="https://geekprojects.com/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a>-obd <a href="https://geekprojects.com/tags/software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>software</span></a> <a href="https://geekprojects.com/tags/library" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>library</span></a> <a href="https://geekprojects.com/tags/python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python2</span></a> <a href="https://geekprojects.com/tags/python3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python3</span></a> <a href="https://geekprojects.com/tags/vehicle" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vehicle</span></a> <a href="https://geekprojects.com/tags/elm327" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>elm327</span></a> <a href="https://geekprojects.com/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://geekprojects.com/tags/pyobd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyobd</span></a> <a href="https://geekprojects.com/tags/OBD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OBD</span></a></p>
IT News<p>PyOBD Gets Python3 Upgrades - One of the best things about open source software is that, instead of being lost t... - <a href="https://hackaday.com/2023/09/17/pyobd-gets-python3-upgrades/" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hackaday.com/2023/09/17/pyobd-</span><span class="invisible">gets-python3-upgrades/</span></a> <a href="https://schleuss.online/tags/softwarehacks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>softwarehacks</span></a> <a href="https://schleuss.online/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a> <a href="https://schleuss.online/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a>-obd <a href="https://schleuss.online/tags/software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>software</span></a> <a href="https://schleuss.online/tags/library" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>library</span></a> <a href="https://schleuss.online/tags/python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python2</span></a> <a href="https://schleuss.online/tags/python3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python3</span></a> <a href="https://schleuss.online/tags/vehicle" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vehicle</span></a> <a href="https://schleuss.online/tags/elm327" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>elm327</span></a> <a href="https://schleuss.online/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://schleuss.online/tags/pyobd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyobd</span></a> <a href="https://schleuss.online/tags/obd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>obd</span></a></p>