[issue32849] Fatal Python error: Py_Initialize: can't initialize sys standard streams

2018-02-18 Thread Rudolph Froger
Rudolph Froger added the comment: I've tried your quick tests a few times but couldn't reproduce it immediately. The problem is a bit hard to reproduce anyway because launching Python processes can go well for a long time (many days; launching many processes

[issue20160] broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

2018-02-18 Thread Éric Araujo
Change by Éric Araujo : -- pull_requests: -5529 ___ Python tracker ___ ___

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5530 ___ Python tracker ___

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-18 Thread Éric Araujo
Éric Araujo added the comment: Fixed in all branches. I messed up the ticket reference so some links are missing here. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Steven D'Aprano
On Mon, 19 Feb 2018 04:26:32 +0100, Anders Wegge Keller wrote: > På Mon, 19 Feb 2018 08:47:14 +1100 > Tim Delaney skrev: >> On 18 February 2018 at 22:55, Anders Wegge Keller >> wrote: > > >> > That list is not only weakly typed, but rather

[issue32682] test_zlib improve version parsing

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset b0fd935360e81b6bb4733deed69f51516c771f7a by Miss Islington (bot) in branch '3.6': bpo-32682: Improve libz version parsing in test_zilb (GH-5347)

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Steven D'Aprano
On Mon, 19 Feb 2018 02:14:26 +, bartc wrote: > On 19/02/2018 00:09, Steven D'Aprano wrote: > >> Sure, but only the most boring, uninteresting kinds of types can be so >> named. The point is that "sufficiently fine-grained types" can be >> arbitrarily complex. > > I don't think so. That's

[issue32682] test_zlib improve version parsing

2018-02-18 Thread pmpp
Change by pmpp : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Steven D'Aprano
On Sun, 18 Feb 2018 19:38:03 -0500, Dennis Lee Bieber wrote: > On Mon, 19 Feb 2018 00:09:40 + (UTC), Steven D'Aprano > declaimed the following: > > >>Or more realistically, suppose you want your type system to ensure that >>you don't lay off the wrong

[issue32682] test_zlib improve version parsing

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset 0cd35817e8278588f04dc574f6eca53273799f25 by Miss Islington (bot) in branch '3.7': bpo-32682: Improve libz version parsing in test_zilb (GH-5347)

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-18 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset eeb33651bfadcceea68bd27bb4c4d8de2e690656 by Mariatta (Éric Araujo) in branch '2.7': [2.7] bpo-21060 Improve error message for "setup.py upload" without dist files (GH-5726).

[issue32682] test_zlib improve version parsing

2018-02-18 Thread Zachary Ware
Change by Zachary Ware : -- stage: patch review -> commit review versions: +Python 3.6, Python 3.8 ___ Python tracker ___

[issue20160] broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5529 ___ Python tracker ___

[issue32682] test_zlib improve version parsing

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5528 ___ Python tracker ___

[issue32682] test_zlib improve version parsing

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5527 ___ Python tracker ___

[issue32682] test_zlib improve version parsing

2018-02-18 Thread Zachary Ware
Zachary Ware added the comment: New changeset 4c7108a77144493d0aa6fc0105b67d3797e143f5 by Zachary Ware (pmp-p) in branch 'master': bpo-32682: Improve libz version parsing in test_zilb (GH-5347)

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Anders Wegge Keller
På Mon, 19 Feb 2018 08:47:14 +1100 Tim Delaney skrev: > On 18 February 2018 at 22:55, Anders Wegge Keller wrote: > > That list is not only weakly typed, but rather untyped. There are no > > safeguards in the language, that enforce that all elements

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Chris Angelico
On Mon, Feb 19, 2018 at 1:14 PM, bartc wrote: > On 19/02/2018 00:09, Steven D'Aprano wrote: > >> Sure, but only the most boring, uninteresting kinds of types can be so >> named. The point is that "sufficiently fine-grained types" can be >> arbitrarily complex. > > > I don't think

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread bartc
On 19/02/2018 00:09, Steven D'Aprano wrote: Sure, but only the most boring, uninteresting kinds of types can be so named. The point is that "sufficiently fine-grained types" can be arbitrarily complex. I don't think so. If a human finds it hard to give it a meaningful name, no algorithm

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Ben Finney
Richard Damon writes: > Doesn't sound like the sort of thing that you should expect a Type > Checker to find. Yes, exactly. This point is evidently ignored by people who moan that Python, though it has strong types, is prone to bugs because it has dynamic binding. As

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Richard Damon
On 2/18/18 8:16 PM, Ben Finney wrote: Dennis Lee Bieber writes: On Mon, 19 Feb 2018 00:09:40 + (UTC), Steven D'Aprano declaimed the following: Or more realistically, suppose you want your type system to ensure that you don't

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5526 ___ Python tracker ___

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-18 Thread Éric Araujo
Change by Éric Araujo : -- pull_requests: +5525 ___ Python tracker ___ ___

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Ben Finney
Dennis Lee Bieber writes: > On Mon, 19 Feb 2018 00:09:40 + (UTC), Steven D'Aprano > declaimed the following: > > >Or more realistically, suppose you want your type system to ensure > >that you don't lay off the wrong workers: > >

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the patch! -- ___ Python tracker ___ ___

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread Éric Araujo
Change by Éric Araujo : -- assignee: docs@python -> eric.araujo resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset 19b7f6694af56a1c9fdc0f1f9fc09ae48439ab4c by Miss Islington (bot) in branch '3.7': bpo-31972: Improve docstrings for pathlib classes (GH-5310)

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset 5c81ed49412e41a671283cdb4c297dab52f5b7c5 by Miss Islington (bot) in branch '3.6': bpo-31972: Improve docstrings for pathlib classes (GH-5310)

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Steven D'Aprano
On Sun, 18 Feb 2018 08:02:10 +1100, Chris Angelico wrote: [...] >> The usual response to that is to make ever-finer-grained types, until >> the type-system can prove the code is correct. >> >> integers >> positive integers >> positive integers greater than 10 >> positive integers greater than 10

[issue20928] xml.etree.ElementInclude does not include nested xincludes

2018-02-18 Thread Stefan Behnel
Stefan Behnel added the comment: > The check may miss infinite recursions if the hrefs happen to be written in > non-matching but equivalent forms. Ex: relative versus absolute paths. I thought about that, too, but it's not a real problem. There are only a few different

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5524 ___ Python tracker ___

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5523 ___ Python tracker ___

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread Éric Araujo
Éric Araujo added the comment: New changeset dfa015cf77a148d229ddc0a5b063562c9f9664f2 by Éric Araujo (chason) in branch 'master': bpo-31972: Improve docstrings for pathlib classes (#5310) https://github.com/python/cpython/commit/dfa015cf77a148d229ddc0a5b063562c9f9664f2

[issue31333] Implement ABCMeta in C

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset 034a945fa723bf68ca4127bb43bfa5c5be899f17 by Miss Islington (bot) in branch '3.7': bpo-31333: Fix typo in whatsnew/3.7.rst (GH-5744)

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your PR Alexey. -- ___ Python tracker ___

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Tim Delaney
On 18 February 2018 at 22:55, Anders Wegge Keller wrote: > På Sat, 17 Feb 2018 15:05:34 +1100 > Ben Finney skrev: > > boB Stepp writes: > > > > He blithely conflates “weakly typed” (Python objects are not weakly, but > > very

[issue31333] Implement ABCMeta in C

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5522 ___ Python tracker ___

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset 3fb813d2c67fe28cc98ae51e53a6890294b6e423 by Ivan Levkivskyi (Terry Jan Reedy) in branch 'master': bpo-31333: Fix typo in whatsnew/3.7.rst (GH-5744)

[issue32871] Interrupt .communicate() on SIGTERM/INT

2018-02-18 Thread Victor Porton
New submission from Victor Porton : At https://docs.python.org/3/library/subprocess.html there is said nothing about what happens if our Python program terminates (by SIGTERM or SIGINT) while waiting for .communicate(). I assume to do something in this situation is just

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR fixes typo in What's new: rewrittent -- nosy: +terry.reedy ___ Python tracker ___

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +5521 ___ Python tracker ___ ___

[issue20928] xml.etree.ElementInclude does not include nested xincludes

2018-02-18 Thread James Bailey
James Bailey added the comment: Agreed with ruffsl's concerns about the overly aggressive detection of infinite recursion. I also wonder if the hrefs should be normalized or canonized for the check? The check may miss infinite recursions if the hrefs happen to be

Re: Gmane seems to be gone

2018-02-18 Thread Mark Lawrence
On 18/02/18 18:03, Grant Edwards wrote: On 2018-02-18, Dennis Lee Bieber wrote: On Sun, 18 Feb 2018 17:26:54 + (UTC), Grant Edwards declaimed the following: It was Yomura who picked up the archive and continued the gateway service a

Re: Gmane seems to be gone

2018-02-18 Thread Grant Edwards
On 2018-02-18, Michelle Konzack wrote: > Am 2018-02-18 hackte Grant Edwards in die Tasten: > >> Does anybody have any idea what it would take to set up a private NNTP >> server that served articles from a dozen or so IMAP mailboxes? > > Where is the problem? > > I

Re: Gmane seems to be gone

2018-02-18 Thread breamoreboy
On Sunday, February 18, 2018 at 9:16:26 AM UTC, Chris Green wrote: > Grant Edwards wrote: > > I've been dreading this moment for a couple years: it looks like > > gmane.org is gone. The original operator/maintainer gave up a couple > > years ago and pulled the plug.

Re: Fw: [issue22167] iglob() has misleading documentation (does indeed store names internally)

2018-02-18 Thread Paul Moore
You're shown as nosy on that issue: 2014-08-08 01:24:52 Gumnos set nosy: + Gumnos Paul On 17 February 2018 at 13:47, Tim Chase wrote: > Has anybody else been getting unexpected/unsolicited emails from the > Python bug-tracker? > > I'm not associated with (didn't

solve_ivp problem (scipy 1.0.0)

2018-02-18 Thread A.Brozi
Hello In new "scipy" (1.0.0) I've found procedure "solve_ivp", which makes it possible to use "events" in order to terminate the ode solution when some condition is satisfied. The precise moment of termination (the value of independent variable) is to be found in "t_events", but I cannot find

Re: Gmane seems to be gone

2018-02-18 Thread Marko Rauhamaa
Grant Edwards : > The problem is that I want to use an NNTP clinet, not an IMAP client. > I find NNTP clients are much better suited for following high-volume > lists. Well, GNUS makes *all* email look like NNTP. For example, email messages expire after grace period by

[issue20928] xml.etree.ElementInclude does not include nested xincludes

2018-02-18 Thread ruffsl
ruffsl added the comment: Hello @scoder, Thanks for looking into this. In addition to what I mentioned with lxml's use of the parent xml file's respect dirname when attempting to open the include element's href, do you think it would be possible to (optionally or by

Re: Gmane seems to be gone

2018-02-18 Thread Chris Green
Grant Edwards wrote: > On 2018-02-18, Chris Green wrote: > > Grant Edwards wrote: > >> I've been dreading this moment for a couple years: it looks like > >> gmane.org is gone. The original operator/maintainer gave up a couple >

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset 65a13c19e86488119cc9bc192f5a0b846d90940f by Miss Islington (bot) in branch '3.6': bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (GH-5739)

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Guido van Rossum
Guido van Rossum added the comment: Congratulations all on this milestone! And thanks reviewers for your thorough work. -- ___ Python tracker

Fwd: Re: Python on Android?

2018-02-18 Thread Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ -- Forwarded message -- From: "Abdur-Rahmaan Janhangeer" Date: 18 Feb 2018 14:17 Subject: Re: Python on Android? To: "Chris Angelico" Cc: mailed the developer sometimes back, told

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset ca82e3c0ec4d0d5ce4e1ffec98cc341cb5913446 by Miss Islington (bot) in branch '3.7': bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (GH-5739)

[issue25988] collections.abc.Indexable

2018-02-18 Thread Ned Deily
Ned Deily added the comment: New changeset 2e84e47626c6eafacc9f011cd9fccc8bf1c8508e by Ned Deily in branch '3.7': bpo-25988: add NEWS entry for 3.7.0b2 (#5743) https://github.com/python/cpython/commit/2e84e47626c6eafacc9f011cd9fccc8bf1c8508e --

[issue32870] Documentation typo (2.x only) for deque.remove

2018-02-18 Thread Andrew Scheller
Change by Andrew Scheller : -- type: -> enhancement ___ Python tracker ___ ___

[issue32870] Documentation typo (2.x only) for deque.remove

2018-02-18 Thread Andrew Scheller
Andrew Scheller added the comment: Looks like https://bugs.python.org/issue24269 is where this got fixed for the 3.x documentation ;-) -- ___ Python tracker

Re: Python on Android?

2018-02-18 Thread Johannes Findeisen
On Sun, 18 Feb 2018 20:29:02 +0300 Kirill Balunov wrote: > To mention another way to use Python on Android is Termux project > . From their site - Termux is an *Android terminal > emulator and Linux environment app* that works directly with no rooting or > setup required and

Re: Gmane seems to be gone

2018-02-18 Thread Grant Edwards
On 2018-02-18, Dennis Lee Bieber wrote: > On Sun, 18 Feb 2018 17:26:54 + (UTC), Grant Edwards > declaimed the following: > >> >>It was Yomura who picked up the archive and continued the gateway >>service a couple years ago, and they just renewed

[issue25988] collections.abc.Indexable

2018-02-18 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +5520 ___ Python tracker ___ ___ Python-bugs-list

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5519 ___ Python tracker ___

[issue32870] Documentation typo (2.x only) for deque.remove

2018-02-18 Thread Andrew Scheller
New submission from Andrew Scheller : https://docs.python.org/2/library/collections.html#collections.deque.remove says "Removed the first occurrence of value." I believe the "Removed" should be changed to just "Remove" ? (this has already been fixed in the 3.x

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5518 ___ Python tracker ___

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b3b4a9d3001f1fc7df8efcccdce081de54fa5eab by Serhiy Storchaka (Alexey Izbyshev) in branch 'master': bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (#5739)

Re: Python on Android?

2018-02-18 Thread MRAB
On 2018-02-18 09:57, Chris Angelico wrote: Does anyone have experience with running Python scripts on Android phones? I have a brother (honestly! I'm not actually using a phone myself!) who's trying to run one of my scripts in QPython, which claims to be version 3.2.2. I think that really truly

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread MRAB
On 2018-02-18 15:44, Michael Torrie wrote: On 02/18/2018 05:45 AM, Anders Wegge Keller wrote: På Sun, 18 Feb 2018 07:34:03 -0500 Richard Damon skrev: Python is much stronger typed than PHP, because in PHP you can do things like 1 + '2' and get 3, as string values

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread MRAB
On 2018-02-18 11:55, Anders Wegge Keller wrote: På Sat, 17 Feb 2018 15:05:34 +1100 Ben Finney skrev: boB Stepp writes: He blithely conflates “weakly typed” (Python objects are not weakly, but very strongly typed) Python is more

[issue25988] collections.abc.Indexable

2018-02-18 Thread Ned Deily
Ned Deily added the comment: Thanks, Tim, for noticing that and thanks, Ivan, for taking care of it. I should have cherrypicked this into 3.7.0b1. -- ___ Python tracker

[issue25988] collections.abc.Indexable

2018-02-18 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset 0442de5ad7835814d60f46c22a22942abb101aef by Ivan Levkivskyi in branch '3.7': bpo-25988: Emit a warning when use or import ABCs from 'collections'. (GH-5734)

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset 38928992885d8a04b7188abdba3b04f350bde32d by Ivan Levkivskyi in branch '3.7': bpo-31333: Re-implement ABCMeta in C (GH-5733) https://github.com/python/cpython/commit/38928992885d8a04b7188abdba3b04f350bde32d --

Re: Gmane seems to be gone

2018-02-18 Thread Grant Edwards
On 2018-02-18, Grant Edwards wrote: > On 2018-02-18, Chris Green wrote: >> Grant Edwards wrote: >>> I've been dreading this moment for a couple years: it looks like >>> gmane.org is gone. The original operator/maintainer gave up

Re: Python on Android?

2018-02-18 Thread Kirill Balunov
To mention another way to use Python on Android is Termux project . From their site - Termux is an *Android terminal emulator and Linux environment app* that works directly with no rooting or setup required and Python is a side-effect. There are still some restrictions but in

Re: Gmane seems to be gone

2018-02-18 Thread Grant Edwards
On 2018-02-18, Chris Green wrote: > Grant Edwards wrote: >> I've been dreading this moment for a couple years: it looks like >> gmane.org is gone. The original operator/maintainer gave up a couple >> years ago and pulled the plug. Somebody else took over

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- keywords: +patch pull_requests: +5517 stage: -> patch review ___ Python tracker ___

Re: Python on Android?

2018-02-18 Thread Johannes Findeisen
On Sun, 18 Feb 2018 20:57:02 +1100 Chris Angelico wrote: > Does anyone have experience with running Python scripts on Android > phones? I have a brother (honestly! I'm not actually using a phone > myself!) who's trying to run one of my scripts in QPython, which > claims to be version 3.2.2. I

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Alexey Izbyshev
New submission from Alexey Izbyshev : MultiByteToWideChar expects the destination buffer size to be given in wide characters, not bytes. This is currently not a real issue since _Py_fopen_obj is only used internally with mode being a short constant string in all call sites

[issue32540] venv docs - doesn't match behavior

2018-02-18 Thread TROUVERIE Joachim
Change by TROUVERIE Joachim : -- keywords: +patch pull_requests: +5516 stage: needs patch -> patch review ___ Python tracker

[issue32868] python 3 docs' iterator example has python 2 code

2018-02-18 Thread robotwizard
robotwizard added the comment: I'm so sorry... I tried doing it.next() instead of next(it). I'm sincerely sorry. I promise not to be so frivolous about opening an issue on the bug tracker next time. -- resolution: -> not a bug stage: -> resolved status:

[issue32868] python 3 docs' iterator example has python 2 code

2018-02-18 Thread robotwizard
New submission from robotwizard : Please note this is my first issue. The documentation at https://docs.python.org/3/tutorial/classes.html#iterators on the second code block gives the example of iterating a string by creating an iterator out of it. However I tried

Re: Python 2 to 3 Conversion

2018-02-18 Thread Wildman via Python-list
On Sun, 18 Feb 2018 20:51:18 +1100, Chris Angelico wrote: > On Sun, Feb 18, 2018 at 4:35 AM, Wildman via Python-list > wrote: >> Thanks to Chris and Ben. Your suggestions were slightly >> different but both worked equally well, although I don't >> understand how that can

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Michael Torrie
On 02/18/2018 05:45 AM, Anders Wegge Keller wrote: > På Sun, 18 Feb 2018 07:34:03 -0500 > Richard Damon skrev: > >> Python is much stronger typed than PHP, because in PHP you can do things >> like 1 + '2' and get 3, as string values will naturally convert >>

[issue32540] venv docs - doesn't match behavior

2018-02-18 Thread Jason R. Coombs via Python-bugs-list
Jason R. Coombs added the comment: @jtrouverie: Yes, please do. Thanks! -- ___ Python tracker ___

[issue32540] venv docs - doesn't match behavior

2018-02-18 Thread Joachim Trouverie
Joachim Trouverie added the comment: Is there anybody working on this issue or can I make a PR ? -- nosy: +jtrouverie ___ Python tracker

[issue25988] collections.abc.Indexable

2018-02-18 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- pull_requests: +5515 ___ Python tracker ___ ___

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- pull_requests: +5514 ___ Python tracker ___ ___

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Abdur-Rahmaan Janhangeer
have the impression he is not a python coder Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ On 17 Feb 2018 07:22, "boB Stepp" wrote: > This article is written by Nathan Murthy, a staff software engineer at > Tesla. The article is found at: >

[issue32162] typing.Generic breaks __init_subclass__

2018-02-18 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: FWIW, this is fixed in 3.7 by PEP 560, providing a separate fix for 3.6 is not easy, and you have a good workaround, so I propose to close this issue. -- resolution: -> fixed stage: -> resolved status: open -> closed

[issue28339] "TypeError: Parameterized generics cannot be used with class or instance checks" in test_functools after importing typing module

2018-02-18 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: FWIW, this is fixed in 3.7 by PEP 560. I don't think we will be able to get rid of `sys._getframe` workaround on 3.6, so I propose to just close this. -- dependencies: -Provide a way to check for *real* typing.Union instances

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Anders Wegge Keller
På Sun, 18 Feb 2018 07:34:03 -0500 Richard Damon skrev: > Python is much stronger typed than PHP, because in PHP you can do things > like 1 + '2' and get 3, as string values will naturally convert > themselves to numbers, Python won't do this. Yes Python will freely

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Richard Damon
On 2/18/18 6:55 AM, Anders Wegge Keller wrote: På Sat, 17 Feb 2018 15:05:34 +1100 Ben Finney skrev: boB Stepp writes: He blithely conflates “weakly typed” (Python objects are not weakly, but very strongly typed) Python is more strongly

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset 03e3c340a0156891a036d6dbdb9e348108826255 by Ivan Levkivskyi in branch 'master': bpo-31333: Re-implement ABCMeta in C (#5273) https://github.com/python/cpython/commit/03e3c340a0156891a036d6dbdb9e348108826255 --

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Ned Batchelder
On 2/18/18 6:57 AM, bartc wrote: On 18/02/2018 11:45, Ned Batchelder wrote: Let's not go down this path yet again. We've heard it all before. Bart: stop it.  Everyone else: stop it. :) Well, this was a rare instance of someone admitting that a simple and smaller codebase has benefits in

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Anders Wegge Keller
På Sat, 17 Feb 2018 15:05:34 +1100 Ben Finney skrev: > boB Stepp writes: > He blithely conflates “weakly typed” (Python objects are not weakly, but > very strongly typed) Python is more strongly typed than PHP, but that doesn't really say

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread bartc
On 18/02/2018 11:45, Ned Batchelder wrote: Let's not go down this path yet again.  We've heard it all before. Bart: stop it.  Everyone else: stop it. :) Well, this was a rare instance of someone admitting that a simple and smaller codebase has benefits in being able to detect problems such

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread Ned Batchelder
On 2/18/18 6:33 AM, bartc wrote: On 18/02/2018 01:39, Chris Angelico wrote: On Sun, Feb 18, 2018 at 12:31 PM, bartc wrote: On 18/02/2018 00:45, Chris Angelico wrote: On Sun, Feb 18, 2018 at 11:13 AM, bartc wrote: It's text, but it is an intermediate or

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-18 Thread bartc
On 18/02/2018 01:39, Chris Angelico wrote: On Sun, Feb 18, 2018 at 12:31 PM, bartc wrote: On 18/02/2018 00:45, Chris Angelico wrote: On Sun, Feb 18, 2018 at 11:13 AM, bartc wrote: It's text, but it is an intermediate or "object" file. It's not doing

Re: Gmane seems to be gone

2018-02-18 Thread Chris Green
Marko Rauhamaa wrote: > Grant Edwards : > > > Does anybody have any idea what it would take to set up a private NNTP > > server that served articles from a dozen or so IMAP mailboxes? > > > > How hard would it be to write something like that in Python?

[issue28956] return list of modes for a multimodal distribution instead of raising a StatisticsError

2018-02-18 Thread Srikanth Anantharam
Srikanth Anantharam added the comment: Please review the new PR with tests. I'll update the documentation if the PR is acceptable. -- title: return minimum of modes for a multimodal distribution instead of raising a StatisticsError -> return list of modes for a

  1   2   >