Re: [RELEASE] Python 3.12.3 and 3.13.0a6 released

2024-04-10 Thread Abdur-Rahmaan Janhangeer via Python-list
I have to comment on this one: "Docstrings now have their leading
indentation stripped"

Incredibly useful!

Kind Regards,

Abdur-Rahmaan Janhangeer
about  | blog

github 
Mauritius


On Tue, Apr 9, 2024 at 11:18 PM Thomas Wouters via Python-list <
python-list@python.org> wrote:

> *It’s time to eclipse the Python 3.11.9 release with two releases*, one of
> which is the *very last alpha release of Python 3.13*:
> <
> https://discuss.python.org/t/python-3-12-3-and-3-13-0a6-released/50601#python-3123-1
> >Python
> 3.12.3
>
> 300+ of the finest commits went into this latest maintenance release of the
> latest Python version, the most stablest, securest, bugfreeest we could
> make it.
> https://www.python.org/downloads/release/python-3123/
> <
> https://discuss.python.org/t/python-3-12-3-and-3-13-0a6-released/50601#python-3130a6-2
> >Python
> 3.13.0a6
>
> What’s that? The last alpha release? Just one more month until feature
> freeze! Get your features done, get your bugs fixed, let’s get 3.13.0 ready
> for people to actually use! Until then, let’s test with alpha 6. The
> highlights of 3.13 you ask? Well:
>
>- In the interactive interpreter, exception tracebacks are now colorized
>by default
> >.
>- A preliminary, *experimental* JIT was added
><
> https://docs.python.org/dev/whatsnew/3.13.html#experimental-jit-compiler>,
>providing the ground work for significant performance improvements.
>- The (cyclic) garbage collector is now incremental
><
> https://docs.python.org/dev/whatsnew/3.13.html#incremental-garbage-collection
> >,
>which should mean shorter pauses for collection in programs with a lot
> of
>objects.
>- Docstrings now have their leading indentation stripped
> >,
>reducing memory use and the size of .pyc files. (Most tools handling
>docstrings already strip leading indentation.)
>- The dbm module  has a
>new dbm.sqlite3 backend
> that is used by
>default when creating new files.
>- PEP 594 (Removing dead batteries from the standard library)
> scheduled removals of many
>deprecated modules: aifc, audioop, chunk, cgi, cgitb, crypt, imghdr,
>mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau,
>telnetlib, uu, xdrlib, lib2to3.
>- Many other removals
> of deprecated
>classes, functions and methods in various standard library modules.
>- New deprecations
>, most of
>which are scheduled for removal from Python 3.15 or 3.16.
>- C API removals 
>and deprecations .
>(Some removals present in alpha 1 were reverted in alpha 2, as the
> removals
>were deemed too disruptive at this time.)
>
> (Hey, *fellow core developer,* if a feature you find important is missing
> from this list, let Thomas know . It’s getting to be
> really important now!)
> https://www.python.org/downloads/release/python-3130a6/
> <
> https://discuss.python.org/t/python-3-12-3-and-3-13-0a6-released/50601#we-hope-you-enjoy-the-new-releases-3
> >We
> hope you enjoy the new releases!
>
> Thanks to all of the many volunteers who help make Python Development and
> these releases possible! Please consider supporting our efforts by
> volunteering yourself, or through contributions to the Python Software
> Foundation  or CPython itself
> .
>
> Thomas “can you tell I haven’t had coffee today” Wouters
> on behalf of your release team,
>
> Ned Deily
> Steve Dower
> Pablo Galindo Salgado
> Łukasz Langa
> --
> Thomas Wouters 
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: PyCon

2024-05-18 Thread Abdur-Rahmaan Janhangeer via Python-list
Yes, this year's pretty exciting, great keynotes, great lightnings, great
location, great even sponsor talks (thought they would be pumping a lot of
marketing, but the ones i went were pretty awesome technically)

Organization side pretty smooth as well 👍

On Fri, 17 May 2024, 20:58 Larry Martell via Python-list, <
python-list@python.org> wrote:

> I’m at PyCon in Pittsburgh and I’m haven’t an amazing time!
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: PyCon

2024-05-18 Thread Abdur-Rahmaan Janhangeer via Python-list
Two interesting ones:

- Norwegian library: https://fosstodon.org/@osdotsystem/112459312723574625
- One about if Ai will take our jobs, using py to find out and she
concludes it will

On Sat, 18 May 2024, 14:15 Chris Angelico via Python-list, <
python-list@python.org> wrote:

> On Sun, 19 May 2024 at 04:10, Abdur-Rahmaan Janhangeer via Python-list
>  wrote:
> >
> > Yes, this year's pretty exciting, great keynotes, great lightnings, great
> > location, great even sponsor talks (thought they would be pumping a lot
> of
> > marketing, but the ones i went were pretty awesome technically)
> >
> > Organization side pretty smooth as well 👍
>
> I missed out on the first day's lightning talks session due to
> conflict with work, and it didn't seem to have been recorded. What did
> I miss?
>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Help with Streaming and Chunk Processing for Large JSON Data (60 GB) from Kenna API

2024-09-29 Thread Abdur-Rahmaan Janhangeer via Python-list
Idk if you tried Polars, but it seems to work well with JSON data

import polars as pl
pl.read_json("file.json")

Kind Regards,

Abdur-Rahmaan Janhangeer
about  | blog

github 
Mauritius


On Mon, Sep 30, 2024 at 8:00 AM Asif Ali Hirekumbi via Python-list <
python-list@python.org> wrote:

> Dear Python Experts,
>
> I am working with the Kenna Application's API to retrieve vulnerability
> data. The API endpoint provides a single, massive JSON file in gzip format,
> approximately 60 GB in size. Handling such a large dataset in one go is
> proving to be quite challenging, especially in terms of memory management.
>
> I am looking for guidance on how to efficiently stream this data and
> process it in chunks using Python. Specifically, I am wondering if there’s
> a way to use the requests library or any other libraries that would allow
> us to pull data from the API endpoint in a memory-efficient manner.
>
> Here are the relevant API endpoints from Kenna:
>
>- Kenna API Documentation
>
>- Kenna Vulnerabilities Export
>
>
> If anyone has experience with similar use cases or can offer any advice, it
> would be greatly appreciated.
>
> Thank you in advance for your help!
>
> Best regards
> Asif Ali
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Python List is Not Dead

2024-12-25 Thread Abdur-Rahmaan Janhangeer via Python-list
Hey all,

I have been following discussions on Discourse (discuss.python.org) these
last times.

I think that it definitely lacks some of the joys of the mailing list:

1/ Categories

The discussion has fixed categories. No channel for  fun posts, project
releases or musings.

2/ Ui

Good luck getting to the bottom of big threads. Hello JS!

PS. You can but it's not intuitive.

3/ Quality

I find great posts here and there on the mailing list. I can't seem to find
great posts over there.

Just sharing my POV. I like the mailing list ^^,

Kind Regards,

Abdur-Rahmaan Janhangeer
about  | blog

github 
Mauritius
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: PEP Idea: Extended import syntax for aliasing module attributes

2025-06-18 Thread Abdur-Rahmaan Janhangeer via Python-list
And here: https://discuss.python.org/c/ideas/6

Kind Regards,

Abdur-Rahmaan Janhangeer
about  | blog

github 
Mauritius


On Tue, Jun 17, 2025 at 4:20 PM Barry Scott  wrote:

>
>
> > On 17 Jun 2025, at 00:19, Omar Ahmed via Python-list <
> python-list@python.org> wrote:
> >
> > Hi all,
> > I would like to propose a potential addition to Python's `import` syntax
> that would improve clarity and ergonomics for cases where developers want
> both full module access *and* a local alias to a specific attribute within
> that module.
> >
>
> FYI python idea are discussed on https://discussion.fedoraproject.org/
> these days.
> You will get a lot of feedback there.
>
> Barry
>
>
> --
> https://mail.python.org/mailman3//lists/python-list.python.org
>
-- 
https://mail.python.org/mailman3//lists/python-list.python.org