Re: How to install Python package from source on Windows

2017-05-30 Thread Paul Moore
On 30 May 2017 at 20:15, Deborah Swanson wrote: > Why do you care so deeply what pip does on an operating system that is > no longer supported? Sigh. I guess we just have to agree to differ. > And I'm sorry you're upset that pip is not behaving as expected, but > please remember that this happen

Re: Re: How to install Python package from source on Windows

2017-05-30 Thread Paul Moore
On 30 May 2017 at 21:27, Deborah Swanson wrote: > I have already offered to do whatever you would like me to do on this > system - after I'm up and running on Linux. I need a functioning PyCharm > on this system until that happens. OK. I'm not sure I care enough to remind you, but if you want to

Re: zipapp should not include temporary files?

2017-07-26 Thread Paul Moore
On Wednesday, 26 July 2017 18:37:15 UTC+1, Irmen de Jong wrote: > when creating an executable zip file using the zipapp module, it's a little > sad to see > that no effort is done to filter out obvious temporary files: the resulting > zipfile > contains any *.pyc/pyo files and other things such

Re: zipapp should not include temporary files?

2017-07-31 Thread Paul Moore
On Friday, 28 July 2017 17:53:08 UTC+1, Irmen de Jong wrote: > On 28/07/2017 18:36, Irmen de Jong wrote: > > On 27/07/2017 00:03, Paul Moore wrote: > >> If you want to create a feature request for a filter function on > >> bugs.python.org and assign it to

Re: YAML in std lib?

2017-07-31 Thread Paul Moore
On Sunday, 30 July 2017 07:21:00 UTC+1, Steve D'Aprano wrote: > 1. Perhaps nobody has thought of it. > > 2. The author of the library refused to allow it, or demanded > conditions which the Python developers either cannot or will > not meet. > > 3. The library is under rapid developme

Re: @lru_cache on functions with no arguments

2017-08-01 Thread Paul Moore
On Tuesday, 1 August 2017 00:31:52 UTC+1, t...@tomforb.es wrote: > Am I right in thinking that using `maxsize=None` is best for functions that > accept no arguments? Should we even be using a `lru_cache` in such > situations, or write our own simple cache decorator instead? It seems like overki

Re: @lru_cache on functions with no arguments

2017-08-03 Thread Paul Moore
On Tuesday, 1 August 2017 15:54:42 UTC+1, t...@tomforb.es wrote: > > _sentinel = object() > > _val = _sentinel > > def val(): > > if _val is _sentinel: > > # Calculate _val > > return _val > > > > seems entirely sufficient for this case. Write a custom decorator if you > > use th

Re: [Python-Dev] [ANN] Daily Windows builds of Python 3.x

2017-08-08 Thread Paul Moore
On 8 August 2017 at 17:21, Steve Dower wrote: > For a while I've been uploading the official releases to nuget.org. These > packages can be installed with nuget.exe (latest version always available at > https://aka.ms/nugetclidl), which is quickly becoming a standard tool in > Microsoft's build to

Re: Reading the documentation

2017-08-25 Thread Paul Moore
On Friday, 25 August 2017 14:16:05 UTC+1, Chris Angelico wrote: > Yep. We're in agreement on that. My only point about the confusion was > the way in which you could get "wrong answers" in binary but "right > answers" in decimal, leading to the "0.1 + 0.2 != 0.3" problem. That's > a sum that works

Re: Increasing the diversity of people who write Python (was:

2017-11-27 Thread nospam . Paul Moore
On 27 November 2017 at 18:13, Skip Montanaro wrote: >> If you have a Windows key, you can assign it to be >> the Compose key. > > Would this be true on a machine running Windows? My work environment > has me developing on Linux, with a Windows desktop. It's not clear to > me that any sort of xmodm

<    1   2   3   4   5