home.social

#whatsnew — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #whatsnew, aggregated by home.social.

fetched live
  1. What's New in Python 3.15:

    🦋 pprint 🖨️

    * Add an expand keyword argument for pprint.pprint(), pprint.pformat(), pprint.pp(). If true, the output will be formatted similar to pretty-printed json.dumps() when indent is supplied. (Contributed by Stefan Todoran, Semyon Moroz and Hugo van Kemenade.)

    * Add t-string support to pprint. (Contributed by Loïc Simon and Hugo van Kemenade.)

    docs.python.org/3.15/whatsnew/

    #Python #Python315 #WhatsNew

  2. What's New in Python 3.15:

    ⚙️ sys ⚙️

    * Add sys.abi_info namespace to improve access to ABI information. (Contributed by Klaus Zimmermann.)

    docs.python.org/3.15/whatsnew/

    #Python #Python315 #WhatsNew

  3. What's New in Python 3.15:

    🌊 wave 🌊

    * Added support for IEEE floating-point WAVE audio (WAVE_FORMAT_IEEE_FLOAT) in wave.

    * Added Wave_read.getformat(), Wave_write.getformat(), and Wave_write.setformat() for explicit frame format handling.

    * Wave_write.setparams() accepts both 7-item tuples including format and 6-item tuples for backwards compatibility (defaulting to WAVE_FORMAT_PCM).

    docs.python.org/3.15/whatsnew/

    #Python #Python315 #WhatsNew

  4. What's New in Python 3.15:

    unicodedata

    * Unicode database updated to v17

    * New iter_graphemes() iterates over grapheme clusters (UAX #29); grapheme_cluster_break(), indic_conjunct_break() & extended_pictographic() give character properties

    * New isxidstart()/isxidcontinue() check UAX #31 identifier characters

    * New block() returns a character's Unicode block

    (Contributed by @stanfromireland, Serhiy Storchaka & Guillaume Sanchez)

    docs.python.org/3.15/whatsnew/

    #Python #Python315 #WhatsNew

  5. What's New in Python 3.15:

    collections

    * Added collections.Counter.__xor__() and collections.Counter.__ixor__() to compute the symmetric difference between Counter objects. (Contributed by Raymond Hettinger.)

    docs.python.org/3.15/whatsnew/

    #Python #Python315 #WhatsNew

    mastodon.social/tags/WhatsNew

  6. What's New in Python 3.15:

    unittest

    * unittest.TestCase.assertLogs() will now accept a formatter to control how messages are formatted. (Contributed by Garry Cairns.)

    * unittest.TestCase.assertWarns() and unittest.TestCase.assertWarnsRegex() no longer swallow warnings that do not match the specified category or regex. Nested context managers are now supported. (Contributed by Serhiy Storchaka.)

    docs.python.org/3.15/whatsnew/

    #Python #Python315 #WhatsNew

  7. What's New in Python 3.15:

    pdb

    * Use the new interactive shell as the default input shell for pdb. (Contributed by Tian Gao.)

    docs.python.org/3.15/whatsnew/

    #Python #Python315 #WhatsNew

  8. What's New in Python 3.15:

    os

    * Add os.statx() on Linux kernel versions 4.11 and later with glibc versions 2.28 and later. (Contributed by Jeffrey Bosboom and @vstinner)

    * os.makedirs() function now has a parent_mode parameter that allows specifying the mode for intermediate directories. This can be used to match the behavior from Python 3.6 and earlier by passing parent_mode=mode. (Contributed by Zackery Spytz and @gpshead)

    docs.python.org/3.15/whatsnew/

    #Python #Python315 #WhatsNew

  9. What's New in Python 3.15:

    shelve

    * Added new reorganize() method to shelve used to recover unused free space previously occupied by deleted entries. (Contributed by Andrea Oliveri.)

    * Add support for custom serialization and deserialization functions in the shelve module. (Contributed by @furkanonder.bsky.social.)

    docs.python.org/3.15/whatsnew/

    #Python #Python315 #WhatsNew

  10. 5' AKB with a clutch save 🧱 #whatsnew

  11. What's New in Python 3.15:

    locale

    * setlocale() now supports language codes with @-modifiers. @-modifiers are no longer silently removed in getlocale(), but included in the language code. (Contributed by Serhiy Storchaka.)

    * Undeprecate the locale.getdefaultlocale() function. (Contributed by @vstinner.)

    docs.python.org/3.15/whatsnew/

    #Python #Python315 #WhatsNew

  12. Really, some of you love them? 😅

    For me, these “what’s new” tabs are a UX/DX disaster—one that gets so little attention that it seems no one ever thought to at least add some “☑️ Show again next time” checkbox to them (and perhaps a link where to follow updates alternatively, which would be a great opportunity to connect with those who do like to learn more).

    I believe it shows here that we don’t pay enough attention to detail—and that that spreads, because every implementation seems to suffer from the same problems. Mindlessly copied, not thoughtfully adopted.

    “What's new” could be done a lot better.

    #whatsnew #ux #dx

  13. What's New in Python 3.15:

    csv

    * csv.Sniffer.sniff() delimiter detection is now up to 1.6x faster. (Contributed by Maurycy Pawłowski-Wieroński.)

    docs.python.org/3.15/whatsnew/

    #Python #Python315 #WhatsNew

Share on Mastodon

Enter the server where you have an account.