[issue29710] Incorrect representation caveat on bitwise operation docs

2018-07-14 Thread Nick Coghlan
Nick Coghlan added the comment: The restriction of the footnote to ``x & y``, ``x | y``, and ``x ^ y`` was going to come from the fact that only those rows in the table will reference the new note. However, it likely makes sense to repeat the relevant expressions in the footnote as well,

[issue34118] Fix some class entries in 'Built-in Functions'

2018-07-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- title: Fix some class entries entries in 'Built-in Functions' -> Fix some class entries in 'Built-in Functions' ___ Python tracker ___

[issue34117] Rename "generator expressions" to "generator comprehensions"

2018-07-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are also few differences between comprehensions and generator expressions. The author of the patch should not just replace all occurrences of "generator expression" with "generator comprehension", but analyze all occurrences of the sole

[issue29710] Incorrect representation caveat on bitwise operation docs

2018-07-14 Thread Tim Peters
Tim Peters added the comment: Nick, that seems a decent compromise. "Infinite string of sign bits" is how Guido & I both thought of it when the semantics of longs were first defined, and others in this report apparently find it natural enough too. It also applies to all 6 operations in

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Steven D'Aprano
On Sat, 14 Jul 2018 22:54:52 +0300, Marko Rauhamaa wrote: > Ah, that's called "shunning," isn't it? No, shunning is when people simply stop responding to those they don't approve of, turn their back on them in the street, and refuse to acknowledge their existence in any way. -- Steven

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Chris Angelico
On Sun, Jul 15, 2018 at 12:55 PM, Steven D'Aprano wrote: > On Sun, 15 Jul 2018 09:07:17 +1000, Chris Angelico wrote: > >> On Sun, Jul 15, 2018 at 8:15 AM, Marko Rauhamaa >> wrote: >>> Chris Angelico : >>> On Sun, Jul 15, 2018 at 5:54 AM, Marko Rauhamaa wrote: > True enough.

[issue34117] Rename "generator expressions" to "generator comprehensions"

2018-07-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: Guido asked me to try this out on students. I'll report back after next week's class. -- nosy: +rhettinger ___ Python tracker ___

[issue8525] Display exceptions' subclasses in help()

2018-07-14 Thread Rob Cliffe
Rob Cliffe added the comment: On 14/07/2018 13:44, Nick Coghlan wrote: > Nick Coghlan added the comment: > > Reviewing the builtins in 3.7, I get the following results for builtin > objects that have defined subclasses immediately after interpreter startup: > > = for name,

Guido's leaving

2018-07-14 Thread Jack Gilbert
To Guido, I wish you much success in all your future endeavors. Jack G Python Newby -- https://mail.python.org/mailman/listinfo/python-list

[issue34118] Fix some class entries entries in 'Built-in Functions'

2018-07-14 Thread Terry J. Reedy
New submission from Terry J. Reedy : The Library Reference 'Built-in Functions' chapter includes build-in classes because classes are functions in the sense of being callable with arguments and returning objects. A proposal to change the name to Built-in Functions and Classes was rejected

[issue34060] regrtest: log "CPU usage" on Windows

2018-07-14 Thread Ammar Askar
Ammar Askar added the comment: Opened up a PR with a proof of concept to get feedback on if this approach is reasonable. Giampaolo, on your psutil issue you specifically said, "(possibly without using WMI)" Is there any particular problem with using WMI? --

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Steven D'Aprano
On Sun, 15 Jul 2018 09:07:17 +1000, Chris Angelico wrote: > On Sun, Jul 15, 2018 at 8:15 AM, Marko Rauhamaa > wrote: >> Chris Angelico : >> >>> On Sun, Jul 15, 2018 at 5:54 AM, Marko Rauhamaa >>> wrote: True enough. Modern-day protocols as well as Linux file formats and commands

[issue34060] regrtest: log "CPU usage" on Windows

2018-07-14 Thread Ammar Askar
Ammar Askar added the comment: Thanks a lot for that link Jeremy, it was really helpful. After reading up on it, my take is that winapi is the most appropriate place for this, it is a non public api that's used in the stdlib. I've used Windows APIs in a way that we don't need to manually

[issue34060] regrtest: log "CPU usage" on Windows

2018-07-14 Thread Ammar Askar
Change by Ammar Askar : -- keywords: +patch pull_requests: +7821 stage: -> patch review ___ Python tracker ___ ___

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Chris Angelico
On Sun, Jul 15, 2018 at 5:19 AM, Tim Daneliuk wrote: > On 07/14/2018 04:09 AM, Christian Gollwitzer wrote: >> I agree with this observation and it feels quite strange to me. I regularly >> use three languages (C++, Python and Tcl), all three are under active >> development, and IMHO all of them

[issue34114] Build failing: use of undeclared identifier '_Py_END_SUPPRESS_IPH' & '_Py_BEGIN_SUPPRESS_IPH'

2018-07-14 Thread INADA Naoki
INADA Naoki added the comment: Sometime, you need to run `make distclean` or `git clean -fdx` to remove wrong caches. -- nosy: +inada.naoki resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue34117] Rename "generator expressions" to "generator comprehensions"

2018-07-14 Thread Brett Cannon
New submission from Brett Cannon : The idea came up on python-dev to tweak the names of generator expressions to "generator comprehensions" to align more with list|set|dict comprehensions. This would be strictly a doc change (for now). A reference to generator expressions should be left if

[issue34116] Move all bytes/bytearray/int/float/complex documentation to Built-in Types

2018-07-14 Thread Andrés Delfino
Andrés Delfino added the comment: See talk at: https://python.zulipchat.com/#narrow/stream/116633-documentation/subject/Gather.20all.20type.20documentation.20in.20stdtypes -- ___ Python tracker

[issue34116] Move all bytes/bytearray/int/float/complex documentation to Built-in Types

2018-07-14 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7820 stage: -> patch review ___ Python tracker ___ ___

[issue34112] 3.7.0 build error with --enable-optimizations

2018-07-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: --enable-optimizations On Sat, Jul 14, 2018, at 12:31, Jayanth Koushik wrote: > > Jayanth Koushik added the comment: > > Hi. Do you mean turning of `--enable-optimizations` or reducing GCC > optimization level (O3 etc)? > > -- > >

[issue34116] Move all bytes/bytearray/int/float/complex documentation to Built-in Types

2018-07-14 Thread Andrés Delfino
New submission from Andrés Delfino : Right now, bytearray, bytes, complex, float and int documentation is splitted into stdtypes.rst and functions.rst. I think stdtypes.rst should be the only source with all documentation, and functions.rst should just point out to stdtypes.rst. This would

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Tim Daneliuk
On 07/14/2018 04:09 AM, Christian Gollwitzer wrote: > I agree with this observation and it feels quite strange to me. I regularly > use three languages (C++, Python and Tcl), all three are under active > development, and IMHO all of them have flaws, there are is always something > which is

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Chris Angelico
On Sun, Jul 15, 2018 at 8:15 AM, Marko Rauhamaa wrote: > Chris Angelico : > >> On Sun, Jul 15, 2018 at 5:54 AM, Marko Rauhamaa wrote: >>> True enough. Modern-day protocols as well as Linux file formats and >>> commands intentionally blur the line between strings and bytes. The >>> software in

[issue34115] code.InteractiveConsole.interact() closes stdin

2018-07-14 Thread Yonatan Zunger
New submission from Yonatan Zunger : code.InteractiveConsole.interact() closes stdin on exit, which can be very surprising to successive code, not least future calls to interact(). A simple repro with a workaround is: import code import io import os import sys def run():

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Marko Rauhamaa
Chris Angelico : > On Sun, Jul 15, 2018 at 5:54 AM, Marko Rauhamaa wrote: >> True enough. Modern-day protocols as well as Linux file formats and >> commands intentionally blur the line between strings and bytes. The >> software in question deals with all of the above. It is virtually >>

[issue34114] Build failing: use of undeclared identifier '_Py_END_SUPPRESS_IPH' & '_Py_BEGIN_SUPPRESS_IPH'

2018-07-14 Thread Sanyam Khurana
Sanyam Khurana added the comment: This is strange. I cloned the repo again at some other location, and I can build it successfully. In my older clone, however, it shows me this error, despite running a `make clean`. Any idea on what is the problem here? -- nosy: +vstinner

[issue29199] test_regrtest fails if PCBuild directory doesn't exist

2018-07-14 Thread ppperry
ppperry added the comment: To be precise, fixed as part of issue33352 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue29199] test_regrtest fails if PCBuild directory doesn't exist

2018-07-14 Thread ppperry
ppperry added the comment: This issue seems to have been fixed in 3.7 -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue34114] Build failing: use of undeclared identifier '_Py_END_SUPPRESS_IPH' & '_Py_BEGIN_SUPPRESS_IPH'

2018-07-14 Thread Sanyam Khurana
New submission from Sanyam Khurana : The step for configuration works correctly and gives a makefile. On running `./make` the following traceback is produced: ``` $ make

[issue34113] LLTRACE segv

2018-07-14 Thread Andrew Valencia
New submission from Andrew Valencia : Build with -DLLTRACE, then: >>> __lltrace__ = 1 >>> a = [1, 2, 3] 0: 100, 0 push 1 3: 100, 1 push 2 6: 100, 2 push 3 9: 103, 3 pop 3 pop 2 pop 1 push [1, 2, 3] 12: 90, 0 pop [1, 2, 3] 15: 100, 3 push None 18: 83 pop None >>> a[0] = 1 0: 100, 0 push 1 3:

[issue34060] regrtest: log "CPU usage" on Windows

2018-07-14 Thread Jeremy Kloth
Jeremy Kloth added the comment: Also prior conversation: https://bugs.python.org/issue30263#msg296311 -- nosy: +jkloth ___ Python tracker ___

[issue30618] readlink for pathlib paths

2018-07-14 Thread girts
Change by girts : -- keywords: +patch pull_requests: +7819 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Etienne Robillard
Le 2018-07-14 à 16:02, Chris Angelico a écrit : No, it isn't. Shunning would be killfiling you, which is apparently "more polite" than telling you how utterly and completely wrong you are. What I would like to do is ban you for endemic racism, honestly. By recommending and preferring

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Chris Angelico
On Sun, Jul 15, 2018 at 5:54 AM, Marko Rauhamaa wrote: > Chris Angelico : > >> On Sun, Jul 15, 2018 at 4:44 AM, Marko Rauhamaa wrote: >>> Having gone through a recent 2to3 effort that left my conscience >>> stained, I can only lament for the lost paradise which was Python >>> 2.7. There *was*

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Etienne Robillard
I'm really sad to hear that news! Python is the language which made me gain the most skills in modern software programming ever! I have not encountered a better programming language than Python for quickly becoming a mature developer! I just hope the Python software foundation will

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Terry Reedy
On 7/14/2018 2:44 PM, Marko Rauhamaa wrote: Having gone through a recent 2to3 effort that left my conscience stained, I can only lament for the lost paradise which was Python 2.7. I am curious, which release of 2.7 do you apply that to? The initial 2.7.0? Should we have stopped there? The

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Marko Rauhamaa
Chris Angelico : > On Sun, Jul 15, 2018 at 4:44 AM, Marko Rauhamaa wrote: >> Having gone through a recent 2to3 effort that left my conscience >> stained, I can only lament for the lost paradise which was Python >> 2.7. There *was* one real gain: MemoryBIO, but that's not enough to >> bring a

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Tim Daneliuk
On 07/14/2018 10:16 AM, Skip Montanaro wrote: >> Is it irrational to wonder whether projects should be looking to migrate to >> new languages? This kind of announcement makes me worry for the future. > > Umm, yeah. The language is stable, widely used packages are stable. > Guido actually has

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Chris Angelico
On Sun, Jul 15, 2018 at 4:44 AM, Marko Rauhamaa wrote: > Ian Kelly : > >> I think we all can name things we don't like about Python. For >> example, you're not likely to ever convince me that piggybacking >> coroutines onto generators was anything but a terrible hack that >> results in added

[issue34112] 3.7.0 build error with --enable-optimizations

2018-07-14 Thread Jayanth Koushik
Jayanth Koushik added the comment: Hi. Do you mean turning of `--enable-optimizations` or reducing GCC optimization level (O3 etc)? -- ___ Python tracker ___

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Marko Rauhamaa
Ian Kelly : > I think we all can name things we don't like about Python. For > example, you're not likely to ever convince me that piggybacking > coroutines onto generators was anything but a terrible hack that > results in added complexity and leaky abstraction now that the feature > has been

[issue20353] Hanging bug with multiprocessing + sqlite3 + tkinter (OS X 10.9 only)

2018-07-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: #33111 claims that importing tkinter is enough to hang multiprocessing on MacOS up through 3.6. -- components: +macOS nosy: +ronaldoussoren, terry.reedy ___ Python tracker

[issue34112] 3.7.0 build error with --enable-optimizations

2018-07-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: It's look you're using a fairly old toolchain. I wouldn't reccomend using fancy modern compiler optimizations with GCC 4. -- nosy: +benjamin.peterson ___ Python tracker

[issue33111] Merely importing tkinter breaks parallel code (multiprocessing, sharedmem)

2018-07-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: On MacOS, 3.7.0 is compiled for and the installer loads tcl/tk 8.6.8. The same is true for the 3.6.6 64-bit installer. Do tkinter and multiprocessing work together better with these installations? I want to consider using multiprocessing and pipes instead

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Jim Lee
On 07/14/18 02:09, Christian Gollwitzer wrote: Am 14.07.18 um 10:00 schrieb Marko Rauhamaa: Steven D'Aprano : Apparently Marko didn't notice the irony of suggesting that we display excessive commitment to GvR The object of the "cult" isn't GvR, it's Python itself. I agree with this

Re: Kindness

2018-07-14 Thread Terry Reedy
On 7/14/2018 3:35 AM, Steven D'Aprano wrote: On Sat, 14 Jul 2018 05:19:36 +0300, Mikhail V wrote: From Marko's check-list: [ ] The group has a polarized us-versus-them mentality Many Python programmers -- perhaps the majority -- know more than one programming language, enjoy some of them,

[issue34112] 3.7.0 build error with --enable-optimizations

2018-07-14 Thread Jayanth Koushik
New submission from Jayanth Koushik : I'm trying to build 3.7.0 locally (not as superuser) on a server. I am able to successfully build without `--enable-optimizations` enabled, but the build fails with it enabled. I have dependencies installed in custom locations as well, and this is my

[issue33668] Wrong behavior of help function on module

2018-07-14 Thread Dong-hee Na
Dong-hee Na added the comment: I've checked both cases are now working on my patch. -- ___ Python tracker ___ ___ Python-bugs-list

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Skip Montanaro
> Is it irrational to wonder whether projects should be looking to migrate to > new languages? This kind of announcement makes me worry for the future. Umm, yeah. The language is stable, widely used packages are stable. Guido actually has little involvement in the larger Python ecosystem. It's

[issue33668] Wrong behavior of help function on module

2018-07-14 Thread Dong-hee Na
Dong-hee Na added the comment: This script works well on Python2 but not on Python3. I've submitted a PR. Please take a look. -- nosy: +corona10 ___ Python tracker ___

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Ian Kelly
On Sat, Jul 14, 2018 at 3:12 AM Christian Gollwitzer wrote: > Typical conversation on this list / newsgroup: > > Q: "I could need a ?: operator just like in C. Is there something like > that in Python?" > > A1: "No. You don't want it. It makes the code confusing. You said, you > have a problem,

[issue33668] Wrong behavior of help function on module

2018-07-14 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +7818 stage: -> patch review ___ Python tracker ___ ___

FYI apparmor and lxc in Ubuntu

2018-07-14 Thread CFK
Hi all, this is just an FYI in case anyone else has the same issue I just ran into. If you use python 3.6 or 3.7 under Ubuntu with lxc, you may discover that your site-packages aren't being imported correctly within the container, but when you SSH in, everything works correctly. If that happens,

logging from time critical tasks -- QueueListener().stop() takes the whole CPU

2018-07-14 Thread Gerlando Falauto
Hi, I'm adding logging to a time critical task running resource-constrained hardware (Raspberry Pi). I read about the QueueListener/QueueHandler in: https://docs.python.org/3/howto/logging-cookbook.html#dealing-with-handlers-that-block and I'm trying to understand how it really works and

[issue29710] Incorrect representation caveat on bitwise operation docs

2018-07-14 Thread Nick Coghlan
Nick Coghlan added the comment: I think we have a fairly different notion of what clarity means here - I have no mental concept whatsoever of how to do two's complement arithmetic with an infinite number of sign bits (I learned most of what I know about two's complement by working with

[issue8525] Display exceptions' subclasses in help()

2018-07-14 Thread Nick Coghlan
Nick Coghlan added the comment: Reviewing the builtins in 3.7, I get the following results for builtin objects that have defined subclasses immediately after interpreter startup: = >>> for name, obj in vars(builtins).items(): ... if isinstance(obj, type) and name in str(obj):

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Abdur-Rahmaan Janhangeer
@ChrisAngelico py's dev is not mere whims here and there py does not assume, it waits for peps. peps are not flown direct dustbin, they are reviewed the qna gives the impression of hey python is weird and just brushes suggestions with the back of the hand or defends some parts without

[issue34111] python-config breaks when symlinked to another location

2018-07-14 Thread tobik
New submission from tobik : When symlinking python3.6-config to another location, it starts outputting bogus paths. It's convenient to symlink the system python3.6-config to somewhere else in PATH to make sure the build of an application with a hardcoded use of python3-config is using the

[issue24618] Invalid read in PyCode_New

2018-07-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +7817 stage: -> patch review ___ Python tracker ___ ___

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Bart
On 14/07/2018 10:09, Christian Gollwitzer wrote: Am 14.07.18 um 10:00 schrieb Marko Rauhamaa: Steven D'Aprano : Apparently Marko didn't notice the irony of suggesting that we display excessive commitment to GvR The object of the "cult" isn't GvR, it's Python itself. I agree with this

[issue30400] Race condition in shutil.copyfile(): source file replaced file during copy

2018-07-14 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > For example, os.stat() accepts both a filename (string) or a file descriptor > (integer). Interesting. I never realized that. Other functions involved in file copy are: os.lchmod os.chmod os.listxattr os.getxattr I checked and it appears they all

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Thomas Jollans
On 13/07/18 00:20, Roel Schroeven wrote: > Yes, you read that right: Guido van Rossum resigns as Python leader. > > See his mail: > (https://mail.python.org/pipermail/python-committers/2018-July/005664.html) Thanks for posting this here, Roel. Much appreciated. Guido has been fantastic, and he

Re: OT Why Germany? [was Re: Guido van Rossum resigns as Python leader]

2018-07-14 Thread Larry Martell
On Sat, Jul 14, 2018 at 3:11 AM Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info> wrote: > On Sat, 14 Jul 2018 07:41:43 +, Bob Martin wrote: > > > in 796624 20180714 064331 Gregory Ewing > > wrote: > >>Larry Martell wrote: > >>>

[issue34060] regrtest: log "CPU usage" on Windows

2018-07-14 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: There is an old ticket for this in psutil with some (possible useful) references in it: https://github.com/giampaolo/psutil/issues/604 -- ___ Python tracker

Re: Kindness

2018-07-14 Thread Bart
On 14/07/2018 07:04, Gregory Ewing wrote: Joe Pfeiffer wrote: He once went on for *weeks* about C's (yes, this was in c.l.c) failure to have what he regards as a "proper" for-loop. That could only have happened if there were people willing to keep replying to him about it for weeks. So, if it

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Chris Angelico
On Sat, Jul 14, 2018 at 7:47 PM, Abdur-Rahmaan Janhangeer wrote: > @ChristianGollwitzer > > Naa your type of qna is called pep and a pep is not rejected without a > valid reason > I have no idea what you mean here. Can you please clarify? ChrisA --

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Abdur-Rahmaan Janhangeer
@ChristianGollwitzer Naa your type of qna is called pep and a pep is not rejected without a valid reason Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ > > -- https://mail.python.org/mailman/listinfo/python-list

[issue34068] traceback.clear_frames(): Objects/typeobject.c:3086: _PyType_Lookup: Assertion `!PyErr_Occurred()' failed.

2018-07-14 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz versions: +Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Christian Gollwitzer
Am 14.07.18 um 10:00 schrieb Marko Rauhamaa: Steven D'Aprano : Apparently Marko didn't notice the irony of suggesting that we display excessive commitment to GvR The object of the "cult" isn't GvR, it's Python itself. I agree with this observation and it feels quite strange to me. I

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Marko Rauhamaa
Steven D'Aprano : > Apparently Marko didn't notice the irony of suggesting that we display > excessive commitment to GvR The object of the "cult" isn't GvR, it's Python itself. Marko -- https://mail.python.org/mailman/listinfo/python-list

[issue34060] regrtest: log "CPU usage" on Windows

2018-07-14 Thread Ammar Askar
Ammar Askar added the comment: Taking a shot at this, should take a day or so. -- ___ Python tracker ___ ___ Python-bugs-list

[issue34068] traceback.clear_frames(): Objects/typeobject.c:3086: _PyType_Lookup: Assertion `!PyErr_Occurred()' failed.

2018-07-14 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +7816 stage: -> patch review ___ Python tracker ___ ___

[issue34060] regrtest: log "CPU usage" on Windows

2018-07-14 Thread Ammar Askar
Ammar Askar added the comment: Annoyingly, it looks like Windows does not provide an API that gives an average value. There is a counter exposed called "System \ Processor Queue Length" which does what the equivalent of unix's load

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Jan van den Broek
On 2018-07-13, Larry Martell wrote: [Schnipp] > And while we're talking about the Dutch, why is the country called > Holland, but then also The Netherlands, but the people are Dutch? Be careful here, this is a somewhat delicate matter. Strictly speaking Holland is part of Nederland (the

Re: Kindness

2018-07-14 Thread Steven D'Aprano
On Sat, 14 Jul 2018 05:19:36 +0300, Mikhail V wrote: > From Marko's check-list: > [ ] The group has a polarized us-versus-them mentality Many Python programmers -- perhaps the majority -- know more than one programming language, enjoy some of them, and can appreciate their strengths and the

[issue34087] int(s), float(s) and others may cause segmentation fault

2018-07-14 Thread INADA Naoki
INADA Naoki added the comment: New changeset b2f8aa0c998d331ab2b4c701756a6427c0e91d48 by INADA Naoki in branch '3.6': bpo-34087: Backport tests for int/float/complex (GH-8274) https://github.com/python/cpython/commit/b2f8aa0c998d331ab2b4c701756a6427c0e91d48 --

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Jan van den Broek
On 2018-07-13, ElChino wrote: >> The important question we should ask ourselves: Do we have a replacement >> Dutch person to figure out the one obvious way to do things that may not >> be obvious at first? > > Skybuck?! Also Dutch. We try to deny that. It'll probably lead to ending every

[issue18295] Possible integer overflow in PyCode_New()

2018-07-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Since 3.7 the number of arguments no longer limited by 255 (see issue12844 and issue18896). -- versions: +Python 2.7, Python 3.6 -Python 3.4, Python 3.5 ___ Python tracker

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Marko Rauhamaa
Bob Martin : > in 796624 20180714 064331 Gregory Ewing wrote: >>Larry Martell wrote: >>> And while we're talking about the Dutch, why is the country called >>> Holland, but then also The Netherlands, but the people are Dutch? >> >>And Germany is called Deut

[issue34060] regrtest: log "CPU usage" on Windows

2018-07-14 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

OT Why Germany? [was Re: Guido van Rossum resigns as Python leader]

2018-07-14 Thread Steven D'Aprano
On Sat, 14 Jul 2018 07:41:43 +, Bob Martin wrote: > in 796624 20180714 064331 Gregory Ewing > wrote: >>Larry Martell wrote: >>> And while we're talking about the Dutch, why is the country called >>> Holland, but then also The Netherlands, but the people are Dut

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Bob Martin
in 796624 20180714 064331 Gregory Ewing wrote: >Larry Martell wrote: >> And while we're talking about the Dutch, why is the country called >> Holland, but then also The Netherlands, but the people are Dutch? > >And Germany is called Deutchland? The real question is why do E

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Gregory Ewing
Larry Martell wrote: And while we're talking about the Dutch, why is the country called Holland, but then also The Netherlands, but the people are Dutch? And Germany is called Deutchland? -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: Kindness

2018-07-14 Thread Joe Pfeiffer
I notice a correlation: the less people have interacted with Bart, the more tolerant they are. He once went on for *weeks* about C's (yes, this was in c.l.c) failure to have what he regards as a "proper" for-loop. -- https://mail.python.org/mailman/listinfo/python-list

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Gregory Ewing
Chris Angelico wrote: and eventually a 99.99% Dutch solution will be produced. Does this mean we need an is_probably_dutch() function? -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: Kindness

2018-07-14 Thread Gregory Ewing
Joe Pfeiffer wrote: He once went on for *weeks* about C's (yes, this was in c.l.c) failure to have what he regards as a "proper" for-loop. That could only have happened if there were people willing to keep replying to him about it for weeks. So, if it was a bad thing, you can't say it was