Re: Match.groupdict: Meaning of default argument?

2022-05-03 Thread Loris Bennett
Julio Di Egidio writes: > On Friday, 29 April 2022 at 09:50:08 UTC+2, Loris Bennett wrote: >> Hi, >> >> If I do >> >> import re >> pattern = >> re.compile(r'(?P\d*)(-?)(?P\d\d):(?P\d\d):(?P\d\d)') >> s = '104-02:47:06' >> match = pattern.search(s) >> match_dict = match.groupdict('0') >>

Re: Match.groupdict: Meaning of default argument?

2022-05-03 Thread Loris Bennett
h. >> >> In your case, it /does/ participate in the match, >> \d* matching the empty string. >> >> Try (?P\d+)?. > > Ah, thanks. I was misunderstanding the meaning of 'participate'. What I actually need is ((?P\d+)(-?))?(?P\d\d):(?P\d\d):(?P\d\d) so t

Re: Match.groupdict: Meaning of default argument?

2022-05-03 Thread Loris Bennett
> \d* matching the empty string. > > Try (?P\d+)?. Ah, thanks. I was misunderstanding the meaning of 'participate'. Cheers, Loris -- This signature is currently under construction. -- https://mail.python.org/mailman/listinfo/python-list

Match.groupdict: Meaning of default argument?

2022-04-29 Thread Loris Bennett
Hi, If I do import re pattern = re.compile(r'(?P\d*)(-?)(?P\d\d):(?P\d\d):(?P\d\d)') s = '104-02:47:06' match = pattern.search(s) match_dict = match.groupdict('0') I get match_dict {'days': '104', 'hours': '02', 'minutes': '47', 'seconds': '06'} However, if the string has no

[issue47134] Document the meaning of the number in OverflowError

2022-03-26 Thread Eryk Sun
Eryk Sun added the comment: The error code for `1e+300 ** 2` is ERANGE, from calling libm pow(). Since pow() returns a double, there's no way to indicate an error in the return value. Instead, C errno is set to 0 beforehand and checked for a non-zero error value after the call. If the error

[issue47134] Document the meaning of the number in OverflowError

2022-03-26 Thread Steven D'Aprano
New submission from Steven D'Aprano : OverflowError sometimes (but not always) includes some sort of numeric code: >>> 1e+300 ** 2 Traceback (most recent call last): File "", line 1, in OverflowError: (34, 'Numerical result out of range') but the meaning of the 34 is not

[issue36557] [doc] Clarify the meaning of /uninstall in windows cli

2022-02-22 Thread Irit Katriel
Irit Katriel added the comment: Thank you @slateny. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36557] [doc] Clarify the meaning of /uninstall in windows cli

2022-02-22 Thread miss-islington
miss-islington added the comment: New changeset aa9a5c4d72e083f8b4c635d79f7450dbe8319469 by Miss Islington (bot) in branch '3.9': bpo-36557: Updated wording for using/windows (GH-31457) https://github.com/python/cpython/commit/aa9a5c4d72e083f8b4c635d79f7450dbe8319469 --

[issue36557] [doc] Clarify the meaning of /uninstall in windows cli

2022-02-22 Thread miss-islington
miss-islington added the comment: New changeset d04fb9213a547def5604fbc60b0554c176d4c998 by Miss Islington (bot) in branch '3.10': [3.10] bpo-36557: Updated wording for using/windows (GH-31457) (GH-31504) https://github.com/python/cpython/commit/d04fb9213a547def5604fbc60b0554c176d4c998

[issue36557] [doc] Clarify the meaning of /uninstall in windows cli

2022-02-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +29632 pull_request: https://github.com/python/cpython/pull/31505 ___ Python tracker ___

[issue36557] [doc] Clarify the meaning of /uninstall in windows cli

2022-02-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +29631 pull_request: https://github.com/python/cpython/pull/31504 ___ Python tracker

[issue36557] [doc] Clarify the meaning of /uninstall in windows cli

2022-02-22 Thread Irit Katriel
Irit Katriel added the comment: New changeset 9a0d941df4c3e1efb8b3017cd2c2de17e582fd5c by slateny in branch 'main': bpo-36557: Updated wording for using/windows (GH-31457) https://github.com/python/cpython/commit/9a0d941df4c3e1efb8b3017cd2c2de17e582fd5c --

[issue36557] [doc] Clarify the meaning of /uninstall in windows cli

2022-02-20 Thread Stanley
Change by Stanley : -- keywords: +patch nosy: +slateny nosy_count: 7.0 -> 8.0 pull_requests: +29586 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31457 ___ Python tracker

[issue36557] [doc] Clarify the meaning of /uninstall in windows cli

2022-01-12 Thread Irit Katriel
Irit Katriel added the comment: This is referring to Doc/using/windows.rst -- assignee: -> docs@python components: +Documentation keywords: +easy nosy: +docs@python, iritkatriel title: Python (Launcher)3.7.3 CMDLine install/uninstall -> [doc] Clarify the meaning of /uni

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-10-21 Thread Ethan Furman
Change by Ethan Furman : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-10-21 Thread Ethan Furman
Ethan Furman added the comment: New changeset e628700dbf2c3376502cbb5a9bff2d58d1102e16 by Ethan Furman in branch '3.9': [3.9] bpo-44174: [Enum] add name-mangling reference (GH-29128) https://github.com/python/cpython/commit/e628700dbf2c3376502cbb5a9bff2d58d1102e16 --

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-10-21 Thread Ethan Furman
Change by Ethan Furman : -- pull_requests: +27404 pull_request: https://github.com/python/cpython/pull/29128 ___ Python tracker ___

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-10-21 Thread Ethan Furman
Ethan Furman added the comment: New changeset 828722aca4ccba893f6b2e8c1d41fd74fd6e208d by Ethan Furman in branch '3.10': [3.10] bpo-44174: [Enum] add reference to name mangling (GH-29117) https://github.com/python/cpython/commit/828722aca4ccba893f6b2e8c1d41fd74fd6e208d --

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-10-20 Thread Ethan Furman
Change by Ethan Furman : -- pull_requests: +27393 pull_request: https://github.com/python/cpython/pull/29117 ___ Python tracker ___

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-10-20 Thread Ethan Furman
Ethan Furman added the comment: New changeset 7c4d96103c4e16161e9aed9a584c9857d0674099 by Ethan Furman in branch 'main': bpo-44174: [Enum] add reference to name mangling (GH-29116) https://github.com/python/cpython/commit/7c4d96103c4e16161e9aed9a584c9857d0674099 --

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-10-20 Thread Ethan Furman
Change by Ethan Furman : -- keywords: +patch pull_requests: +27392 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/29116 ___ Python tracker

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-10-20 Thread Ethan Furman
Ethan Furman added the comment: It has been moved to the tutorial (links are at the top of the Enum page). -- ___ Python tracker ___

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-10-20 Thread Joseph Riddle
Joseph Riddle added the comment: _Private__names seems to no longer exist in the Python 3.11 documentation. https://docs.python.org/3.11/library/enum.html#private-names It appears to have been removed in this PR https://github.com/python/cpython/pull/23748/files Should this issue be

[issue20389] clarify meaning of xbar and mu in pvariance/variance of statistics module

2021-08-20 Thread Irit Katriel
Irit Katriel added the comment: I've closed issue36099 as a duplicate of this. -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue20389] clarify meaning of xbar and mu in pvariance/variance of statistics module

2021-08-20 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4 ___ Python tracker ___ ___

[issue44316] Support preserving path meaning in os.path.normpath() and abspath()

2021-06-13 Thread Eryk Sun
Eryk Sun added the comment: I think separate keep_curdir and keep_pardir options is over-complicating the signature. Also, I'd prefer to remove a dot component if it's not the first component since there's no reason to keep it. If you plan to use normpath() in pathlib, then the case for

[issue44316] Support preserving path meaning in os.path.normpath() and abspath()

2021-06-12 Thread Barney Gale
Barney Gale added the comment: I think I agree How would you feel about two new arguments? Following `os.curdir` and `os.pardir` names: def normpath(path, *, keep_curdir=False, keep_pardir=False) ... -- ___ Python tracker

[issue44316] Support preserving path meaning in os.path.normpath() and abspath()

2021-06-12 Thread Eryk Sun
Eryk Sun added the comment: > single dots are collapsed For pathlib, I've previously discussed a desire to retain a leading dot component from the initializing path. This could be implemented in strict mode for normpath(). A leading dot is significant in the path of an executable in a

[issue44316] Support preserving path meaning in os.path.normpath() and abspath()

2021-06-12 Thread Barney Gale
Barney Gale added the comment: For this bug specifically, the pathlib docs describe the desirable behaviour: Spurious slashes and single dots are collapsed, but double dots ('..') are not, since this would change the meaning of a path in the face of symbolic links: >>> PurePath(

[issue44316] Support preserving path meaning in os.path.normpath() and abspath()

2021-06-12 Thread Barney Gale
Barney Gale added the comment: Thanks Terry, I've added a topic here: https://discuss.python.org/t/pathlib-and-os-path-code-duplication-and-feature-parity/9239 The bit about `normpath()` is towards the middle of the post. -- ___ Python tracker

[issue44316] Support preserving path meaning in os.path.normpath() and abspath()

2021-06-12 Thread Barney Gale
Change by Barney Gale : -- keywords: +patch pull_requests: +25279 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26694 ___ Python tracker ___

[issue44316] Support preserving path meaning in os.path.normpath() and abspath()

2021-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think you should propose this for discussion on python-ideas list to try for more support. If you can, say more about why reconsider. -- nosy: +terry.reedy versions: +Python 3.11 ___ Python tracker

[issue44316] Support preserving path meaning in os.path.normpath() and abspath()

2021-06-04 Thread Barney Gale
New submission from Barney Gale : >>> os.path.normpath('a/./b/../c//.') 'a/c' >>> pathlib.Path('a/./b/../c//.') PosixPath('a/b/../c') pathlib takes care not to change the meaning of the path when normalising. That means preserving '..' entries, as these can't be simplified

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-05-19 Thread Ethan Furman
Ethan Furman added the comment: Looks good. Patches welcome. :-) -- nosy: +ethan.furman ___ Python tracker ___ ___

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-05-19 Thread Ken Jin
Ken Jin added the comment: I think linking to this part of the docs may help https://docs.python.org/3/reference/expressions.html#atom-identifiers There's also already a label to reference to, so the sentence could start with :ref:`Private names `. -- keywords: +easy, newcomer

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-05-18 Thread Gregory P. Smith
ation messages: 393919 nosy: docs@python, gregory.p.smith priority: normal severity: normal stage: needs patch status: open title: Unclear meaning of _Private__names in enum docs. versions: Python 3.10, Python 3.11, Python 3.9 ___ Python trac

Re: What's the meaning the "backlog" in the socket.listen(backlog) is?

2021-02-17 Thread Karen Shaeffer via Python-list
t; maximum number of queued connections" trying to connect the server. But, no >>> error!! Even 4 clients can run normally without problem. >>> >>> Am I misunderstanding the meaning of this argument? >>> >> >> https://docs.python.org/3/libra

Re: What's the meaning the "backlog" in the socket.listen(backlog) is?

2021-02-17 Thread Karen Shaeffer via Python-list
ents can run normally without problem. >> >> Am I misunderstanding the meaning of this argument? >> > > https://docs.python.org/3/library/socket.html#socket.socket.listen: > Enable a server to accept connections. If backlog is specified ... it > specifies the number of una

Re: What's the meaning the "backlog" in the socket.listen(backlog) is?

2021-02-16 Thread Jach Feng
cal PC. It works fine except the listen() method. > > > > I set listen(2) and expect to see "error" when more clients than "the > > maximum number of queued connections" trying to connect the > > server. But, no error!! Even 4 clients can run normally

Re: What's the meaning the "backlog" in the socket.listen(backlog) is?

2021-02-16 Thread Kushal Kumaran
t to see "error" when more clients than "the > maximum number of queued connections" trying to connect the > server. But, no error!! Even 4 clients can run normally without > problem. > > Am I misunderstanding the meaning of this argument? > The argument t

Re: What's the meaning the "backlog" in the socket.listen(backlog) is?

2021-02-16 Thread Jason Friedman
> > I set listen(2) and expect to see "error" when more clients than "the > maximum number of queued connections" trying to connect the server. But, no > error!! Even 4 clients can run normally without problem. > > Am I misunderstanding the meaning of this

What's the meaning the "backlog" in the socket.listen(backlog) is?

2021-02-16 Thread Jach Feng
umber of queued connections" trying to connect the server. But, no error!! Even 4 clients can run normally without problem. Am I misunderstanding the meaning of this argument? --Jach -- https://mail.python.org/mailman/listinfo/python-list

[issue43026] Missing words renders meaning unclear in fcntl.html

2021-01-25 Thread Ezra
Change by Ezra : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43026] Missing words renders meaning unclear in fcntl.html

2021-01-25 Thread Ezra
New submission from Ezra : At https://docs.python.org/3/library/fcntl.html the docs read: the fcntl module exposes the F_OFD_GETLK, F_OFD_SETLK and F_OFD_SETLKW constants, which working with open file description locks. The exact intended meaning is unclear, perhaps: the fcntl module

[issue38197] Meaning of tracebacklimit differs between sys.tracebacklimit and traceback module

2020-11-04 Thread Carl Friedrich Bolz-Tereick
Carl Friedrich Bolz-Tereick added the comment: It's still inconsistent between the two ways to get a traceback, and the inconsistency is not documented. -- ___ Python tracker

[issue38197] Meaning of tracebacklimit differs between sys.tracebacklimit and traceback module

2020-11-04 Thread Irit Katriel
e documentation for traceback mentions the possibility of using negative limits and their meaning: Print up to limit stack trace entries from traceback object tb (starting from the caller’s frame) if limit is positive. Otherwise, print the last abs(limit) entries. https://docs.python.o

[issue41822] Document the meaning of values for sys.float_info.rounds

2020-10-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: Here's a link: http://c0x.coding-guidelines.com/5.2.4.2.2.html -- ___ Python tracker ___ ___

[issue41822] Document the meaning of values for sys.float_info.rounds

2020-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, seems it was what Raymond proposed initially. -- ___ Python tracker ___ ___

[issue41822] Document the meaning of values for sys.float_info.rounds

2020-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python does not set the meaning and the value of these fields itself. It exposes C constants. Should we just copy definitions from corresponding C or floating-point standards? -- ___ Python tracker <ht

[issue41822] Document the meaning of values for sys.float_info.rounds

2020-10-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: Also, we should document the meaning of the other fields. Several of them are not self explanatory: min_10_exp = -307 does not mean that 2.3e-308 isn't normalized does mean that 10**-307 is normalized and 10**-308 isn't min_exp = -1021 does

[issue41822] Document the meaning of values for sys.float_info.rounds

2020-10-12 Thread Emmanuel Arias
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41822] Document the meaning of values for sys.float_info.rounds

2020-09-26 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41822] Document the meaning of values for sys.float_info.rounds

2020-09-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Document the mean of values for sys.float_info.rounds -> Document the meaning of values for sys.float_info.rounds versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/issu

[issue39471] Meaning and clarification of PyBuffer_Release()

2020-04-22 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39471] Meaning and clarification of PyBuffer_Release()

2020-04-22 Thread Sebastian Berg
Sebastian Berg added the comment: Ok, I will just close it. It is painfully clear that e.g. `mmap` uses it this way to prohibit closing, and also `memoryview` has all the machinery necessary to do counting of how many exports, etc. exists. I admit, this still rubs me the wrong way, and I

Re: What is the meaning of Building Wheel for ?

2020-02-29 Thread Terry Reedy
On 2/29/2020 11:23 AM, Souvik Dutta wrote: What is the meaning of the subject I mean what does python internally do when it says this? Python does not normally 'build wheels'. So you must be running some particular program. Check the docs for that program. -- Terry Jan Reedy -- https

What is the meaning of Building Wheel for ?

2020-02-29 Thread Souvik Dutta
What is the meaning of the subject I mean what does python internally do when it says this? -- https://mail.python.org/mailman/listinfo/python-list

[issue39471] Meaning and clarification of PyBuffer_Release()

2020-01-27 Thread Eric Wieser
Change by Eric Wieser : -- nosy: +Eric Wieser ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39471] Meaning and clarification of PyBuffer_Release()

2020-01-27 Thread Sebastian Berg
Sebastian Berg added the comment: I went through Python, `array` seems to not break the logic. pickling has a comment which specifically wants to run into the argument parsing corner case above (I am not sure that it is really important). However, `Modules/_testbuffer.c` (which is just

[issue39471] Meaning and clarification of PyBuffer_Release()

2020-01-27 Thread Sebastian Berg
Sebastian Berg added the comment: Hmmm, it seems I had missed this chunk of PEP 3118 before: > Exporters will need to define a bf_releasebuffer function if they can > re-allocate their memory, strides, shape, suboffsets, or format variables > which they might share through the struct

[issue39471] Meaning and clarification of PyBuffer_Release()

2020-01-27 Thread Sebastian Berg
unds). I am happy to make a PR, if we can get to a point where everyone is absolutely certain that the above interpretation was always correct, we could clean up a lot of code inside NumPy as well! -- components: C API messages: 360809 nosy: seberg priority: normal severity: nor

[issue38197] Meaning of tracebacklimit differs between sys.tracebacklimit and traceback module

2019-09-17 Thread Carl Friedrich Bolz-Tereick
New submission from Carl Friedrich Bolz-Tereick : The meaning of sys.tracebacklimit seems to be different than the meaning of the various limit parameters in the traceback module. One shows the top n stack frames, the other the bottom n. Is this intentional, and if yes, is that difference

Re: Multi meaning of label: Doc bug

2019-02-26 Thread Rustom Mody
On Wednesday, February 27, 2019 at 11:12:28 AM UTC+5:30, Rustom Mody wrote: > Ref: This stackexchange post: > https://unix.stackexchange.com/q/503241/323121 > > Context: Theres this guy who's really struggling with disk partitioning LVM > etc concepts. That point is not directly relevant to

Multi meaning of label: Doc bug

2019-02-26 Thread Rustom Mody
Ref: This stackexchange post: https://unix.stackexchange.com/q/503241/323121 Context: Theres this guy who's really struggling with disk partitioning LVM etc concepts. That point is not directly relevant to this question. My answer on that post tries to clarify that 'label' can mean 3 things at

Re: Meaning of abbreviated terms

2018-05-12 Thread Ross Wilson
The "plist" abbreviation goes back to at least 1958 as it was used in the Lisp implementation [0].  And it may even predate Lisp.  I'm very sure that what actually went into a plist has often changed over the years, but the name persists. Lisp also used "association lists" [1] which were a

Re: Meaning of abbreviated terms

2018-05-12 Thread Bob Martin
in 793617 20180511 072806 Steven D'Aprano wrote: >On Fri, 11 May 2018 07:20:36 +, Bob Martin wrote: > >> in 793605 20180511 044309 T Berger wrote: >>>On Saturday, May 5, 2018 at 6:45:46 PM UTC-4, MRAB wrote: On 2018-05-05 17:57, T

Re: Meaning of abbreviated terms

2018-05-11 Thread Gregory Ewing
Steven D'Aprano wrote: But that's not where plists came from, was it? As I understand it, the plist data format was invented by Apple, and they called it a property list. The term "property list" can also refer to a data structure in Lisp:

Re: Meaning of abbreviated terms

2018-05-11 Thread Steven D'Aprano
On Fri, 11 May 2018 07:20:36 +, Bob Martin wrote: > in 793605 20180511 044309 T Berger wrote: >>On Saturday, May 5, 2018 at 6:45:46 PM UTC-4, MRAB wrote: >>> On 2018-05-05 17:57, T Berger wrote: >>> > What does the "p" in "plist" stand for? Is there a python glossary >>> >

Re: Meaning of abbreviated terms

2018-05-11 Thread Bob Martin
in 793605 20180511 044309 T Berger wrote: >On Saturday, May 5, 2018 at 6:45:46 PM UTC-4, MRAB wrote: >> On 2018-05-05 17:57, T Berger wrote: >> > What does the "p" in "plist" stand for? >> > Is there a python glossary that spells out the meanings of abbreviated >> > terms? >> >

Re: Meaning of abbreviated terms

2018-05-10 Thread T Berger
On Saturday, May 5, 2018 at 6:45:46 PM UTC-4, MRAB wrote: > On 2018-05-05 17:57, T Berger wrote: > > What does the "p" in "plist" stand for? > > Is there a python glossary that spells out the meanings of abbreviated > > terms? > > > "plist" is "property list". It's listed in the Python

Re: Meaning of abbreviated terms

2018-05-05 Thread MRAB
On 2018-05-05 17:57, T Berger wrote: What does the "p" in "plist" stand for? Is there a python glossary that spells out the meanings of abbreviated terms? "plist" is "property list". It's listed in the Python documentation. -- https://mail.python.org/mailman/listinfo/python-list

Meaning of abbreviated terms

2018-05-05 Thread T Berger
What does the "p" in "plist" stand for? Is there a python glossary that spells out the meanings of abbreviated terms? -- https://mail.python.org/mailman/listinfo/python-list

[issue32687] wrong meaning of arg in Py_tracefunc doc

2018-01-28 Thread Xiang Zhang
Change by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32687] wrong meaning of arg in Py_tracefunc doc

2018-01-28 Thread Xiang Zhang
Xiang Zhang <angwe...@126.com> added the comment: New changeset 745e9de7dd9d237d54e92d6e4b469e916fb0352b by Xiang Zhang (Miss Islington (bot)) in branch '2.7': bpo-32687: Fix wrong meaning of args for PyTrace_LINE/CALL in documentation (GH-5361) (GH-5378) https://github.com/python/c

[issue32687] wrong meaning of arg in Py_tracefunc doc

2018-01-28 Thread Xiang Zhang
Xiang Zhang <angwe...@126.com> added the comment: New changeset 854f0424de389f023b375dfd0b50c34dea29e8f8 by Xiang Zhang (Miss Islington (bot)) in branch '3.6': bpo-32687: Fix wrong meaning of args for PyTrace_LINE/CALL in documentation (GH-5361) (GH-5377) https://github.com/python/c

[issue32687] wrong meaning of arg in Py_tracefunc doc

2018-01-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +5219 ___ Python tracker ___

[issue32687] wrong meaning of arg in Py_tracefunc doc

2018-01-27 Thread Xiang Zhang
Xiang Zhang <angwe...@126.com> added the comment: New changeset 9ed0aee27c249dada410a22fff4325a4a61df36d by Xiang Zhang in branch 'master': bpo-32687: Fix wrong meaning of args for PyTrace_LINE/CALL in documentation (#5361) https://github.com/python/cpython/

[issue32687] wrong meaning of arg in Py_tracefunc doc

2018-01-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +5218 ___ Python tracker ___

[issue32687] wrong meaning of arg in Py_tracefunc doc

2018-01-27 Thread Xiang Zhang
Change by Xiang Zhang : -- keywords: +patch pull_requests: +5206 stage: -> patch review ___ Python tracker ___

[issue32687] wrong meaning of arg in Py_tracefunc doc

2018-01-27 Thread Xiang Zhang
New submission from Xiang Zhang <angwe...@126.com>: The meaning of arg for PyTrace_Line and PyTrace_CALL is wrong, it is not always NULL but always Py_None. -- assignee: docs@python components: Documentation messages: 310865 nosy: docs@python, xiang.zhang priority: normal se

Re: What is the meaning of @@?

2017-12-24 Thread Richard Damon
On 12/24/17 8:33 PM, Peng Yu wrote: See for example this file. https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/rnn_cell.py On Sat, Dec 23, 2017 at 12:03 AM, Steve D'Aprano wrote: On Sat, 23 Dec 2017 04:38 pm, Peng Yu wrote: Hi, I only

Re: What is the meaning of @@?

2017-12-24 Thread Ian Kelly
On Sun, Dec 24, 2017 at 7:33 PM, Peng Yu wrote: > See for example this file. > > https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/rnn_cell.py > > On Sat, Dec 23, 2017 at 12:03 AM, Steve D'Aprano > wrote: >> On Sat, 23 Dec

Re: What is the meaning of @@?

2017-12-24 Thread Peng Yu
See for example this file. https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/rnn_cell.py On Sat, Dec 23, 2017 at 12:03 AM, Steve D'Aprano wrote: > On Sat, 23 Dec 2017 04:38 pm, Peng Yu wrote: > >> Hi, I only can find the doc for @. What does

Re: What is the meaning of @@?

2017-12-22 Thread Ian Kelly
@@ is a syntax error. Where did you encounter this? On Fri, Dec 22, 2017 at 10:38 PM, Peng Yu wrote: > Hi, I only can find the doc for @. What does @@ mean in python? > > -- > Regards, > Peng > -- > https://mail.python.org/mailman/listinfo/python-list --

Re: What is the meaning of @@?

2017-12-22 Thread Steve D'Aprano
On Sat, 23 Dec 2017 04:38 pm, Peng Yu wrote: > Hi, I only can find the doc for @. What does @@ mean in python? I don't think that @@ means anything yet. There was a proposal to use @@ for matrix exponentiation in Numpy, as @ is used for matrix multiplication, but that was left on hold to see

What is the meaning of @@?

2017-12-22 Thread Peng Yu
Hi, I only can find the doc for @. What does @@ mean in python? -- Regards, Peng -- https://mail.python.org/mailman/listinfo/python-list

Re: Meaning of "Add Python to environment variables"

2017-12-08 Thread Thomas Jollans
On 03/12/17 18:32, John Yeung wrote: > In the custom installation options for Python 3.6, what *exactly* does "Add Python to environment variables" mean? > > Which environment variables are we talking about? I imagine one of them would have to be PATH. Are there any others? If the note on the

Re: Meaning of "Add Python to environment variables"

2017-12-03 Thread Thomas Jollans
On 03/12/17 18:32, John Yeung wrote: > In the custom installation options for Python 3.6, what *exactly* does "Add > Python to environment variables" mean? > > Which environment variables are we talking about? I imagine one of them would > have to be PATH. Are there any others? If the note on

Meaning of "Add Python to environment variables"

2017-12-03 Thread John Yeung
In the custom installation options for Python 3.6, what *exactly* does "Add Python to environment variables" mean? Which environment variables are we talking about? I imagine one of them would have to be PATH. Are there any others? John Y. --

Re: Please improve these comprehensions (was meaning of [ ])

2017-09-07 Thread Marko Rauhamaa
Dennis Lee Bieber : > On Wed, 06 Sep 2017 10:37:42 +0300, Marko Rauhamaa > declaimed the following: > >> >>Which reminds me of this puzzle I saw a couple of days ago: >> >> 1 + 4 = 5 >> 2 + 5 = 12 >> 3 + 6 = 21 >> 8 + 11 = ? >> >>A mathematician

Re: Please improve these comprehensions (was meaning of [ ])

2017-09-06 Thread Gregory Ewing
Seems to me you're making life difficult for yourself (and very inefficient) by insisting on doing the whole computation with sets. If you want a set as a result, it's easy enough to construct one from the list at the end. -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: Please improve these comprehensions (was meaning of [ ])

2017-09-06 Thread Marko Rauhamaa
Ben Finney : > r...@zedat.fu-berlin.de (Stefan Ram) writes: > >> In mathematics, every author is free to give his own definitions to >> concepts and create his own notation. > > [...] > > For established terms in the field, an author has freedom to redefine > those

Re: Please improve these comprehensions (was meaning of [ ])

2017-09-05 Thread Steven D'Aprano
On Tue, 05 Sep 2017 19:07:32 -0700, Rustom Mody wrote: > Also noteworthy here: You know more about list comprehensions than their > inventor — Greg Ewing And many people know more about General Relativity than Albert Einstein. What's your point? > [No I normally would not call Greg their

Re: Please improve these comprehensions (was meaning of [ ])

2017-09-05 Thread Chris Angelico
On Wed, Sep 6, 2017 at 12:19 AM, Rustom Mody wrote: > On Tuesday, September 5, 2017 at 7:32:52 PM UTC+5:30, Chris Angelico wrote: >> On Tue, Sep 5, 2017 at 11:49 PM, Rustom Mody wrote: >> > Pop et al wont work with frozen sets >> > Containment wont work with sets — what

Re: Please improve these comprehensions (was meaning of [ ])

2017-09-05 Thread Rustom Mody
On Tuesday, September 5, 2017 at 7:32:52 PM UTC+5:30, Chris Angelico wrote: > On Tue, Sep 5, 2017 at 11:49 PM, Rustom Mody wrote: > > Pop et al wont work with frozen sets > > Containment wont work with sets — what mathematicians call 'not closed' > > All of which amounts to this that python sets

Re: Please improve these comprehensions (was meaning of [ ])

2017-09-05 Thread Rustom Mody
On Tuesday, September 5, 2017 at 6:59:11 PM UTC+5:30, Ben Bacarisse wrote: > Rustom Mody writes: > > > On Tuesday, September 5, 2017 at 1:44:24 AM UTC+5:30, Ben Bacarisse wrote: > >> Rustom Mody writes: > >> > >> > Here is some code I (tried) to write in class the other day > >> > > >> > The

Re: Please improve these comprehensions (was meaning of [ ])

2017-09-04 Thread Rustom Mody
On Tuesday, September 5, 2017 at 1:44:24 AM UTC+5:30, Ben Bacarisse wrote: > Rustom Mody writes: > > > Here is some code I (tried) to write in class the other day > > > > The basic problem is of generating combinations > > > Now thats neat as far as it goes but combinations are fundamentally

Re: Please improve these comprehensions (was meaning of [ ])

2017-09-04 Thread breamoreboy
On Monday, September 4, 2017 at 9:14:24 PM UTC+1, Ben Bacarisse wrote: > Rustom Mody writes: > > > Here is some code I (tried) to write in class the other day > > > > The basic problem is of generating combinations > > > Now thats neat as far as it goes but combinations

Re: Please improve these comprehensions (was meaning of [ ])

2017-09-04 Thread Ben Bacarisse
Rustom Mody writes: > Here is some code I (tried) to write in class the other day > > The basic problem is of generating combinations > Now thats neat as far as it goes but combinations are fundamentally sets > not lists > > So I thought python would do a better job > I

Re: meaning of [ ]

2017-09-04 Thread Steve D'Aprano
On Tue, 5 Sep 2017 03:37 am, Rustom Mody wrote: > My understanding is that the OP saw a 'for' inside a '[]' and wondered > "WTF is this?" Rustom, did you not notice that the OP seemed to understood the 'for' perfectly well, but asked what the meaning of the [ ] delimiters is? He

  1   2   3   4   5   6   >