[Python-Dev] Re: Sad news from Zurich

2021-12-10 Thread Hasan Diwan
My condolences to all who knew Fredrik. -- H ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at

[Python-Dev] Re: Having Sorted Containers in stdlib?

2021-11-09 Thread Hasan Diwan
A quick Google for "treap python github" yielded https://github.com/TheAlgorithms/Python/blob/master/data_structures/binary_tree/treap.py . On Tue, 9 Nov 2021 at 21:49, Dan Stromberg wrote: > > On Tue, Nov 9, 2021 at 9:00 PM Steven D'Aprano > wrote: > >> Sorting dicts has been discussed on the

[Python-Dev] Re: Having Sorted Containers in stdlib?

2021-11-09 Thread Hasan Diwan
On Tue, 9 Nov 2021, 17:05 Bob Fang, wrote: > But that’s in insertion order, not in key order right? I think we need > data structure that are key-ordered. > According to the tests, it seems to be key-ordered. It also appears that the ordering cannot be changed (yet?). -- H

[Python-Dev] Re: Having Sorted Containers in stdlib?

2021-11-09 Thread Hasan Diwan
On Tue, 9 Nov 2021 at 16:01, Bob Fang wrote: > This is a modest proposal to consider having sorted containers ( > http://www.grantjenks.com/docs/sortedcontainers/ >

[Python-Dev] Re: bz2.BZ2File doesn't support name?

2021-04-27 Thread Hasan Diwan
[response inline] On Tue, 27 Apr 2021 at 04:55, Senthil Kumaran wrote: > why did you have a self.filename and (getter?) as name. You could set the > attribute as name. > I wasn't aware that this was an option. -- H -- OpenPGP: https://hasan.d8u.us/openpgp.asc If you wish to request my time,

[Python-Dev] Re: bz2.BZ2File doesn't support name?

2021-04-27 Thread Hasan Diwan
I just added the .name property to bz2.Bzip2File and added a test to verify it. -- H On Mon, 26 Apr 2021 at 21:40, Senthil Kumaran wrote: > There is an open bug report https://bugs.python.org/issue24258 > > I guess it was overlooked. It could be a good task for someone > interested. > Please

[Python-Dev] Re: Merge Request Review Reminder

2021-03-19 Thread Hasan Diwan
For the side question, you can always use rebase instead of merge. Let me know if you need further particulars? -- H On Fri, 19 Mar 2021 at 09:31, Faisal Mahmood wrote: > Hello, > > Following my previous e-mail last month, thank you for responding. I > almost immediately got two reviewers who

[Python-Dev] Re: Resignation from Stefan Krah

2020-10-07 Thread Hasan Diwan
Sorry to see you go, Stefan. You will be missed. -- H On Wed, 7 Oct 2020 at 14:50, Antoine Pitrou wrote: > > Hello, > > Apparently, Stefan Krah (core developer and author of the C _decimal > module) was silently banned or moderated from posting to python.org > mailing-lists. He asked me to

[Python-Dev] Re: Thank you Larry Hastings!

2020-10-05 Thread Hasan Diwan
Thanks, Mr Hastings! -- H -- OpenPGP: https://sks-keyservers.net/pks/lookup?op=get=0xFEBAD7FFD041BBA1 If you wish to request my time, please do so using *bit.ly/hd1AppointmentRequest *. Si vous voudrais faire connnaisance, allez a *bit.ly/hd1AppointmentRequest

Re: [Python-Dev] [RELEASE] Python 2.7.16

2019-03-04 Thread Hasan Diwan
On Mon, 4 Mar 2019 at 16:33, Terry Reedy wrote: > On 3/3/2019 10:30 PM, Benjamin Peterson wrote: > > > I'm pleased to announce the immediate availability of Python 2.7.16 for > download at https://www.python.org/downloads/release/python-2716/. > Congrats team! -- H -- OpenPGP:

Re: [Python-Dev] [RELEASE] Python 2.7.15

2018-04-30 Thread Hasan Diwan
Congrats to all involved! -- H On 30 April 2018 at 21:09, Benjamin Peterson wrote: > Greetings, > I'm pleased to announce the immediate availability of Python 2.7.15, the > latest bug fix release in the senescent Python 2.7 series. > > Source and binary downloads may be

Re: [Python-Dev] Sets, Dictionaries

2018-03-28 Thread Hasan Diwan
Hi, Julia, On 28 March 2018 at 21:14, Julia Kim wrote: > > My suggestion is to change the syntax for creating an empty set and an > empty dictionary as following. > You should craft your suggestion as a PEP and send it to the python-ideas mailing list. Good luck! --

Re: [Python-Dev] iso8601 parsing

2017-10-23 Thread Hasan Diwan
n-Dev@python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: https://mail.python.org/mailman/options/python-dev/hasan. > diwan%40gmail.com > ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mail

Re: [Python-Dev] New OpenSSL - has anyone ever looked at (in)compatibility with LibreSSL

2016-03-08 Thread Hasan Diwan
On 8 March 2016 at 00:49, Michael Felt wrote: > As a relative newcomer I may have missed a long previous discussion re: > linking with OpenSSL and/or LibreSSL. > In an ideal world this would be rtl linking, i.e., underlying complexities > of *SSL libraries are hidden from

Re: [Python-Dev] OpenBSD buildbot has many failures

2015-03-31 Thread Hasan Diwan
I, too, would be interested in having tests pass on OpenBSD (and NetBSD) and am willing to do whatever I have to to make it be so. -- H On 31 March 2015 at 21:52, Davin Potts pyt...@discontinuity.net wrote: Hi Victor — I am personally interested in seeing all tests pass on OpenBSD and am

Re: [Python-Dev] Critical bash vulnerability CVE-2014-6271 may affect Python on *n*x and OSX

2014-09-26 Thread Hasan Diwan
Matěj, On 26 September 2014 00:28, Matěj Cepl mc...@cepl.eu wrote: Where does your faith that other /bin/sh implementations (dash, busybox, etc.) are less buggy comes from? The fact that they are simpler, in terms of lines of code. It's no guarantee, but the less a given piece of code does,

Re: [Python-Dev] Bluetooth 4.0 support in socket module

2014-07-14 Thread Hasan Diwan
Would http://lmbtfy.com/?q=contribute+to+python# be more or less acceptable? -- H On 14 July 2014 09:09, Skip Montanaro s...@pobox.com wrote: On Mon, Jul 14, 2014 at 10:53 AM, Brian Curtin br...@python.org wrote: Is there some online documentation with guidelines on how to contribute?

Re: [Python-Dev] Bluetooth 4.0 support in socket module

2014-07-14 Thread Hasan Diwan
Tim, Are you aware of https://code.google.com/p/pybluez/ ? -- H On 14 July 2014 13:42, Terry Reedy tjre...@udel.edu wrote: On 7/14/2014 9:57 AM, Tim Tisdall wrote: 2 questions not answered yet. Also, is there a method to test changes against all the different *nix variations? We

[Python-Dev] Documentation Oversight

2014-06-10 Thread Hasan Diwan
From the csv module pydoc: The optional dialect parameter is discussed below The discussion is actually above the method. Present in 2.7.6. -- H -- Sent from my mobile device Envoyé de mon portable ___ Python-Dev mailing list Python-Dev@python.org

[Python-Dev] Logging Module format

2013-10-20 Thread Hasan Diwan
I've been using the logging module recently and noticed the default format doesn't timestamp log entries. I've not figured out how to change the format after initialization. This is python 2.7, on Mac OS X. Help, anyone? -- H -- Sent from my mobile device Envoyé de mon portable

Re: [Python-Dev] FWD: FTP URLs for Python source

2009-05-23 Thread Hasan Diwan
Aahz wrote: Yes, this is ancient, I've been putting off dealing with it because I couldn't figure out who should handle it.  At this point, I think that if anyone does it should be the release team, therefore I'm forwarding to python-dev.  Feel free to tell me I made the wrong choice.  ;-)

Re: [Python-Dev] Proposal: add odict to collections

2008-06-14 Thread Hasan Diwan
the order of insertion? Something like: def __init__(self, cmpfunc = None): self.dict = dict() def __getattr__(self, key): try: return self.key -- Cheers, Hasan Diwan [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] No releases tonight

2008-03-01 Thread Hasan Diwan
I'll volunteer to do a French translation of the release. -- Cheers, Hasan Diwan [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options

[Python-Dev] Math.sqrt(-1) -- nan or ValueError?

2007-09-04 Thread Hasan Diwan
. I'd be happy for some direction here. Many thanks! -- Cheers, Hasan Diwan [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python

Re: [Python-Dev] Math.sqrt(-1) -- nan or ValueError?

2007-09-04 Thread Hasan Diwan
... or should I just not bother? -- Cheers, Hasan Diwan [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] test_asyncore fails intermittently on Darwin

2007-07-26 Thread Hasan Diwan
. -- Cheers, Hasan Diwan [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] test_socketserver flakey?

2007-04-03 Thread Hasan Diwan
Guido van Rossum wrote: The test_socketserver unittest seems to be failing occasionally for me. (Svn HEAD, Ubuntu dapper.) Specifically, which test is failing? -- Cheers, Hasan Diwan [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev

[Python-Dev] Makefile.pre.in Patch

2006-12-03 Thread Hasan Diwan
The attached patch ensures that the $(DESTDIR) exists before installing the built binaries. It has been tested on Mac OS X. The patch is attached. -- Cheers, Hasan Diwan [EMAIL PROTECTED] Makefile.patch Description: Binary data ___ Python-Dev mailing

[Python-Dev] Fwd: [ python-Feature Requests-1567948 ] poplib.py list interface

2006-10-04 Thread Hasan Diwan
the latest update.Category: Python LibraryGroup: Python 2.6Status: OpenResolution: NonePriority: 5Submitted By: Hasan Diwan (hdiwan650)Assigned to: Nobody/Anonymous (nobody)Summary: poplib.py list interfaceInitial Comment:Adds a list-like interface to poplib.py, poplib_as_list