[issue16575] ctypes: unions as arguments

2020-01-12 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset c12440c371025bea9c3bfb94945f006c486c2c01 by Vinay Sajip in branch 'master': bpo-16575: Disabled checks for union types being passed by value. (GH-17960) https://github.com/python/cpython/commit/c12440c371025bea9c3bfb94945f006c486c2c01 --

[issue39288] Add math.nextafter(a, b)

2020-01-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17371 pull_request: https://github.com/python/cpython/pull/17962 ___ Python tracker ___

[issue39259] poplib.POP3/POP3_SSL should reject timeout = 0 (non-blocking mode)

2020-01-12 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +17367 pull_request: https://github.com/python/cpython/pull/17959 ___ Python tracker ___

[issue12159] Integer Overflow in __len__

2020-01-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset d7c7adde003ddca5cbe4fc47cf09464ab95a066e by Victor Stinner (Zac Hatfield-Dodds) in branch 'master': bpo-12159: Document sys.maxsize limit in len() function reference (GH-17934)

[issue38883] Path.home() should ignore HOME env var like os.path.expanduser()

2020-01-12 Thread Christoph Reiter
Change by Christoph Reiter : -- keywords: +patch pull_requests: +17369 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17961 ___ Python tracker

[issue16575] ctypes: unions as arguments

2020-01-12 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: +17368 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17960 ___ Python tracker ___

[issue26628] Undefined behavior calling C functions with ctypes.Union arguments

2020-01-12 Thread Vinay Sajip
Change by Vinay Sajip : -- dependencies: +ctypes: unions as arguments resolution: fixed -> duplicate ___ Python tracker ___ ___

[issue36264] os.path.expanduser should not use HOME on windows

2020-01-12 Thread Christoph Reiter
Change by Christoph Reiter : -- pull_requests: +17370 pull_request: https://github.com/python/cpython/pull/17961 ___ Python tracker ___

[issue39233] glossary entry for parameter out-of-date for positional-only parameters

2020-01-12 Thread miss-islington
miss-islington added the comment: New changeset a240f0545653d961c67c1eb1597cb70b67f4e5f1 by Miss Islington (bot) in branch '3.8': bpo-39233: Update positional-only section in the glossary (GH-17874) https://github.com/python/cpython/commit/a240f0545653d961c67c1eb1597cb70b67f4e5f1

[issue16575] ctypes: unions as arguments

2020-01-12 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset eb9ba2f66df2195a9c6295e73ab3d545a1445f05 by Vinay Sajip (Miss Islington (bot)) in branch '3.8': bpo-16575: Disabled checks for union types being passed by value. (GH-17960) (GH-17964)

[issue39288] Add math.nextafter(a, b)

2020-01-12 Thread Mark Dickinson
Mark Dickinson added the comment: > I suggest "next_after" instead of "nextafter". "nextafter" gives us consistency with C, with NumPy and with other compound names in the math module ("isnan", "isclose", "copysign"). My own brain doesn't perceive either of "nextafter" or "next_after" as

[issue38356] test_asyncio: SubprocessThreadedWatcherTests leaks threads

2020-01-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17372 pull_request: https://github.com/python/cpython/pull/17963 ___ Python tracker ___

[issue38356] test_asyncio: SubprocessThreadedWatcherTests leaks threads

2020-01-12 Thread miss-islington
miss-islington added the comment: New changeset 0ca7cc7fc0518c24dc9b78c38418e6064e64f148 by Miss Islington (bot) (Kyle Stanley) in branch 'master': bpo-38356: Fix ThreadedChildWatcher thread leak in test_asyncio (GH-16552)

[issue39233] glossary entry for parameter out-of-date for positional-only parameters

2020-01-12 Thread Mark Dickinson
Mark Dickinson added the comment: Pablo: thanks for the quick fix! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39288] Add math.nextafter(a, b)

2020-01-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 54cfbb2feee1f7328c3d6799ec3734b00824b555 by Victor Stinner in branch 'master': bpo-39288: Add examples to math.nextafter() documentation (GH-17962) https://github.com/python/cpython/commit/54cfbb2feee1f7328c3d6799ec3734b00824b555 --

[issue39310] Add math.ulp(x)

2020-01-12 Thread STINNER Victor
New submission from STINNER Victor : In bpo-39288, I added math.nextafter(x, y) function. I propose to now add math.ulp() companion function. Examples from tests of my PR: self.assertEqual(math.ulp(1.0), sys.float_info.epsilon) self.assertEqual(math.ulp(2.0 ** 52), 1.0)

[issue34732] uuid returns version more than 5

2020-01-12 Thread Tal Einat
Change by Tal Einat : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39311] difflib pathlike support for {unified, context}_diff() {from, to}file

2020-01-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34732] uuid returns version more than 5

2020-01-12 Thread Tal Einat
Tal Einat added the comment: The uuid module is likely used on a huge variety of operating systems and hardware; I feel making UUID.__init__() reject values which it accepted until now would unnecessarily break existing code. While raising an exception in __init__ seems more natural and

[issue14014] codecs.StreamWriter.reset contract not fulfilled

2020-01-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: @lemburg, when you get a chance, please review the PR. Thanks! -- assignee: -> lemburg nosy: +cheryl.sabella versions: +Python 3.8, Python 3.9 -Python 3.4, Python 3.5 ___ Python tracker

[issue19557] ast - docs for every node type are missing

2020-01-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: @BTaskaya, thank you. I'm going to close this issue as a duplicate of that one. -- nosy: +cheryl.sabella resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Improve the AST documentation

[issue39179] pandas tz_convert() seems to report incorrect date conversion

2020-01-12 Thread Cheryl Sabella
Change by Cheryl Sabella : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16575] ctypes: unions as arguments

2020-01-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17373 pull_request: https://github.com/python/cpython/pull/17964 ___ Python tracker ___

[issue38356] test_asyncio: SubprocessThreadedWatcherTests leaks threads

2020-01-12 Thread miss-islington
miss-islington added the comment: New changeset 33dd75a28fe2ec6e85c5d3b315b5a9d4cf0652db by Miss Islington (bot) in branch '3.8': bpo-38356: Fix ThreadedChildWatcher thread leak in test_asyncio (GH-16552) https://github.com/python/cpython/commit/33dd75a28fe2ec6e85c5d3b315b5a9d4cf0652db

[issue38356] test_asyncio: SubprocessThreadedWatcherTests leaks threads

2020-01-12 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38356] test_asyncio: SubprocessThreadedWatcherTests leaks threads

2020-01-12 Thread Andrew Svetlov
Andrew Svetlov added the comment: I hope it is fixed now. Thanks, Kyle! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39311] difflib pathlike support for {unified, context}_diff() {from, to}file

2020-01-12 Thread Batuhan
New submission from Batuhan : >>> tuple(difflib.context_diff(["abc"], ["bcd"], fromfile=Path("example.py"))) Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.9/difflib.py", line 1254, in context_diff _check_types(a, b, fromfile, tofile, fromfiledate,

[issue39295] usage of bitfields in ctypes structures changed between 3.7.5 and 3.7.6

2020-01-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: Adding @vinay.sajip to the nosy list as he worked on issue16576. -- nosy: +cheryl.sabella, vinay.sajip ___ Python tracker ___

[issue39310] Add math.ulp(x): unit in the last place

2020-01-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson, rhettinger, stutzbach ___ Python tracker ___ ___ Python-bugs-list

[issue39310] Add math.ulp(x)

2020-01-12 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +17374 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17965 ___ Python tracker ___

[issue39310] Add math.ulp(x): unit in the last place

2020-01-12 Thread STINNER Victor
Change by STINNER Victor : -- title: Add math.ulp(x) -> Add math.ulp(x): unit in the last place ___ Python tracker ___ ___

[issue39312] Expose placeholder reparse points in Windows

2020-01-12 Thread Eryk Sun
New submission from Eryk Sun : Windows 10 apparently defaults to disguising placeholder reparse points in python.exe processes, but exposes them to cmd.exe and powershell.exe processes. A common example is a user's OneDrive folder, which extensively uses placeholder reparse points for files

[issue39293] Windows 10 64-bit needs reboot

2020-01-12 Thread Cheryl Sabella
Change by Cheryl Sabella : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

[issue39295] usage of bitfields in ctypes structures changed between 3.7.5 and 3.7.6

2020-01-12 Thread Vinay Sajip
Vinay Sajip added the comment: The change which caused this breakage has been reverted, at least for now. bpo-16576 is related to bpo-16575 (which is about unions rather than bitfields, but the cases have things in common). Refer to bpo-16575 for PRs relating to the reversion. This includes

[issue39295] usage of bitfields in ctypes structures changed between 3.7.5 and 3.7.6

2020-01-12 Thread Matthew Newville
Matthew Newville added the comment: Thanks for the reply and the fix -- I have not tried the master branch, but will try to do that soon. If I understand correctly, we will have to stick with our kludgy "workaround" version in order to work with Python 3.7.6 and 3.8.1. Or is there a better

[issue39318] NamedTemporaryFile could cause double-close on an fd if _TemporaryFileWrapper throws

2020-01-12 Thread Robert Xiao
New submission from Robert Xiao : tempfile.NamedTemporaryFile creates its wrapper like so: try: file = _io.open(fd, mode, buffering=buffering, newline=newline, encoding=encoding, errors=errors) return _TemporaryFileWrapper(file, name, delete)

[issue39295] usage of bitfields in ctypes structures changed between 3.7.5 and 3.7.6

2020-01-12 Thread Vinay Sajip
Vinay Sajip added the comment: > it appears that an old, poorly verified bug report Why do you say the bug report is poorly verified? The libffi maintainers accept it is an issue. https://github.com/libffi/libffi/issues/33 > inspired a change that was actually not well tested and so

[issue39311] difflib pathlike support for {unified, context}_diff() {from, to}file

2020-01-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: Elsewhere users of Path objects must explicitly coerce to str. For example: json.dumps(str(Path("example.py"))). This makes good sense to me. We don't want to add an dependency on pathlib just to recognize Path objects. -- nosy: +rhettinger

[issue39317] This new feature or bug about operator "- -"?

2020-01-12 Thread dai dai
New submission from dai dai : ```py print(3 - - 2) print(3 + + 2) """output 5 5 """ ``` -- components: Windows messages: 359886 nosy: dai dai, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: This new feature or bug about operator "-

[issue39308] Literal[True] prints as Literal[1] in some cases

2020-01-12 Thread kornicameister
Change by kornicameister : -- keywords: +patch pull_requests: +17381 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17974 ___ Python tracker ___

[issue39313] lib2to3 provide a way to use exec as a function in RefactoringTool

2020-01-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39222] unittest.mock.Mock.parent is broken or undocumented

2020-01-12 Thread Chris Withers
Chris Withers added the comment: Ah right. Well, it's called `parent` in the __init__ as that's what the attribute used to be called. My suggestion would be to add `parent` to the docs @xtreak links to as a way to resolve this issue. -- ___

[issue28166] WindowsConsoleIO misbehavior when Ctrl+C is ignored

2020-01-12 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz versions: +Python 3.8, Python 3.9 -Python 3.6 ___ Python tracker ___ ___

[issue39317] This new feature or bug about operator "- -"?

2020-01-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: The interpreter parses those as: 3 - (-2) 3 + (+2) The first is a binary operator and the second is a unary operator.. -- nosy: +rhettinger resolution: -> not a bug stage: -> resolved status: open -> closed

[issue16575] ctypes: unions as arguments

2020-01-12 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 9dbf5d3bc2033940cdca35440cf08814544f81e4 by Vinay Sajip in branch '3.7': [3.7] bpo-16575: Disabled checks for union types being passed by value. (GH-17960) (GH-17970)

[issue39316] settrace skips lines when chaining methods without arguments

2020-01-12 Thread Alex Hall
New submission from Alex Hall : When stepping through a multiline expression like this: ``` print(slug .replace("_", " ") .title() .upper() .replace("a", "b") .lower() .replace("The ", "the ")) ``` only these lines are hit by the tracer function: 15

[issue39313] lib2to3 provide a way to use exec as a function in RefactoringTool

2020-01-12 Thread miss-islington
miss-islington added the comment: New changeset 61b14151cc92021a10f94765eaa152ed04eb262a by Miss Islington (bot) (Batuhan Taşkaya) in branch 'master': bpo-39313: Add an option to RefactoringTool for using exec as a function (GH-17967)

[issue29282] Fused multiply-add: proposal to add math.fma()

2020-01-12 Thread Steven D'Aprano
Change by Steven D'Aprano : -- nosy: +steven.daprano ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39307] Memory leak in parsetok

2020-01-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28166] WindowsConsoleIO misbehavior when Ctrl+C is ignored

2020-01-12 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +17383 pull_request: https://github.com/python/cpython/pull/17976 ___ Python tracker ___

[issue32021] Brotli encoding is not recognized by mimetypes

2020-01-12 Thread Abhilash Raj
Abhilash Raj added the comment: New changeset b2b4a51f7463a0392456f7772f33223e57fa4ccc by Abhilash Raj (Philip McMahon) in branch 'master': bpo-32021: Support brotli .br encoding in mimetypes (#12200) https://github.com/python/cpython/commit/b2b4a51f7463a0392456f7772f33223e57fa4ccc

[issue32021] Brotli encoding is not recognized by mimetypes

2020-01-12 Thread Abhilash Raj
Change by Abhilash Raj : -- stage: patch review -> resolved status: open -> closed versions: -Python 3.8 ___ Python tracker ___

[issue16379] SQLite error code not exposed to python

2020-01-12 Thread Ned Batchelder
Change by Ned Batchelder : ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16379] SQLite error code not exposed to python

2020-01-12 Thread Ned Batchelder
Ned Batchelder added the comment: What would it take to get this merged? -- nosy: +nedbat ___ Python tracker ___ ___

[issue39310] Add math.ulp(x): unit in the last place

2020-01-12 Thread Tim Peters
Tim Peters added the comment: +1 -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39310] Add math.ulp(x): unit in the last place

2020-01-12 Thread Steven D'Aprano
Steven D'Aprano added the comment: Thank you Victor! Any chance you could look at fma too? #29282 (The reward for a job well done is to be given more jobs :-) -- nosy: +steven.daprano ___ Python tracker

[issue39310] Add math.ulp(x): unit in the last place

2020-01-12 Thread Mark Dickinson
Mark Dickinson added the comment: [Steven] > Any chance you could look at fma too? #29282 fma is hard, for reasons explained in the issue you linked to. If you have suggestions for resolving the difficulties, please do add them to that issue. --

[issue39276] type() cause segmentation fault in callback function called from C extension

2020-01-12 Thread Giacomo Mazzamuto
Giacomo Mazzamuto added the comment: Hello, the segmentation fault is also resolved by finalizing the initialization of InternalType by calling PyType_Ready(), just like you do with ExternalType -- nosy: +Giacomo Mazzamuto ___ Python tracker

[issue38330] httplib specifies content-length when transfer-encoding present

2020-01-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi @apmatthews, thank you for the report and for the pull request. Unfortunately, Python 2.7 reached end of life on 1/1/2020, so no additional changes are being incorporated into Python 2. Looking at the documentation for Python 3, I think it's OK there

[issue16575] ctypes: unions as arguments

2020-01-12 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: +17378 pull_request: https://github.com/python/cpython/pull/17970 ___ Python tracker ___

[issue4347] Circular dependency causes SystemError when adding new syntax

2020-01-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think there is nothing missing now that the C version of pgen is gone. And parsetok is already rebuilt when gramminit.h changes: Python/compile.o Python/symtable.o Python/ast_unparse.o Python/ast.o Python/future.o Parser/parsetok.o:

[issue39177] In tkinter, simple dialogs, askstrings, etc. with flexible coordinates and no viewable parent.

2020-01-12 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38356] test_asyncio: SubprocessThreadedWatcherTests leaks threads

2020-01-12 Thread Kyle Stanley
Kyle Stanley added the comment: > I hope it is fixed now. > Thanks, Kyle! No problem, thanks for looking over it. Let me know if the warning comes up again. If it does, I'll be sure to look into it. -- ___ Python tracker

[issue1531415] parsetok.c emits warnings by writing to stderr

2020-01-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The C version of pgen is gone so the circular dependency should not be a problem as as far as I can tell, Parser/parsetok.c does not emit warnings anymore (the functions are unused). Maybe we should just clean that code instead. --

[issue1531415] parsetok.c emits warnings by writing to stderr

2020-01-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: https://github.com/python/cpython/pull/17971 -- ___ Python tracker ___ ___

[issue3530] ast.NodeTransformer doc bug

2020-01-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6680f4a9f5d15ab82b2ab6266c6f917cb78c919a by Pablo Galindo (Batuhan Taşkaya) in branch 'master': bpo-3530: Add advice on when to correctly use fix_missing_locations in the AST docs (GH-17172)

[issue3530] ast.NodeTransformer doc bug

2020-01-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17379 pull_request: https://github.com/python/cpython/pull/17972 ___ Python tracker ___

[issue3530] ast.NodeTransformer doc bug

2020-01-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17380 pull_request: https://github.com/python/cpython/pull/17973 ___ Python tracker ___

[issue39313] lib2to3 provide a way to use exec as a function in RefactoringTool

2020-01-12 Thread Batuhan
Batuhan added the comment: After discussing with @pablogsal, instead of offering 2 options that one overlaps another we added -e option to 2to3.main and exec_function option (alongside print_funtion) to RefactoringTool. -- nosy: +pablogsal title: lib2to3 RefactoringTool

[issue3530] ast.NodeTransformer doc bug

2020-01-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue3530] ast.NodeTransformer doc bug

2020-01-12 Thread miss-islington
miss-islington added the comment: New changeset e222b4c69f99953a14ded52497a9909e34fc3893 by Miss Islington (bot) in branch '3.7': bpo-3530: Add advice on when to correctly use fix_missing_locations in the AST docs (GH-17172)

[issue3530] ast.NodeTransformer doc bug

2020-01-12 Thread miss-islington
miss-islington added the comment: New changeset ef0af30e507a29dae03aae40459b9c44c96f260d by Miss Islington (bot) in branch '3.8': bpo-3530: Add advice on when to correctly use fix_missing_locations in the AST docs (GH-17172)

[issue39315] Lists of objects containing lists

2020-01-12 Thread hmathers
hmathers added the comment: I should have known I was just doing something wrong. Thank you for your help! -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue39308] Literal[True] prints as Literal[1] in some cases

2020-01-12 Thread kornicameister
kornicameister added the comment: I will play around and maybe submit PR later this evening. -- ___ Python tracker ___ ___

[issue39313] lib2to3 RefactoringTool python_grammar_no_print_and_exec_statement

2020-01-12 Thread Batuhan
New submission from Batuhan : issue 23896 introduced a grammar without print and exec statements (they both are functions now) but both the lib2to3 cli script and RefactoringTool lacks of that functionality (which is pretty useful for outside users of lib2to3 like formatters)

[issue39314] Autofill the closing paraenthesis during auto-completion for functions which accept no arguments

2020-01-12 Thread Aurora
New submission from Aurora : If Python is compiled with the GNU readline headers, it will provide autocompletion for Python functions and etc. In the Python interpreter environment, if a function is typed partially, Python will fill in the rest if a tab character is typed. If a function

[issue39288] Add math.nextafter(a, b)

2020-01-12 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-39310 to propose to add math.ulp(x). -- ___ Python tracker ___ ___

[issue39304] Don't accept a negative number for the count argument in str.replace(old, new[, count])

2020-01-12 Thread Aurora
Aurora added the comment: @xtreak Understood, just as an aftermath: I still disagree a little with such an implementation because it's riding way into terse-coding that it's going against the principles of mathematics, which is the basis of computer science and programming. Python can use

[issue39315] Lists of objects containing lists

2020-01-12 Thread hmathers
New submission from hmathers : class Folder(): papers = [] shelf = [] shelf.append(Folder) shelf.append(Folder) shelf[0].papers.append("one") shelf[1].papers.append("two") print(shelf[0].papers) #should just print "one" right? -- messages: 359858 nosy: hmathers priority: normal

[issue38293] Deepcopying property objects results in unexpected TypeError

2020-01-12 Thread miss-islington
miss-islington added the comment: New changeset 3043ec7d6aed402218404c25179e734166c7fbe0 by Miss Islington (bot) in branch '3.8': bpo-38293: Allow shallow and deep copying of property objects (GH-16438) https://github.com/python/cpython/commit/3043ec7d6aed402218404c25179e734166c7fbe0

[issue39315] Lists of objects containing lists

2020-01-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: No problem, you're welcome :) -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39313] lib2to3 RefactoringTool python_grammar_no_print_and_exec_statement

2020-01-12 Thread Batuhan
Change by Batuhan : -- keywords: +patch pull_requests: +17375 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17967 ___ Python tracker ___

[issue39314] Autofill the closing paraenthesis during auto-completion for functions which accept no arguments at all

2020-01-12 Thread Aurora
Change by Aurora : -- title: Autofill the closing paraenthesis during auto-completion for functions which accept no arguments -> Autofill the closing paraenthesis during auto-completion for functions which accept no arguments at all ___ Python

[issue39310] Add math.ulp(x): unit in the last place

2020-01-12 Thread STINNER Victor
STINNER Victor added the comment: See also math.isclose() and its PEP 485 which mentions ULP (Unit in the Last Place)... in the "Inappropriate uses" section :-) * https://docs.python.org/dev/library/math.html#math.isclose * https://www.python.org/dev/peps/pep-0485/#inappropriate-uses

[issue38293] Deepcopying property objects results in unexpected TypeError

2020-01-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17377 pull_request: https://github.com/python/cpython/pull/17969 ___ Python tracker ___

[issue38293] Deepcopying property objects results in unexpected TypeError

2020-01-12 Thread miss-islington
miss-islington added the comment: New changeset 4be97260351f214d3c8b8477682323bb52ee2af3 by Miss Islington (bot) in branch '3.7': bpo-38293: Allow shallow and deep copying of property objects (GH-16438) https://github.com/python/cpython/commit/4be97260351f214d3c8b8477682323bb52ee2af3

[issue39315] Lists of objects containing lists

2020-01-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: You are appending to the class attribute where both shelf[0] and shelf[1] refers to the same list as seen by output of id. You might want to create an instance variable and use it for mutating across different instances. This could help :

[issue39290] lib2to3.fixes.fix_import: support imports_as_name in traverse_imports

2020-01-12 Thread Batuhan
Change by Batuhan : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39290] lib2to3.fixes.fix_import: support imports_as_name in traverse_imports

2020-01-12 Thread Batuhan
Change by Batuhan : -- components: +2to3 (2.x to 3.x conversion tool) versions: +Python 3.9 ___ Python tracker ___ ___

[issue38293] Deepcopying property objects results in unexpected TypeError

2020-01-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17376 pull_request: https://github.com/python/cpython/pull/17968 ___ Python tracker ___

[issue38293] Deepcopying property objects results in unexpected TypeError

2020-01-12 Thread miss-islington
miss-islington added the comment: New changeset 9f3fc6c5b4993f2b362263b494f84793a21aa073 by Miss Islington (bot) (Guðni Natan Gunnarsson) in branch 'master': bpo-38293: Allow shallow and deep copying of property objects (GH-16438)

[issue38293] Deepcopying property objects results in unexpected TypeError

2020-01-12 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6 ___ Python tracker ___