[issue27313] test case failures in test_widgets.ComboboxTest.of test_ttk_guionly on OS X with Cocoa Tk 8.5.18

2019-02-23 Thread Ned Deily
Ned Deily added the comment: New changeset 1dee4565fae9ccb54719fa99d7944c148736083a by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-27313: Avoid test_ttk_guionly ComboboxTest fail with macOS Cocoa Tk (GH-12011) (GH-12013)

[issue26386] tkinter - Treeview - .selection_add and selection_toggle

2019-02-23 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +12045 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27313] test case failures in test_widgets.ComboboxTest.of test_ttk_guionly on OS X with Cocoa Tk 8.5.18

2019-02-23 Thread miss-islington
miss-islington added the comment: New changeset 25d20a6503f3cd4ff8cf0e8ee33eea2b1daa77a8 by Miss Islington (bot) in branch '3.7': bpo-27313: Avoid test_ttk_guionly ComboboxTest fail with macOS Cocoa Tk (GH-12011)

[issue27313] test case failures in test_widgets.ComboboxTest.of test_ttk_guionly on OS X with Cocoa Tk 8.5.18

2019-02-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +12043 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27313] test case failures in test_widgets.ComboboxTest.of test_ttk_guionly on OS X with Cocoa Tk 8.5.18

2019-02-23 Thread Ned Deily
Ned Deily added the comment: New changeset aeca373b339e0ea9739536ce6b43bd90f3b89873 by Ned Deily in branch 'master': bpo-27313: Avoid test_ttk_guionly ComboboxTest fail with macOS Cocoa Tk (GH-12011) https://github.com/python/cpython/commit/aeca373b339e0ea9739536ce6b43bd90f3b89873

[issue27313] test case failures in test_widgets.ComboboxTest.of test_ttk_guionly on OS X with Cocoa Tk 8.5.18

2019-02-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +12044 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24090] Add a "copy value to clipboard" option to the debugger

2019-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: The squeezer feature added last summer can be used to copy large output in Shell to the clipboard. '>>> [None]*1' results in a squeezer label representing 750 wrapped lines. Note that pasting into a new editor disables it for awhile. (Editor does not

[issue27313] test case failures in test_widgets.ComboboxTest.of test_ttk_guionly on OS X with Cocoa Tk 8.5.18

2019-02-23 Thread Ned Deily
Change by Ned Deily : -- keywords: +patch pull_requests: +12042 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue1442493] IDLE shell window gets very slow when displaying long lines

2019-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Squeezer was added last summer, and definitely helps, but I still intend to consider other points raised here. -- ___ Python tracker ___

[issue1442493] IDLE shell window gets very slow when displaying long lines

2019-02-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.8 -Python 2.7, Python 3.3, Python 3.4, Python 3.7 ___ Python tracker ___ ___

[issue36045] builtins.help function is not much help with async functions

2019-02-23 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +12041 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue23216] IDLE grep/find/replace source code needs docstrings

2019-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Current module names, docstring status, and note. grep - present, some args not doc'ed replace - spotty; do not repetively doc 'event=None' args search - ditto searchbase - present searchengine - present; do not separately docstring 'isxyz' wrappers Closing

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-23 Thread miss-islington
miss-islington added the comment: New changeset 79fbcc597dfd039d3261fffcb519b5ec5a18df9d by Miss Islington (bot) (Raymond Hettinger) in branch 'master': bpo-36018: Make __pos__ return a distinct instance of NormDist (GH-12009)

[issue36099] Clarify the difference between mu and xbar in the statistics documentation

2019-02-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Without necessarily defining what each means, > perhaps it is sufficient to change this clause in the docs +1 That is a simple way to address the concern. -- nosy: +rhettinger ___ Python tracker

[issue23205] Unit test needed for IDLE's GrepDialog.py's findfiles()

2019-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Findfiles was more like os.walk than os.listdir. os.walk now uses os.scandir instead of os.listdir. From 3.7.2 doc: "By default, errors from the scandir() call are ignored. If optional argument onerror is specified, it should be a function; it will be

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: Steven, Davin, Michael: Thanks for the encouragement and taking the time to review this code. -- ___ Python tracker ___

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +12040 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Why use object.__setattr__(self, 'mu', mu) instead of > self.mu = mu in the __init__ method? The idea was the instances should be immutable and hashable, but this added unnecessary complexity, so I took this out prior to the check in. > Should __pos__

[issue36099] Clarify the difference between mu and xbar in the statistics documentation

2019-02-23 Thread Davin Potts
Davin Potts added the comment: Without necessarily defining what each means, perhaps it is sufficient to change this clause in the docs: it should be the mean of data For pvariance() it could read as: it should be the *population* mean of data And for variance() it could read as:

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-23 Thread Davin Potts
Davin Potts added the comment: Steven: Your point about population versus sample makes sense and your point that altering their names would be a breaking change is especially important. I think that pretty well puts an end to my suggestion of alternative names and says the current pattern

[issue24310] Idle documentation -- what to do if you do not see an underscore.

2019-02-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36095] Better NaN sorting.

2019-02-23 Thread Tim Peters
Tim Peters added the comment: If we could roll back the clock, I'd impose a total ordering on floats in Python and supply some other way to spell 754's comparison operators (which users would have to ask for explicitly if they wanted to hassle with the near-useless and too-often-surprising

[issue33043] Add a 'Contributing to Docs' link at the bottom of docs.python.org

2019-02-23 Thread Ned Deily
Change by Ned Deily : -- nosy: +mdk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24310] Idle documentation -- what to do if you do not see an underscore.

2019-02-23 Thread miss-islington
miss-islington added the comment: New changeset 38aea4131f57769d2c3d136b09172760db097605 by Miss Islington (bot) in branch '3.7': bpo-24310: Document IDLE settings dialog font tab sample (GH-12007) https://github.com/python/cpython/commit/38aea4131f57769d2c3d136b09172760db097605 --

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-23 Thread Davin Potts
Davin Potts added the comment: @Giampaolo: The docstring in the shared_memory module currently marks the API as experimental. (You read my mind...) I will start a new PR where we can work on the better-integration-into-the-larger-multiprocessing-docs and add comments there. --

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-23 Thread Davin Potts
Davin Potts added the comment: New changeset e895de3e7f3cc2f7213b87621cfe9812ea4343f0 by Davin Potts in branch 'master': bpo-35813: Tests and docs for shared_memory (#11816) https://github.com/python/cpython/commit/e895de3e7f3cc2f7213b87621cfe9812ea4343f0 --

[issue24310] Idle documentation -- what to do if you do not see an underscore.

2019-02-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +12039 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue24310] Idle documentation -- what to do if you do not see an underscore.

2019-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d610116a2e48b55788b62e11f2e6956af06b3de0 by Terry Jan Reedy in branch 'master': bpo-24310: Document IDLE settings dialog font tab sample (GH-12007) https://github.com/python/cpython/commit/d610116a2e48b55788b62e11f2e6956af06b3de0 --

[issue24310] Idle documentation -- what to do if you do not see an underscore.

2019-02-23 Thread Ned Deily
Change by Ned Deily : -- nosy: -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24310] Idle documentation -- what to do if you do not see an underscore.

2019-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I don't think one 4-years-old anonymous report missing essential details, and not verified since, is sufficient to drive a doc change, especially since the Mac installer has switched from recommending ActiveState 8.5.18 to installing our own compilation of

[issue24310] Idle documentation -- what to do if you do not see an underscore.

2019-02-23 Thread Ned Deily
Change by Ned Deily : -- nosy: -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24310] Idle documentation -- what to do if you do not see an underscore.

2019-02-23 Thread Ned Deily
Ned Deily added the comment: Sorry this issue slipped off my radar. Terry's new PR 12007 provides a more general documentation update such that the I no longer think the tcltk page should be updated. Removing myself. -- assignee: ned.deily -> versions: +Python 3.7, Python 3.8

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-23 Thread Steven D'Aprano
Steven D'Aprano added the comment: Davin: the chice of using mu versus xbar was deliberate, as they represent different quantities: the population mean versus a sample mean. But reading over the docs with fresh eyes, I can now see that the distinction is not as clear as I intended. I think

[issue36099] Clarify the difference between mu and xbar in the statistics documentation

2019-02-23 Thread Steven D'Aprano
New submission from Steven D'Aprano : The documentation isn't clear as to the difference between mu and xbar, and why one is used in variance and the other in pvariance. See #36018 for discussion. For the record: mu or μ is the population parameter, i.e. the mean of the entire population, if

[issue24310] Idle documentation -- what to do if you do not see an underscore.

2019-02-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +12038 stage: -> patch review ___ Python tracker ___ ___

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-23 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: IMHO given the size of the change and how quickly this evolved I would probably feel safer to mark the API as experimental (no pun intended, this is great work), at least in alpha2. I believe we now have a good explanation in the docs but it still needs

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-23 Thread Steven D'Aprano
Steven D'Aprano added the comment: Karthikeyan: thanks for the hint about Github. Raymond: thanks for the diff. Some comments: Why use object.__setattr__(self, 'mu', mu) instead of self.mu = mu in the __init__ method? Should __pos__ return a copy rather than the instance itself? The rest

[issue33043] Add a 'Contributing to Docs' link at the bottom of docs.python.org

2019-02-23 Thread Susan Su
Change by Susan Su : -- keywords: +patch pull_requests: +12037 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue21150] Add quick links table to argparse docs

2019-02-23 Thread Susan Su
Change by Susan Su : -- keywords: +patch pull_requests: +12036 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue36095] Better NaN sorting.

2019-02-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: This issue isn't sorting. The issue is with what NaNs do. You can propose to "fix" NaNs rather than special casing everything else in Python that compares two values. A NaN could be given a deterministic sort order relative to other floats (much as

[issue34211] Cygwin build broken due to use of _Type in static declaration in _abc module

2019-02-23 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34211] Cygwin build broken due to use of _Type in static declaration in _abc module

2019-02-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +12035 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36098] asyncio: ssl client-server with "slow" read

2019-02-23 Thread MultiSosnooley
New submission from MultiSosnooley : Recently, some awesome contributors add support for implicit ssl mode for aioftp. But this produced some issues and one of them is not relevant to aioftp, but to asyncio. Here is link

[issue36097] Use only public C-API in _xxsubinterpreters module.

2019-02-23 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +12034 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue36097] Use only public C-API in _xxsubinterpreters module.

2019-02-23 Thread Eric Snow
New submission from Eric Snow : After discussions about our use of the public C-API in stdlib extension modules, I realized that I'd written the _xxsubinterpreters module using internal C-API. However, there's no reason not to stick to the public C-API. Fixing this will require adding a

[issue36095] Better NaN sorting.

2019-02-23 Thread Brandt Bucher
Brandt Bucher added the comment: Thanks for the feedback. I agree with you on the iffy delegation issue. However, this is problem that I feel deserves a fix... the behavior (silently producing garbage results) is just so un-pythonic. It’s been made clear in other issues that a warning isn’t

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-23 Thread Davin Potts
Davin Potts added the comment: There is an inconsistency worth paying attention to in the choice of names of the input parameters. Currently in the statistics module, pvariance() accepts a parameter named "mu" and pstdev() and variance() each accept a parameter named "xbar". The docs

[issue36085] Enable better DLL resolution

2019-02-23 Thread Steve Dower
Steve Dower added the comment: > Correct me if I'm wrong, don't process launches use the `env` kwarg for > Popen, not the raw os.environ['PATH']? If you don't provide env, it'll use the current process's environment, and if you do provide it without copying at least some entries, chances

[issue36096] IDLE: Refactor class variables to instance variables in colorizer

2019-02-23 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +12033 stage: -> patch review ___ Python tracker ___ ___

[issue36096] IDLE: Refactor class variables to instance variables in colorizer

2019-02-23 Thread Cheryl Sabella
New submission from Cheryl Sabella : >From Terry's comment on PR11472 for issue 35689: > I don't like the use of class variables to initialize volatile instance state > variables. I think it confuses the code a bit. Better, I think, to put them > in an `init_state` method called from

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: Okay, it's in for the second alpha. Please continue to make API or implementation suggestions. Nothing is set in stone. -- ___ Python tracker

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 11c79531655a4aa3f82c20ff562ac571f40040cc by Raymond Hettinger in branch 'master': bpo-36018: Add the NormalDist class to the statistics module (GH-11973) https://github.com/python/cpython/commit/11c79531655a4aa3f82c20ff562ac571f40040cc

[issue36095] Better NaN sorting.

2019-02-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: -1 I am flat opposed to special casing the list.sort() code for the specific case of NaNs. This is an incorrect delegation of responsibility. The sorted objects are responsible for saying how they will sort and whether than is. deterministic. Note,

[issue35724] Check for main interpreter when checking for "main" thread (for signal handling)

2019-02-23 Thread Eric Snow
Change by Eric Snow : -- assignee: -> eric.snow resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35724] Check for main interpreter when checking for "main" thread (for signal handling)

2019-02-23 Thread Eric Snow
Eric Snow added the comment: New changeset 64d6cc826dacebc2493b1bb5e8cb97828eb76f81 by Eric Snow in branch 'master': bpo-35724: Explicitly require the main interpreter for signal-handling. (GH-11530) https://github.com/python/cpython/commit/64d6cc826dacebc2493b1bb5e8cb97828eb76f81

[issue36083] Misformated manpage: --check-hash-based-pycs ´default´|´always´|´never´

2019-02-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: A PR would be welcome. On Sat, Feb 23, 2019, at 12:08, Cheryl Sabella wrote: > > Cheryl Sabella added the comment: > > Thanks for the report, Miro! Adding Benjamin Peterson to the nosy, > since that was his commit. I'd wait until he comments before

[issue36091] clean up async generator from types module

2019-02-23 Thread Henry Chen
Henry Chen added the comment: As it happens @cheryl.sabella has created a very useful data set of which files are impacted by open PRs: https://github.com/csabella/pulls and as of 2019-02-18, the only open PR that relates to Lib/types.py is https://github.com/python/cpython/pull/5068 on an

[issue36085] Enable better DLL resolution

2019-02-23 Thread mattip
mattip added the comment: > legitimately modify PATH for process launches Correct me if I'm wrong, don't process launches use the `env` kwarg for Popen, not the raw os.environ['PATH']? -- ___ Python tracker

[issue36095] Better NaN sorting.

2019-02-23 Thread Brandt Bucher
Brandt Bucher added the comment: As a design decision, I consciously chose "no". However, it would be straightforward to make the change to support float subclasses: #define ISNAN(N) (N->ob_type == _Type && Py_IS_NAN(PyFloat_AsDouble(N))) becomes #define ISNAN(N) (PyFloat_Check(N) &&

[issue36090] spelling error in PEP219 introduction

2019-02-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: Yes, 景云鹏, Karthikeyan, or Joannah, please open an issue on the PEPs repo and then add the link here and close this issue. 景云鹏, if you're interested in submitting a PR, the process is similar on the PEPs repo, so feel free to work on this issue there. Also,

[issue36095] Better NaN sorting.

2019-02-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Does it work for subclasses of float? For other floating point types like numpy.float32? -- nosy: +serhiy.storchaka ___ Python tracker

[issue36094] When using an SMTP SSL connection,, get ValueError.

2019-02-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: tyrone-zhao, thank you for the report and the detail on the commit. Adding @christian.heimes to the nosylist as he added change this under issue19785 and @dstufft as he modified it to be `self._host`. -- nosy: +cheryl.sabella, christian.heimes,

[issue36083] Misformated manpage: --check-hash-based-pycs ´default´|´always´|´never´

2019-02-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks for the report, Miro! Adding Benjamin Peterson to the nosy, since that was his commit. I'd wait until he comments before making a PR. -- nosy: +benjamin.peterson, cheryl.sabella ___ Python tracker

[issue36095] Better NaN sorting.

2019-02-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: This has been brought up in the past, for example, see #12286. -- nosy: +cheryl.sabella ___ Python tracker ___

[issue36095] Better NaN sorting.

2019-02-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger, tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35724] Check for main interpreter when checking for "main" thread (for signal handling)

2019-02-23 Thread Eric Snow
Change by Eric Snow : -- pull_requests: -11124 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36095] Better NaN sorting.

2019-02-23 Thread Brandt Bucher
Change by Brandt Bucher : -- keywords: +patch pull_requests: +12031 stage: -> patch review ___ Python tracker ___ ___

[issue36095] Better NaN sorting.

2019-02-23 Thread Brandt Bucher
New submission from Brandt Bucher : Sorting sequences containing NaN values produces an incompletely sorted result. Further, because of the complexity of the timsort, this incomplete sort often silently produces unintuitive, unstable-seeming results that are extremely sensitive to the

[issue35512] patch.dict resolves in_dict eagerly (should be late resolved)

2019-02-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +12030 stage: -> patch review ___ Python tracker ___ ___

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: Any objections to getting this patch applied today so that it will be in the second alpha? Of course, further adjustments can still be made afterwards if needed. -- ___ Python tracker

[issue1054041] Python doesn't exit with proper resultcode on SIGINT

2019-02-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 06babb24225d41a76e4aee975380294ca1ee1d7c by Gregory P. Smith in branch 'master': bpo-1054041: Add What's New docs. (GH-11999) https://github.com/python/cpython/commit/06babb24225d41a76e4aee975380294ca1ee1d7c --

[issue36085] Enable better DLL resolution

2019-02-23 Thread Steve Dower
Steve Dower added the comment: > Even better would be official python/Microsoft support for a CLI version of > depends.exe like ldd on linux The dumpbin.exe tool with /IMPORTS is a good start, and I've definitely wrapped it in Python before to do this kind of analysis (not reproducibly,

[issue35886] Move PyInterpreterState into Include/internal/pycore_pystate.h

2019-02-23 Thread Eric Snow
Change by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35886] Move PyInterpreterState into Include/internal/pycore_pystate.h

2019-02-23 Thread Eric Snow
Eric Snow added the comment: New changeset be3b295838547bba267eb08434b418ef0df87ee0 by Eric Snow in branch 'master': bpo-35886: Make PyInterpreterState an opaque type in the public API. (GH-11731) https://github.com/python/cpython/commit/be3b295838547bba267eb08434b418ef0df87ee0 --

[issue1054041] Python doesn't exit with proper resultcode on SIGINT

2019-02-23 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +12029 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4502] Allowing get_pre_input_hook from Readline

2019-02-23 Thread Sanyam Khurana
Sanyam Khurana added the comment: I'm working on applying this patch cleanly and writing a test for this. However, it seems I'm unable to import `readline` in compiled version of Python. I'm trying to provide a path to the installation of readline in my system using LDFLAGS, and then

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-23 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > Side note: I’m the author of the sysv_ipc package you found, as well as the > posix_ipc package. Sorry, I didn't realize it was you. > Not true. A manager started by one process can be connected to by another > process that is not a child. This is

[issue36094] When using an SMTP SSL connection,, get ValueError.

2019-02-23 Thread SilentGhost
Change by SilentGhost : -- stage: patch review -> type: resource usage -> behavior versions: +Python 3.8 ___ Python tracker ___

[issue36094] When using an SMTP SSL connection,, get ValueError.

2019-02-23 Thread SilentGhost
Change by SilentGhost : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35648] Add use_srcentry parameter to shutil.copytree()

2019-02-23 Thread flokX
flokX added the comment: You are right about the bug. The funny thing is, I never saw it. The problem I see is another. The use_srcentry variable in the _copytree function is set by determining if the copy_function is the function copy2 or copy. If so the srcentry is passed to the

[issue36094] When using an SMTP SSL connection,, get ValueError.

2019-02-23 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +12027 stage: -> patch review ___ Python tracker ___ ___

[issue36094] When using an SMTP SSL connection,, get ValueError.

2019-02-23 Thread 赵军昱
New submission from 赵军昱 <200612...@qq.com>: The following bug occurs when you connect after creating an instance of SMTP_SSL: ``` import smtplib smtp_server = "smtp.163.com" con2 = smtplib.SMTP_SSL() con2.connect(smtp_server, 465) ``` ValueError: server_hostname cannot be an empty string or

[issue35648] Add use_srcentry parameter to shutil.copytree()

2019-02-23 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: It turns out that's a bug I introduced in PR-7874. I'm providing: https://github.com/python/cpython/pull/11997 ...which fixes it without introducing a new parameter. I also verified that monkey patching shutil.copy2 and shutil.copy doesn't cause any issue.

[issue35652] Add use_srcentry parameter to shutil.copytree() II

2019-02-23 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- pull_requests: +12024 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33695] Have shutil.copytree(), copy() and copystat() use cached scandir() stat()s

2019-02-23 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- pull_requests: +12025 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36085] Enable better DLL resolution

2019-02-23 Thread mattip
mattip added the comment: Clear documentation would go a long way toward onboarding package providers. Of course this does not solve the problem for packages with no active ongoing support for windows, and will annoy developers whose code base is full of `os.environ['PATH']` games. Perhaps

[issue35512] patch.dict resolves in_dict eagerly (should be late resolved)

2019-02-23 Thread Mario Corchero
Mario Corchero added the comment: Great, all yours :) I'll be happy to review. -- ___ Python tracker ___ ___ Python-bugs-list

[issue35512] patch.dict resolves in_dict eagerly (should be late resolved)

2019-02-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Mario for the details. I had almost the same patch while writing msg336300 :) There were no test case failures except that I had resolved it in the constructor storing the string representation as a separate variable and also while calling

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-23 Thread Davin Potts
Davin Potts added the comment: > FWIW I bumped into this lib: http://semanchuk.com/philip/sysv_ipc/ The author of that lib, Philip Semanchuk, is one of the people participating in this effort -- he has posted above in msg334934 here on b.p.o. and has helped review the PR in GH-11816. He is

[issue35648] Add use_srcentry parameter to shutil.copytree()

2019-02-23 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- assignee: docs@python -> resolution: later -> status: closed -> open ___ Python tracker ___ ___

[issue35652] Add use_srcentry parameter to shutil.copytree() II

2019-02-23 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Not sure why you created 2 identical issues. Closing this one as a duplicate of issue35648. -- nosy: +giampaolo.rodola resolution: -> duplicate stage: patch review -> resolved status: open -> closed ___ Python

[issue35652] Add use_srcentry parameter to shutil.copytree() II

2019-02-23 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- pull_requests: -12023 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-23 Thread Philip Semanchuk
Philip Semanchuk added the comment: > On Feb 23, 2019, at 10:40 AM, Giampaolo Rodola' > wrote: > > > Giampaolo Rodola' added the comment: > >> We are consciously choosing to not support an atomic "create or attach". >> This significantly simplifies the API and avoids the valid concerns

[issue35512] patch.dict resolves in_dict eagerly (should be late resolved)

2019-02-23 Thread Mario Corchero
Mario Corchero added the comment: Interesting, `patch` does resolve it when the patched function is called (see https://github.com/python/cpython/blob/175421b58cc97a2555e474f479f30a6c5d2250b0/Lib/unittest/mock.py#L1269) vs patch.dict that resolves it at the time the patcher is created - when

[issue35431] Add a function for computing binomial coefficients to the math module

2019-02-23 Thread Yash Aggarwal
Yash Aggarwal added the comment: Can I get a consensus on weather math.perm() is needed? -- ___ Python tracker ___ ___

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-23 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > We are consciously choosing to not support an atomic "create or attach". > This significantly simplifies the API and avoids the valid concerns raised > around user confusion relating to that behavior (including the use of > different specified 'size'

[issue35652] Add use_srcentry parameter to shutil.copytree() II

2019-02-23 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- pull_requests: +12023 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33695] Have shutil.copytree(), copy() and copystat() use cached scandir() stat()s

2019-02-23 Thread flokX
Change by flokX : -- pull_requests: +12022 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36090] spelling error in PEP219 introduction

2019-02-23 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: xtreak, I agree. I think the best way to report an issue on a PEP is on the github repository for PEPs. Feel free to open an issue here : https://github.com/python/peps/issues. -- nosy: +nanjekyejoannah ___

[issue34656] [CVE-2018-20406] memory exhaustion in Modules/_pickle.c:1393

2019-02-23 Thread dfmz77669
dfmz77669 added the comment: In python2, Picklertype donot has tp init which has bug in python3 Pickler_Type. I think it not effect python2. Can you arch more infor? thanks -- components: +ctypes -FreeBSD nosy: +dfmz77669 versions: -Python 3.4, Python 3.5, Python 3.6, Python 3.7,

  1   2   >