[issue39573] Make PyObject an opaque structure in the limited C API

2020-03-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8767ce92d24d3687405848442e6c67cf0af1c657 by Andy Lester in branch 'master': bpo-39573: Make Py_IS_TYPE() take constant parameters (GH-18799) https://github.com/python/cpython/commit/8767ce92d24d3687405848442e6c67cf0af1c657 --

[issue39871] math.copysign raises SystemError with non-float x and custom y

2020-03-06 Thread David Vo
David Vo added the comment: I'm currently rather busy with other work, but if this happens to still be open in a couple of months I might pick it up. -- ___ Python tracker

[issue39856] glob : some 'unix style' glob items are not supported

2020-03-06 Thread Je GeVa
Je GeVa added the comment: well ; 1) tilde expansion this is an issue 2) brace expansion have no clue how the engineers at the fruity company maimed your bash and zsh man but brace expansion is core to both of them. https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html

[issue39873] Debug mode: check if objects are valid

2020-03-06 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18159 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18803 ___ Python tracker ___

[issue39874] Heappush of Maxheap version does not exist

2020-03-06 Thread BongK
Change by BongK : -- components: +Library (Lib) type: -> enhancement versions: +Python 3.8 ___ Python tracker ___ ___

[issue39874] Heappush of Maxheap version does not exist

2020-03-06 Thread BongK
New submission from BongK : heappush of maxheap version does not exist in heapq.py -- messages: 363501 nosy: vbnmzx1 priority: normal severity: normal status: open title: Heappush of Maxheap version does not exist ___ Python tracker

[issue39573] Make PyObject an opaque structure in the limited C API

2020-03-06 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18161 pull_request: https://github.com/python/cpython/pull/18804 ___ Python tracker ___

[issue3874] documentation bug: HTMLParser needs to document unknown_decl

2020-03-06 Thread BongK
Change by BongK : -- nosy: +vbnmzx1 nosy_count: 4.0 -> 5.0 pull_requests: +18162 pull_request: https://github.com/python/cpython/pull/18805 ___ Python tracker ___

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-06 Thread Steve Dower
Steve Dower added the comment: It would make the job definition significantly more complicated, and I don't want to do that just to work around an issue with github until we've got positive confirmation that the behaviour is intentional and won't change. --

[issue39873] Debug mode: check if objects are valid

2020-03-06 Thread STINNER Victor
New submission from STINNER Victor : One of the worst issue that I had to debug is a crash in the Python garbage collector. It is usually a crash in visit_decref(). See my notes: https://pythondev.readthedocs.io/debug_tools.html#debug-crash-in-garbage-collection-visit-decref My previous

[issue39873] Debug mode: check if objects are valid

2020-03-06 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +inada.naoki, pablogsal, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39873] Debug mode: check if objects are valid

2020-03-06 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-38392: "Ensure that objects entering the GC are valid". I fixed this one with commit 1b1845569539db5c1a6948a5d32daea381f1e35f. -- ___ Python tracker

[issue39871] math.copysign raises SystemError with non-float x and custom y

2020-03-06 Thread Mark Dickinson
Mark Dickinson added the comment: No problem; I'll likely pick it up (if no-one else does) in the next few days. -- assignee: -> mark.dickinson ___ Python tracker ___

[issue39873] Debug mode: check if objects are valid

2020-03-06 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18160 pull_request: https://github.com/python/cpython/pull/18804 ___ Python tracker ___

[issue39874] Heappush of Maxheap version does not exist

2020-03-06 Thread BongK
Change by BongK : -- keywords: +patch pull_requests: +18163 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18805 ___ Python tracker ___

[issue39875] urllib.request.urlopen sends POST data as query string

2020-03-06 Thread henrik242
New submission from henrik242 : curl correctly posts data to Solr: $ curl -v 'http://solr.example.no:12699/solr/my_coll/update?commit=true' \ --data 'KEY__9927.1\ {"result":0,"jobId":"9459695","jobNumber":"9927.1"}' The solr query log says: [20200306T111354,131] [my_coll_shard1_replica_n85]

[issue39872] Remove unused args from two functions in Python/symtable.c

2020-03-06 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 9566842e892c1f600e1dcfadaab4643be8f32901 by Andy Lester in branch 'master': closes bpo-39872: Remove unused args from symtable_exit_block and symtable_visit_annotations. (GH-18800)

[issue39874] Heappush of Maxheap version does not exist

2020-03-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: The maxheap is not part of the public API. It is for internal use by merge() and nsmallest(). -- assignee: -> rhettinger nosy: +rhettinger resolution: -> rejected stage: patch review -> resolved status: open -> closed

[issue39877] Daemon thread is crashing in PyEval_RestoreThread() while the main thread is exiting the process

2020-03-06 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18166 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18808 ___ Python tracker ___

[issue39871] math.copysign raises SystemError with non-float x and custom y

2020-03-06 Thread Zackery Spytz
Zackery Spytz added the comment: I have created a pull request to fix this issue. Please consider taking a look. -- ___ Python tracker ___

[issue39871] math.copysign raises SystemError with non-float x and custom y

2020-03-06 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 2.0 -> 3.0 pull_requests: +18164 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18806 ___ Python tracker

[issue39876] csv.DictReader.fieldnames interprets unicode as ascii

2020-03-06 Thread Andreas Spar
New submission from Andreas Spar : with open(filename, "rt") as csvfile: csv_reader = csv.DictReader(csvfile, delimiter=csv_delimiter) filednames = csv_reader.fieldnames In Python 3.8 csv expects utf-8 encoded files but apperently doens't read the header with utf-8 format. If

[issue39875] urllib.request.urlopen sends POST data as query string

2020-03-06 Thread henrik242
henrik242 added the comment: But why can't the payload be in the Request object? >From the api docs: class urllib.request.Request(url, data=None, headers={}, origin_req_host=None, unverifiable=False, method=None) data must be an object specifying additional data to send to the

[issue39868] Stale Python Language Reference docs (no walrus).

2020-03-06 Thread SHANKAR JHA
SHANKAR JHA added the comment: I am also checking your commit for this: (https://github.com/python/cpython/commit/8bae21962bab2fac7630982abd73676b89930902) and see that you are changing the "expression: to "assignment_expression". Do I have to fill what assignment expression does with some

[issue39875] urllib.request.urlopen sends POST data as query string

2020-03-06 Thread Adrian Petrescu
Adrian Petrescu added the comment: This is not a bug, you've just misunderstood the urllib API. If you want to pass POST data as a payload, it's the second `data` parameter to `urlopen`: https://bugs.python.org/?@action=confrego=KX9AqsI0JnOLkplIY1AGKXAmDKa38COy -- nosy: +apetresc

[issue39868] Stale Python Language Reference docs (no walrus).

2020-03-06 Thread SHANKAR JHA
SHANKAR JHA added the comment: Thank you for helping me out brandtbucher. As per my understanding, I am looking into the code (https://github.com/python/cpython/blob/master/Doc/reference/expressions.rst) and finding where the code doesn't follow the pattern described in

[issue39875] urllib.request.urlopen sends POST data as query string

2020-03-06 Thread henrik242
henrik242 added the comment: Further: method should be a string that indicates the HTTP request method that will be used (e.g. 'HEAD'). If provided, its value is stored in the method attribute and is used by get_method(). The default is 'GET' if data is None or 'POST' otherwise.

[issue39875] urllib.request.urlopen sends POST data as query string

2020-03-06 Thread Adrian Petrescu
Adrian Petrescu added the comment: (Oops, that was a bad paste! I meant this link: https://docs.python.org/2/library/urllib.html#urllib.urlopen) -- ___ Python tracker ___

[issue39875] urllib.request.urlopen sends POST data as query string

2020-03-06 Thread henrik242
henrik242 added the comment: Also, it seems that urllib.urlopen just creates a similar Request object when given a data paramenter: def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object if isinstance(fullurl, str):

[issue39852] IDLE: Goto should remove selection and update the status bar

2020-03-06 Thread Dave Liptack
Dave Liptack added the comment: Like goto, right-click also exhibits this behavior. Should selection_clear also be added to right-click code? -- ___ Python tracker ___

[issue39875] urllib.request.urlopen sends POST data as query string

2020-03-06 Thread henrik242
henrik242 added the comment: Here's the wireshark output. It seems that urllib adds a "Connection: close" which curl doesn't. Solr doesn't seem to like that. Curl message: POST /solr/my_coll/update?commit=true HTTP/1.1 Host: solr.example.no:12699 User-Agent: curl/7.64.1 Accept: */*

[issue39877] Daemon thread is crashing in PyEval_RestoreThread() while the main thread is exiting the process

2020-03-06 Thread STINNER Victor
STINNER Victor added the comment: To reproduce the bug on Linux: * apply attached slow_exit.patch to sleep 1 second just before exiting the process, in the main() function * run: ./python daemon_threads_exit.py # attached file Example: --- $ ./python daemon_threads_exit.py Start 100 daemon

[issue39868] Stale Python Language Reference docs (no walrus).

2020-03-06 Thread SHANKAR JHA
SHANKAR JHA added the comment: I got it that I have to fill the "Assignment expression" section in the code. I am working on it and send you the for review once I am done. -- ___ Python tracker

[issue39873] Debug mode: check if objects are valid

2020-03-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1fb5a9f394a6fdf62e21b96080c3257c959cf8c9 by Victor Stinner in branch 'master': bpo-39873: PyObject_Init() uses PyObject_INIT() (GH-18804) https://github.com/python/cpython/commit/1fb5a9f394a6fdf62e21b96080c3257c959cf8c9 --

[issue39873] Debug mode: check if objects are valid

2020-03-06 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18165 pull_request: https://github.com/python/cpython/pull/18807 ___ Python tracker ___

[issue39876] csv.DictReader.fieldnames interprets unicode as ascii

2020-03-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: csv.DictReader does not work with encodings. It works with already decoded strings. You have to specify the correct encoding in open() (and "t" in mode is ignored): with open(filename, "r", encoding="utf-8") as csvfile: By default open() uses locale

[issue39877] Daemon thread is crashing in PyEval_RestoreThread() while the main thread is exiting the process

2020-03-06 Thread STINNER Victor
New submission from STINNER Victor : Sometimes, test_multiprocessing_spawn does crash in PyEval_RestoreThread() on FreeBSD with a coredump. This issue should be the root cause of bpo-39088: "test_concurrent_futures crashed with python.core core dump on AMD64 FreeBSD Shared 3.x", where the

[issue39875] urllib.request.urlopen sends POST data as query string

2020-03-06 Thread henrik242
henrik242 added the comment: The following gives the same failing result too :( >>> import urllib.request >>> data = 'KEY__9927.1>> name="value">{"result":0,"jobId":"9459695","jobNumber":"9927.1"}' >>> url = 'http://solr.example.no:12699/solr/my_coll/update?commit=true' >>> res =

[issue39877] Daemon thread is crashing in PyEval_RestoreThread() while the main thread is exiting the process

2020-03-06 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file48958/daemon_threads_exit.py ___ Python tracker ___ ___ Python-bugs-list

[issue39877] Daemon thread is crashing in PyEval_RestoreThread() while the main thread is exiting the process

2020-03-06 Thread STINNER Victor
STINNER Victor added the comment: > This issue should be the root cause of bpo-39088: "test_concurrent_futures > crashed with python.core core dump on AMD64 FreeBSD Shared 3.x", (...) I marked bpo-39088 as a duplicate of this issue. -- ___ Python

[issue39088] test_concurrent_futures crashed with python.core core dump on AMD64 FreeBSD Shared 3.x

2020-03-06 Thread STINNER Victor
STINNER Victor added the comment: I identified the root cause: bpo-39877. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Daemon thread is crashing in PyEval_RestoreThread() while the main thread is exiting the process

[issue39877] Daemon thread is crashing in PyEval_RestoreThread() while the main thread is exiting the process

2020-03-06 Thread STINNER Victor
STINNER Victor added the comment: Patch to get a cleaner error if the bug occurs, but also to make the bug more reliable: diff --git a/Python/ceval.c b/Python/ceval.c index ef4aac2f9a..8bf1e4766d 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -382,7 +382,8 @@ PyEval_SaveThread(void)

[issue39573] Make PyObject an opaque structure in the limited C API

2020-03-06 Thread Andy Lester
Change by Andy Lester : -- pull_requests: +18167 pull_request: https://github.com/python/cpython/pull/18809 ___ Python tracker ___

[issue39878] Remove unused args in Python/formatter_unicode.c

2020-03-06 Thread Andy Lester
New submission from Andy Lester : The following functions have unused args: calc_number_widths -> PyObject *number fill_number -> Py_ssize_t d_end -- components: Interpreter Core messages: 363525 nosy: petdance priority: normal severity: normal status: open title: Remove unused args

[issue39878] Remove unused args in Python/formatter_unicode.c

2020-03-06 Thread Andy Lester
Change by Andy Lester : -- keywords: +patch pull_requests: +18168 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18810 ___ Python tracker ___

[issue36144] Dictionary union. (PEP 584)

2020-03-06 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 57c9d1725689dde068a7fccaa7500772ecd16d2e by Brandt Bucher in branch 'master': bpo-36144: Implement defaultdict union (GH-18729) https://github.com/python/cpython/commit/57c9d1725689dde068a7fccaa7500772ecd16d2e --

[issue39877] Daemon thread is crashing in PyEval_RestoreThread() while the main thread is exiting the process

2020-03-06 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18169 pull_request: https://github.com/python/cpython/pull/18811 ___ Python tracker ___

[issue36144] Dictionary union. (PEP 584)

2020-03-06 Thread Guido van Rossum
Guido van Rossum added the comment: Still waiting for ChainMap -- what else? -- ___ Python tracker ___ ___ Python-bugs-list

[issue39879] Update language reference to specify that dict is insertion-ordered.

2020-03-06 Thread Eric Snow
New submission from Eric Snow : As of 3.7 [1], dict is guaranteed to preserve insertion order: the insertion-order preservation nature of dict objects has been declared to be an official part of the Python language spec. However, at least one key part of the language reference [2] was

[issue37497] Add inspect.Signature.from_text().

2020-03-06 Thread Eric Snow
Eric Snow added the comment: Honestly, I don't recall exactly the concrete use case for which I opened this. :) I *think* it was related to applying a more restrictive signature onto an existing function (e.g. with a decorator). -- ___ Python

[issue38894] Path.glob() sometimes misses files that match

2020-03-06 Thread Matt Wozniski
Matt Wozniski added the comment: A simple test case for this issue: ~>mkdir tmp ~>cd tmp tmp>touch 1.txt tmp>ln -s subdir/file 2.txt tmp>touch 3.txt tmp>ls -l total 0 -rw-rw-r-- 1 mwoznisk general 0 Mar 6 14:52 1.txt lrwxrwxrwx 1 mwoznisk general 11 Mar 6 14:52 2.txt -> subdir/file

[issue18307] Relative path in co_filename for zipped modules

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18269] Add new parameter format for converter function w/ position number

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17848] can't compile with clang and build a shared lib due to libffi

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12238] Readline module loading in interactive mode

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue21401] python2 -3 does not warn about str/unicode to bytes conversions and comparisons

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39880] string.lstrip() with leading '3's

2020-03-06 Thread Clayton Bingham
New submission from Clayton Bingham : Code to reproduce the behavior: ``` string = 'h.pt3dadd(.994527806812,7310.741605031661,-152.492,0.2815384615384615,sec=sectionList[1396])\n' print(string.lstrip('h.pt3dadd(').split(',')) ``` The lstrip method removed 'h.pt3dadd(' but also removes

[issue27793] Double underscore variables in module are mangled when used in class

2020-03-06 Thread R. David Murray
R. David Murray added the comment: You are welcome to open a doc-enhancement issue for the global docs. For the other, as noted already if you want to advocate for a change to this behavior you need to start on python-ideas, but I don't think you will get any traction. Another possible

[issue39877] Daemon thread is crashing in PyEval_RestoreThread() while the main thread is exiting the process

2020-03-06 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18174 pull_request: https://github.com/python/cpython/pull/18816 ___ Python tracker ___

[issue18834] Add Clang to distutils to build C/C++ extensions

2020-03-06 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Oh my god this was still open? I think you can just use the CC variable, not sure what 6-years-younger-and-more-stupid me was thinking here. Sorry about the noise. -- stage: patch review -> resolved status: open -> closed

[issue39873] Debug mode: check if objects are valid

2020-03-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9a73705a1d0cb8b89d0a20add2ffa2c4d32950ed by Victor Stinner in branch 'master': bpo-39873: Cleanup _PyObject_CheckConsistency() (GH-18807) https://github.com/python/cpython/commit/9a73705a1d0cb8b89d0a20add2ffa2c4d32950ed --

[issue17422] language reference should specify restrictions on class namespace

2020-03-06 Thread miss-islington
miss-islington added the comment: New changeset f1b79645cf18b2c212cd26d547cd1762fd534d4b by Miss Islington (bot) in branch '3.7': bpo-17422: slightly more precise language (GH-18682) https://github.com/python/cpython/commit/f1b79645cf18b2c212cd26d547cd1762fd534d4b --

[issue39810] Generic script for finding bugs in get_source_segment

2020-03-06 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- nosy: +levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18834] Add Clang to distutils to build C/C++ extensions

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37497] Add inspect.Signature.from_text().

2020-03-06 Thread Yury Selivanov
Yury Selivanov added the comment: I'd be fine with `Signature.from_text()`, but not with `Signature` constructor / `signature()` function accepting both callable and string arguments. Overall, I think that we ought to have a real need to add this new API, so unless there's a good (or any,

[issue19941] python -m imports non-ASCII .py file without encoding declaration

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38894] Path.glob() sometimes misses files that match

2020-03-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +18173 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18815 ___ Python tracker

[issue39882] Py_FatalError(): log automatically the function name

2020-03-06 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18177 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18819 ___ Python tracker ___

[issue36144] Dictionary union. (PEP 584)

2020-03-06 Thread Brandt Bucher
Brandt Bucher added the comment: My brother will have a ChainMap PR up soon. I'm just finishing up MappingProxyType, myself. Probably both this weekend. Then I'll move on to OrderedDict, which looks like it could be tricky. I'll need to familiarize myself with the implementation better

[issue16981] ImportError hides real error when there too many open files during an import

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: Now that importlib is import and it would raise OSError I'm closing this as fixed. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue18275] Make isinstance() work with super type instances

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: After 6 years and no really movement I don't think we are going to bother to change the semantics for this. :) -- resolution: -> wont fix stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue17716] From ... import fails when parent package failed but child module succeeded, yet works in std import case

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: Import now has proper messaging of the failure in the package and not an error about being unable to import the submodule. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue18717] test for request.urlretrieve

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39861] French doc __futur__: Bad URL

2020-03-06 Thread Matheus Vieira Portela
Matheus Vieira Portela added the comment: The PR has already been merged. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39127] _Py_HashPointer's void * argument should be const

2020-03-06 Thread Andy Lester
Andy Lester added the comment: Is there more to do here or can it be closed? -- ___ Python tracker ___ ___ Python-bugs-list

[issue17422] language reference should specify restrictions on class namespace

2020-03-06 Thread miss-islington
miss-islington added the comment: New changeset e59334ebc9308b0f3ad048ef293c6b49e6456d1a by Caleb Donovick in branch 'master': bpo-17422: slightly more precise language (GH-18682) https://github.com/python/cpython/commit/e59334ebc9308b0f3ad048ef293c6b49e6456d1a --

[issue16894] Function attribute access doesn't invoke methods in dict subclasses

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19081] zipimport behaves badly when the zip file changes while the process is running

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19531] Loading -OO bytecode files if -O was requested can lead to problems

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: .pyc files now include their optimization levels in their file names. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue38894] Path.glob() sometimes misses files that match

2020-03-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I fail to reproduce this last example: ~/github/python/master master* ❯ mkdir tmp ~/github/python/master master* ❯ cd tmp ~/github/python/master/tmp master* ❯ touch 1.txt ~/github/python/master/tmp master* ❯ ln -s

[issue18961] Non-UTF8 encoding line

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18862] Implement __subclasshook__() for Finders and Loaders in importlib.abc

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18831] importlib.import_module() bypasses builtins.__import__

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: I'm calling it and saying people are not expecting these semantics. -- resolution: -> not a bug stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue19298] Use __attribute__(cleanup ...) to detect refleaks

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: This is still a neat idea. :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38894] Path.glob() sometimes misses files that match

2020-03-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg363548 ___ Python tracker ___ ___ Python-bugs-list

[issue21031] [patch] Add AlpineLinux to the platform module's supported distributions list

2020-03-06 Thread SilentGhost
Change by SilentGhost : -- versions: +Python 3.9 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17422] language reference should specify restrictions on class namespace

2020-03-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +18171 pull_request: https://github.com/python/cpython/pull/18813 ___ Python tracker ___

[issue17422] language reference should specify restrictions on class namespace

2020-03-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +18170 pull_request: https://github.com/python/cpython/pull/18812 ___ Python tracker ___

[issue17422] language reference should specify restrictions on class namespace

2020-03-06 Thread Eric Snow
Eric Snow added the comment: Thanks for fixing that, Caleb! FWIW, I've opened a separate issue (#39879) for adding a note in the language reference about dict ordering. Sorry for the confusion. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue16891] Fix docs about module search order

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19698] Implement _imp.exec_builtin and exec_dynamic

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- assignee: docs@python -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19533] Unloading docstrings from memory if -OO is given

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: Do note that .pyc files now encode their optimization levels, so the only thing to potentially do here is change the compiler to toss docstrings out and make sure they are freed when they are parsed to avoid holding on to them. --

[issue19533] Unloading docstrings from memory if -OO is given

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27793] Double underscore variables in module are mangled when used in class

2020-03-06 Thread Jan Christoph
Jan Christoph added the comment: In particular, this might conflict with the documentation of global, which states: > If the target is an identifier (name): > >If the name does not occur in a global statement in the current code > block: the name is bound to the object in the current

[issue39881] Multiple Interpreters in the Stdlib (PEP 554) - High-level Implementation

2020-03-06 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +18175 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18817 ___ Python tracker

[issue39573] Make PyObject an opaque structure in the limited C API

2020-03-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 557287075c264d2458cd3e1b45e9b8ee5341e0a1 by Andy Lester in branch 'master': bpo-39573: Use Py_IS_TYPE() macro to check for types (GH-18809) https://github.com/python/cpython/commit/557287075c264d2458cd3e1b45e9b8ee5341e0a1 --

[issue39882] Py_FatalError(): log automatically the function name

2020-03-06 Thread STINNER Victor
New submission from STINNER Victor : Attached PR modify Py_FatalError() to log automatically the function name. -- components: C API messages: 363565 nosy: vstinner priority: normal severity: normal status: open title: Py_FatalError(): log automatically the function name versions:

[issue17422] language reference should specify restrictions on class namespace

2020-03-06 Thread miss-islington
miss-islington added the comment: New changeset 6df0c47669031c6a8e9b1a07ec2c5813e4c10ee0 by Miss Islington (bot) in branch '3.8': bpo-17422: slightly more precise language (GH-18682) https://github.com/python/cpython/commit/6df0c47669031c6a8e9b1a07ec2c5813e4c10ee0 --

[issue36144] Dictionary union. (PEP 584)

2020-03-06 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +18172 pull_request: https://github.com/python/cpython/pull/18814 ___ Python tracker ___

[issue17004] Expand zipimport to include other compression methods

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >