Re: [Python-Dev] Yearly PyPI breakage
On 05/05/2016 23:22, Stefan Krah wrote Fredrik Lundh is also affected (and might not have received any mail, same as me): https://pypi.python.org/pypi/PIL He might be, but clearly the Python community as a whole is not impacted. From what I see the latest version of PIL that is available is 1.1.6, which requires Python 1.5.2 or higher, and has the following stats:- 0 downloads in the last day 0 downloads in the last week 0 downloads in the last month I wish I could vent my feelings regarding your comments earlier in this thread but I won't, as apparently core developers can say what they like with no comeback, whereas plebs like me can and will get hammered by the Python community, despite having explained that a combination of anxiety, depression, chronic fatigue syndrome, insomnia, autism and diplopia makes life rather difficult. Unless of course you have similar problems, in which case please say so. The rest of the community might not understand, I certainly will. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Yearly PyPI breakage
On 06/05/2016 00:06, Barry Warsaw wrote: On May 05, 2016, at 11:58 PM, Mark Lawrence via Python-Dev wrote: On 05/05/2016 23:22, Stefan Krah wrote Fredrik Lundh is also affected (and might not have received any mail, same as me): https://pypi.python.org/pypi/PIL Maybe, but then there's the friendly fork: https://pypi.python.org/pypi/Pillow/3.2.0 -Barry Where is the relevance to my words that you've snipped? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] runtime dlls on Windows
On 26/05/2016 19:02, Brett Cannon wrote: On Thu, 26 May 2016 at 09:44 Chris Barker mailto:chris.bar...@noaa.gov>> wrote: [SNIP] Thanks Steve. Will you be at PyCon? if Nathaniel and I look at this during the sprints, maybe you could coach us a bit. Steve will be at PyCon but I don't think he will be around for the sprints as he has to catch a flight out for PyCon Taiwan. Steve writes such an excellent blog that when and if he has time I'm certain that he'll put something together. With people such as him following on from Martin Loewis, Tim Golden, Mark "I've forgotten more about Python on Windows than you'll ever know" Hammond and Andy "ditto" Robinson I can't say that I'll lose too much sleep over it. As I suffer insomnia on top of chronic fatigue syndrome, that is quite a statement for me to make. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Smoothing the transition from Python 2 to 3
On 10/06/2016 00:43, Brett Cannon wrote: That's not what I'm saying at all (nor what I think Nick is saying); more tooling to ease the transition is always welcomed. The point we are trying to make is 2to3 is not considered best practice anymore, and so targeting its specific output might not be the best use of your time. I'm totally happy to have your fork work out and help give warnings for situations where runtime semantics are the only way to know there will be a problem that static analyzing tools can't handle and have the porting HOWTO updated so that people can run their test suite with your interpreter to help with that final bit of porting. I personally just don't want to see you waste time on warnings that are handled by the tools already or ignore the fact that six, modernize, and futurize can help more than 2to3 typically can with the easy stuff when trying to keep 2/3 compatibility. IOW some of us have become allergic to the word "2to3" in regards to porting. :) But if you want to target 2to3 output then by all means please do and your work will still be appreciated. Given the above and that 2to3 appears to be unsupported* is there a case for deprecating it? * There are 46 outstanding issues on the bug tracker. Is the above the reason for this, I don't know? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Why does base64 return bytes?
On 14/06/2016 16:51, Paul Moore wrote: On 14 June 2016 at 16:19, Steven D'Aprano wrote: Why does base64 encoding in Python return bytes? I seem to recall there was a debate about this around the time of the Python 3 move. (IIRC, it was related to the fact that there used to be a base64 "codec", that wasn't available in Python 3 because it wasn't clear whether it converted bytes to text or bytes). I don't remember any of the details, let alone if a conclusion was reached, but a search of the archives may find something. Paul As I've the time to play detective I'd suggest https://mail.python.org/pipermail/python-3000/2007-July/008975.html -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered
On 12/09/2016 23:25, Gregory P. Smith wrote: On Mon, Sep 12, 2016 at 10:25 AM INADA Naoki wrote: So fundamental question is: Is it to so bad thing that some people write code depending on CPython and PyPy implementation? Yes. See below. I think cross-interpreter libraries can use OrederedDict correctly when they should use it. (They may run test on micropython, Jython and IronPython). The problem is that libraries which could otherwise be cross-VM compatible are not because they depend upon an implementation detail. So it becomes an additional porting burden on people trying to use the library on another VM that could've been avoided if we required people to be explicit about their needs. BUT... At this point I think coding up an example patch against beta1 offering a choice of disordered iteration capability that does not increase memory or iteration overhead in any significant way is needed. The problem is... I don't know how to express this as an API. Which sinks my whole though process and tables the idea. "tables the idea" has the US meaning of close it down, not the UK meaning of open it up? :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Implementing (parts of) copy module in C
On 02/11/2016 06:23, Stephen J. Turnbull wrote: Rasmus Villemoes writes: > First, apologies if this isn't the appropriate list; I trust I'll be > nudged in the right direction. Given the relatively advanced state of patch, I doubt that this is the *wrong* list. However, you would probably benefit from posting to python-l...@python.org to collect use cases. (We don't "vote" on such additions. Rather the senior devs consider whether the use cases seem general enough to justify on-going maintenance costs for new code.) > I would of course also be very interested in getting it into 2.7.x, > but I assume that's impossible(?). That is correct. This is clearly a feature, and 2.7 currently is accepting only security-related patches (broadly construed -- a sufficiently severe bug, such as a crash or infloop, is security- related because it could be used to implement a DoS attack). Surely patches related to any bugs, not just security related ones, will be accepted until EOL in 2020? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Implementing (parts of) copy module in C
On 02/11/2016 12:09, Terry Reedy wrote: On 11/2/2016 3:54 AM, Mark Lawrence via Python-Dev wrote: On 02/11/2016 06:23, Stephen J. Turnbull wrote: That is correct. This is clearly a feature, and 2.7 currently is accepting only security-related patches (broadly construed -- a sufficiently severe bug, such as a crash or infloop, is security- related because it could be used to implement a DoS attack). Surely patches related to any bugs, not just security related ones, will be accepted until EOL in 2020? That depends on the maintainers of a particular module. Some core developers have stopped patching 2.7. One should ask before writing and submitting non-security 2.7 code that does not clearly have a chance to be applied. Okay, thanks for that :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] re performance
On 27/01/2017 17:03, Łukasz Langa wrote: On Jan 26, 2017, at 5:16 PM, MRAB mailto:pyt...@mrabarnett.plus.com>> wrote: So, it seems as if regex already uses a better algorithm although I couldn't find any reference to any regex theoretical framework like dfa, nfa, thompson multiple-state simulation or something. It still uses backtracking, like in the re module. What’s the status of regex inclusion in the stdlib? - Ł I've asked about this in the past, but have now come to the conclusion that it is way better to leave regex, and many other third party modules, on pypi rather than have them tied into the Python release cycle. If YMMV so be it. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] windows installer and python list mention
On 10/04/2017 18:48, Nathaniel Smith wrote: On Mon, Apr 10, 2017 at 10:32 AM, Ethan Furman wrote: Some people find it easier to follow this and other lists via gmane (http://news.gmane.org/gmane.comp.python.general), a service which offers a newsgroup interface to many online mailing lists. Also, gmane has been dead for a few months (that link just says "Page Not Found") and its future is uncertain, so this bit isn't terribly helpful either... -n Wrong, it's live and kicking. What am I reading this on, Scotch mist? Of course people should be pointed to the Windows list at gmane.comp.python.windows but that will not stop them asking the same moronic question that has been asked repeatedly for the last 16 months, "I get api-ms-win-crt-runtime-l1-1-0.dll is missing, what do I do about it?". Haven't they heard of search engines? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Possible bug in class-init, lookin for mentors
On 21/04/2017 16:03, Guyzmo via Python-Dev wrote: On Fri, Apr 21, 2017 at 11:47:24AM +0200, Justus Schwabedal wrote: At least I think it's a bug. Maybe it's a feature.. it's indeed a feature. I possibly found a bug in class __init__ and would like to fix it technically, it's a method. More precisely, it's the constructor method. No, __new__ is the constructor, __init__ is the initializer. It is completely impossible to state when a Python object has been initialised as you can throw in attributes any time you like. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] mention aenum in the Enum docs?
On 09/05/2017 18:05, Ethan Furman wrote: A comment on a recent SO answer [1] wondered why my aenum library wasn't mentioned in the docs to help guide people that needed/wanted more advanced Enum options to it. I responded that Python was not in the habit of mentioning third-party libraries in the docs. However, I thought I would double-check here to see if it might be a good idea. Pros: - drop-in replacement for the stdlib Enum - has many advanced features such as - auto __init__ building - multi-value members - duplicate value but non-aliasing members - etc. - I'm the primary/only maintainer for both Cons: - third-party library Thoughts? -- ~Ethan~ [1] http://stackoverflow.com/a/43855536/208880 The precedent is all ready set as the third-party regex module gets a mention here https://docs.python.org/3/library/re.html and the requests package here https://docs.python.org/3/library/urllib.request.html. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] python docs
On 10/05/2017 15:53, Ethan Furman wrote: Not sure where to ask about this, so I'm asking here. In the on-line docs, at the very bottom of a page, in fine print, is a link: _Find a bug?_ Following that link leads to a short page with some advice on how to handle it. Under the second heading [1] is this paragraph: If you’re short on time, you can also email documentation bug reports > to d...@python.org (behavioral bugs can be sent to python-l...@python.org). > ‘docs@’ is a mailing list run by volunteers; your request will be noticed, > though it may take a while to be processed. Why is python-list the place to send behavioral bugs to? It's been my experience that folks there will (rightly) ask the individual to file a bug on the tracker. -- ~Ethan~ [1] https://docs.python.org/3/bugs.html#documentation-bugs Saves even more reports on the grounds that "Python can't do floating point properly". I don't know if it's calmed down now, but there used to be 3 or 4 a year. They were, as always, very politely referred to the FAQ, or similar. Multiply that up by a multitude of newbie problems and the triagers would be swamped. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] 64 bit units in PyLong
On 05/07/2017 20:05, Mark Dickinson wrote: Oh, and you'd have to rewrite the power algorithm, which currently depends on the size of a limb in bytes being a multiple of 5. :-) What is a limb, as my search foo has let me down? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email has been checked for viruses by AVG. http://www.avg.com ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] [bpo-30421]: Pull request review
On 28/08/2017 17:46, Terry Reedy wrote: On 8/28/2017 3:42 AM, Robert Schindler wrote: Hello, In May, I submitted a pull request that extends the functionality of argparse.ArgumentParser. The argparse maintainer, bethard (Peter Bethard), was not added to the nosy list. And he does not seem to have been active lately -- his bpo profile does not list a github name. To do so, I followed the steps described in the developers guide. According to [1], I already pinged at GitHub but got no response. The next step seems to be writing to this list. I know that nobody is payed for reviewing submissions, but maybe it just got overlooked? You can find the pull request at [2]. [1] https://docs.python.org/devguide/pullrequest.html#reviewing [2] https://github.com/python/cpython/pull/1698 Some core developer has to decide if the new feature should be added, and if so, what the API should be. If Peter is not doing that, I don't know who will. It is possible that the current design is intentional, rather than an oversight. It does not make too much sense to review the implementation (the PR) until the design decisions are made. In this case, the PR adds a feature not discussed on the bpo issue. The bulk of the work on argparse in recent years has been done by paul.j3. I have no idea whether or not he is classed as a core developer. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email has been checked for viruses by AVG. http://www.avg.com ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com