Re: Pylint false positives

2018-08-14 Thread Frank Millman
"Frank Millman" wrote in message news:pku0qd$ua5$1...@blaine.gmane.org... Pylint is flagging a lot of lines as errors that I would consider to be acceptable. I have an abstract class ClassA with a number of concrete sub-classes. ClassA has a method which invokes 'self.method_b()' which is

help! PyQt4 and UTF-8

2018-08-14 Thread inhahe
I can display UTF-8 when I use wxPython: -- import wx app = wx.App() s = 'testing\xf0\x9f\x98\x80' frame = wx.Frame(None, wx.ID_ANY) font = wx.Font("Arial") textbox = wx.TextCtrl(frame, id=wx.ID_ANY) textbox.SetFont(font) textbox.WriteText(s) frame.Show() app.MainLoop() -- But when I try

[issue34370] Tkinter scroll issues on macOS

2018-08-14 Thread Kevin Walzer
Kevin Walzer added the comment: I just committed http://core.tcl.tk/tk/info/26a029b4a88ff97f, which fixes the scrolling issue in Tk. Running the test scripts here indicate the behavior is now correct; clicking several pixels below the bottom part of the scroll button causes the scroll to

[issue34410] Segfault/TimeoutError: itertools.tee of multiprocessing.pool.imap_unordered

2018-08-14 Thread Carlo Rosati
New submission from Carlo Rosati : Hello, When I run the attached code, I encounter a segmentation fault. Thanks, Carlo -- files: 3.py messages: 323546 nosy: carlorosati priority: normal severity: normal status: open title: Segfault/TimeoutError: itertools.tee of

[issue34392] Add sys.isinterned()

2018-08-14 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Agreed it should be non-public, but can we please call it sys._is_interned()? -- nosy: +barry ___ Python tracker ___

[issue34409] Add a way to customize iteration over fields in asdict() for the nested dataclasses

2018-08-14 Thread mkurnikov
mkurnikov added the comment: from pprint import pprint from typing import List, Any, Dict import dataclasses from dataclasses import field def service_interface_dict_factory(obj: Any) -> Dict[str, Any]: print(type(obj)) # <- type(obj) here is a list, but there's no way to understand

Re: How to pass Python command line options (vs arguments) when running script directly vs via Python interpreter?

2018-08-14 Thread Malcolm Greene
> You might try: > from getopt import getopt > or the (apparently newer): > from optparse import OptionParser Thanks Mike. My question was trying to make a distinction between Python options (flags that precede the script or module name) and arguments (the script specific values passed on the

Re: How to pass Python command line options (vs arguments) when running script directly vs via Python interpreter?

2018-08-14 Thread Malcolm Greene
> If you run the script directly, by entering >script.py or clicking a script > icon or name in File Explorer, it runs python without python options *other > than those specified in environmental variables*. Understood. I thought there might have been a way to pass Python option values via a

[issue34409] Add a way to customize iteration over fields in asdict() for the nested dataclasses

2018-08-14 Thread Eric V. Smith
Change by Eric V. Smith : -- assignee: -> eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34409] Add a way to customize iteration over fields in asdict() for the nested dataclasses

2018-08-14 Thread Eric V. Smith
Eric V. Smith added the comment: Could you show some example dataclass instances? Also, show the output you get with asdict(), and show what output you'd like to get instead. I'm not sure I understand it correctly from the description you've given. Thanks! -- nosy: +eric.smith

[issue34409] Add a way to customize iteration over fields in asdict() for the nested dataclasses

2018-08-14 Thread mkurnikov
New submission from mkurnikov : Suppose I have two dataclasses: @dataclass class NestedDataclass(object): name: str options: Dict[str, Any] = field(default_factory=dict) @dataclass class RootDataclass(object): nested_list: List[NestedDataclass] I want a dict under the key

Re: How to pass Python command line options (vs arguments) when running script directly vs via Python interpreter?

2018-08-14 Thread Michael F. Stemper
On 2018-08-14 16:45, Malcolm Greene wrote: > When you run a script via "python3 script.py" you can include command > line options like -b, -B, -O, -OO, etc between the "python3" interpreter > reference and the script.py file, eg. "python3 -b -B -O -OO script.py". > When you create a script that is

Re: How to pass Python command line options (vs arguments) when running script directly vs via Python interpreter?

2018-08-14 Thread Terry Reedy
On 8/14/2018 5:45 PM, Malcolm Greene wrote: When you run a script via "python3 script.py" you can include command line options like -b, -B, -O, -OO, etc between the "python3" interpreter reference and the script.py file, eg. "python3 -b -B -O -OO script.py". More generally, python script.py

[issue32485] Multiprocessing dict sharing between forked processes

2018-08-14 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33930] Segfault with deep recursion into object().__dir__

2018-08-14 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

How to pass Python command line options (vs arguments) when running script directly vs via Python interpreter?

2018-08-14 Thread Malcolm Greene
When you run a script via "python3 script.py" you can include command line options like -b, -B, -O, -OO, etc between the "python3" interpreter reference and the script.py file, eg. "python3 -b -B -O -OO script.py". When you create a script that is executable directly, eg. script.py with execution

Re: Pylint false positives

2018-08-14 Thread Terry Reedy
On 8/14/2018 5:05 AM, Thomas Jollans wrote: On 2018-08-14 09:38, Frank Millman wrote: Hi all Pylint is flagging a lot of lines as errors that I would consider to be acceptable. I have an abstract class ClassA with a number of concrete sub-classes. ClassA has a method which invokes

[issue34397] remove redundant overflow checks in tuple and list implementations

2018-08-14 Thread Tim Peters
Tim Peters added the comment: Bah - the relevant thing to assert is really assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) <= (size_t)PY_SSIZE_T_MAX); C sucks ;-) -- ___ Python tracker

[issue34397] remove redundant overflow checks in tuple and list implementations

2018-08-14 Thread Tim Peters
Tim Peters added the comment: I agree there's pointless code now, but don't understand why the patch replaces it with mysterious asserts. For example, what's the point of this? assert(Py_SIZE(a) <= PY_SSIZE_T_MAX / sizeof(PyObject*)); assert(Py_SIZE(b) <= PY_SSIZE_T_MAX /

[issue34392] Add sys.isinterned()

2018-08-14 Thread Brett Cannon
Brett Cannon added the comment: I agree with Christian; this is an implementation detail so it should be flagged as private/internal somehow. -- nosy: +brett.cannon ___ Python tracker

Re: Good reason not to obfuscate URLs (was: Fishing from PyPI ?)

2018-08-14 Thread Ian Kelly
On Tue, Aug 14, 2018 at 1:41 PM Peter J. Holzer wrote: > > On 2018-08-08 05:18:21 +, Gilmeh Serda wrote: > > And if you read email in blasted HTML, chances are they also have an > > image that they serve to you on their "beautiful" page you receive, an > > image whose link which may or may

[issue34408] possible null pointer dereference in pystate.c

2018-08-14 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +8243 stage: -> patch review ___ Python tracker ___ ___

[issue34408] possible null pointer dereference in pystate.c

2018-08-14 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : The problem occurs here: https://github.com/python/cpython/blob/master/Python/pystate.c#L185 If _PyRuntime.interpreters.next_id < 0 then interp is set to NULL and it will be dereferenced later: interp -- components: Interpreter Core

Re: Good reason not to obfuscate URLs (was: Fishing from PyPI ?)

2018-08-14 Thread Peter J. Holzer
On 2018-08-08 05:18:21 +, Gilmeh Serda wrote: > And if you read email in blasted HTML, chances are they also have an > image that they serve to you on their "beautiful" page you receive, an > image whose link which may or may not be equally personalized, and more > often than not has its

[issue34381] Make tests with outbound connection optional

2018-08-14 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: You can run all the tests except the ones that require external network (like SSL for sockets) using: ./python -m test -uall,-network or you can exclude tests using the -x flag. -- ___ Python tracker

[issue34381] Make tests with outbound connection optional

2018-08-14 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg323536 ___ Python tracker ___ ___ Python-bugs-list

[issue34381] Make tests with outbound connection optional

2018-08-14 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: You can run all the tests except the ones that require external network (like SSL for sockets) using: ./python -m test -uall,network or you can exclude tests using the -x flag. -- nosy: +pablogsal ___

[issue34406] Typo in documentation

2018-08-14 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am not sure how people usually refer to the Windows register but this seems that the current line is differentiating from the path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem and the value LongPathsEnabled --

[issue34406] Typo in documentation

2018-08-14 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Isn't this saying that LongPathsEnabled is a value on the path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem? -- nosy: +pablogsal ___ Python tracker

[issue11192] test_socket error on AIX

2018-08-14 Thread Michael Felt
Michael Felt added the comment: The original error reported was fixed by AIX - in AIX 6.1. It will remain unresolved in AIX 5.3. There are currently two other errors in test_socket. FAIL: test_getnameinfo_ipv6_scopeid_symbolic (test.test_socket.GeneralModuleTests)

[issue34356] Add support for args and kwargs in logging.conf

2018-08-14 Thread Vinay Sajip
Vinay Sajip added the comment: There aren't any changes planned to the fileConfig code, other than bug fixes. If you need improved functionality, you can use dictConfig, which already supports improved configuration features when compared to fileConfig. The fileConfig API was present when

[issue19050] [Windows] fflush called on pointer to potentially closed file

2018-08-14 Thread ppperry
Change by ppperry : -- title: [Python 2, Windows] fflush called on pointer to potentially closed file -> [Windows] fflush called on pointer to potentially closed file ___ Python tracker

[issue34407] datetime.time.isoformat function has inconsistent behavior with timezone

2018-08-14 Thread Maksym Shalenyi (Enkidulan)
New submission from Maksym Shalenyi (Enkidulan) : In some cases datetime.time.isoformat shows timezone info, but in some does not. Consider the example below. import datetime import pytz t = dict(hour=12, minute=31, second=21, microsecond=213456) # `datetime.time.isoformat` has inconsistent

[issue34405] Upgrade to OpenSSL 1.1.0i / 1.0.2p

2018-08-14 Thread Steve Dower
Steve Dower added the comment: I've pushed the new sources for the Windows build, and am about to do the new binaries. If someone else gets to updating the references in the CPython repo before I do, that's fine by me. -- ___ Python tracker

[issue34398] Docs search does not index glossary

2018-08-14 Thread Jonathan Fine
Jonathan Fine added the comment: Good discovery. The glossary uses the RST glossary directive. https://github.com/python/cpython/blob/master/Doc/glossary.rst The Sphinx docs have a glossary, which is indexed by its search. http://www.sphinx-doc.org/en/master/search.html?q=domain So maybe

[issue34398] Docs search does not index glossary

2018-08-14 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Hmm the search is built-in functionality in Sphinx, and I don't think we have any way to control or customize that. -- nosy: +Mariatta resolution: -> third party status: open -> pending versions: -Python 2.7, Python 3.4, Python 3.5

Re: Pylint false positives

2018-08-14 Thread Jon Ribbens
On 2018-08-14, Steven D'Aprano wrote: > If there really are a lot of such missing methods, I'd consider writing > something like this: > > class A: > def __init__(self, ...): > ... > > # === process abstract methods en masse === > for name in "method_a method_b method_c

Re: >< swap operator

2018-08-14 Thread Brian Oney via Python-list
On Tue, 2018-08-14 at 10:55 -0400, Dennis Lee Bieber wrote: > On Tue, 14 Aug 2018 06:18:41 -0700 (PDT), skybuck2...@hotmail.com declaimed > the following: > > > On Monday, August 13, 2018 at 10:01:37 PM UTC+2, Léo El Amri wrote: > > > On 13/08/2018 21:54, skybuck2...@hotmail.com wrote: > > > > I

[issue34406] Typo in documentation

2018-08-14 Thread Alisue Lambda
Change by Alisue Lambda : -- title: Type in documentation -> Typo in documentation ___ Python tracker ___ ___ Python-bugs-list

[issue34406] Type in documentation

2018-08-14 Thread Alisue Lambda
New submission from Alisue Lambda : https://docs.python.org/3.8/using/windows.html#removing-the-max-path-limitation Current > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem@LongPathsEnabled Should be >

[issue32947] Support OpenSSL 1.1.1

2018-08-14 Thread Christian Heimes
Christian Heimes added the comment: New changeset 2a4ee8aa01d61b6a9c8e9c65c211e61bdb471826 by Christian Heimes in branch '3.6': bpo-32947: Fixes for TLS 1.3 and OpenSSL 1.1.1 (GH-8761) https://github.com/python/cpython/commit/2a4ee8aa01d61b6a9c8e9c65c211e61bdb471826 --

[issue34399] [TLS] Update test keys to >= 2048bit

2018-08-14 Thread Christian Heimes
Christian Heimes added the comment: New changeset 1f34aece28d143edb94ca202e661364ca394dc8c by Christian Heimes in branch '2.7': [2.7] bpo-34399: 2048 bits RSA keys and DH params (GH-8762) (GH-8765) https://github.com/python/cpython/commit/1f34aece28d143edb94ca202e661364ca394dc8c --

[issue34399] [TLS] Update test keys to >= 2048bit

2018-08-14 Thread Christian Heimes
Christian Heimes added the comment: New changeset e3228a3f44e382b6cdd2b5e001b651347013a7d3 by Christian Heimes (Miss Islington (bot)) in branch '3.7': bpo-34399: 2048 bits RSA keys and DH params (GH-8762) (GH-8763)

[issue34390] arparse.ArgumentParser misparses list arguments followed by undefined arguments

2018-08-14 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34404] test_time incorrectly defined

2018-08-14 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: The proper format for int < 0 must be "%05d". -- ___ Python tracker ___ ___

[issue34393] json.dumps - allow compression

2018-08-14 Thread liad
liad added the comment: I'm sure I will find a work-around. I posted it for other who will face the same issue as me. There are many who uses cloud storage but not many work with PB size files. This will likely to change in the near future as more and more company start to process huge amount

[issue34405] Upgrade to OpenSSL 1.1.0i / 1.0.2p

2018-08-14 Thread Christian Heimes
New submission from Christian Heimes : 1.0.2p and 1.1.0i were released today. Please update the Windows and macOS installers. -- components: Windows, macOS messages: 323521 nosy: christian.heimes, ned.deily, paul.moore, ronaldoussoren, steve.dower, tim.golden, zach.ware priority:

Re: Pylint false positives

2018-08-14 Thread Steven D'Aprano
On Tue, 14 Aug 2018 10:58:17 +0200, Frank Millman wrote: >> > I have an abstract class ClassA with a number of concrete >> > sub-classes. ClassA has a method which invokes 'self.method_b()' >> > which is defined separately on each sub-class. Pylint complains that >> > "Instance of 'ClassA' has no

[issue34393] json.dumps - allow compression

2018-08-14 Thread Eric V. Smith
Eric V. Smith added the comment: If you really want to see this added to Python, then I suggest you put together a proposal on what the API would be, what options you would or wouldn't support, and post that on python-ideas. But I'll warn you that your chances of success are low. Your

[issue34404] test_time incorrectly defined

2018-08-14 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: I see a test failure on HP-UX: > test_negative (test.test_time.TestStrftime4dyear) ... FAIL > == > FAIL: test_negative (test.test_time.TestStrftime4dyear) >

Re: >< swap operator

2018-08-14 Thread Marko Rauhamaa
skybuck2...@hotmail.com: > On Monday, August 13, 2018 at 10:01:37 PM UTC+2, Léo El Amri wrote: >> On 13/08/2018 21:54, skybuck2...@hotmail.com wrote: >> > I just had a funny idea how to implement a swap operator for types: >> > >> > A >< B >> > >> > would mean swap A and B. >> >> I think that:

Re: >< swap operator

2018-08-14 Thread skybuck2000
On Monday, August 13, 2018 at 10:01:37 PM UTC+2, Léo El Amri wrote: > On 13/08/2018 21:54, skybuck2...@hotmail.com wrote: > > I just had a funny idea how to implement a swap operator for types: > > > > A >< B > > > > would mean swap A and B. > > I think that: > > a, b = b, a > > is pretty

[issue34399] [TLS] Update test keys to >= 2048bit

2018-08-14 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +8242 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33451] Start pyc file lock the file

2018-08-14 Thread Berker Peksag
Berker Peksag added the comment: All PRs have been merged (commit message from the 3.6 branch doesn't listed here but PR 7889 has been merged in https://github.com/python/cpython/commit/8f8ad2c38237caf5ee48f690289e8c811d245455) Closing this as 'fixed'. Please reopen if this issue needs to

[issue34393] json.dumps - allow compression

2018-08-14 Thread liad
liad added the comment: True there are endless versions of compression just like there are endless version of file formats. Still there are some build-ins like conversion from string to json. For example you don't support of json to orc file. Same argument could have been raise here : how

[issue34399] [TLS] Update test keys to >= 2048bit

2018-08-14 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +8241 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-08-14 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: Running from 3.7 branch on HP-UX 11.31 ia64, 32 bit, big endian. The test output is: > Re-running failed tests in verbose mode > Re-running test 'test_utf8_mode' in verbose mode > test_cmd_line (test.test_utf8_mode.UTF8ModeTests) ... FAIL

[issue34393] json.dumps - allow compression

2018-08-14 Thread Eric V. Smith
Eric V. Smith added the comment: There are too many types of compression for this to be built-in to json. There's zlib, gzip, bzip, zip, and no doubt dozens of others. How would we chose one, or several? Which to leave out? How to pass in the many parameters to all of these compression

[issue18709] SSL module fails to handle NULL bytes inside subjectAltNames general names (CVE-2013-4238)

2018-08-14 Thread Christian Heimes
Christian Heimes added the comment: These Python versions no longer receive security updates. Please update. -- ___ Python tracker ___

[issue34401] [solution] Make test_gdb work on HP-UX

2018-08-14 Thread Michael Osipov
Change by Michael Osipov <1983-01...@gmx.net>: -- title: Make test_gdb work on HP-UX -> [solution] Make test_gdb work on HP-UX ___ Python tracker ___

[issue34402] [SOLUTION] strftime fails on HP-UX

2018-08-14 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: The worst thing about wcsftime(3) is that it silently fails by not writing to output buffer. timemodule.c allocates more and more memory and then gives up. -- ___ Python tracker

[issue34402] [SOLUTION] strftime fails on HP-UX

2018-08-14 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: strftime() fails on HP-UX. It is mapped to wcsftime(3). It has a quirk on HP-UX that is does not conform to POSIX. To enable POSIX compat one has to do (excerpt from manpage): > APPLICATION USAGE > The "Unix Standards Only"

[issue15258] argparse documentation: Improve optparse section regarding allow_interspersed_args

2018-08-14 Thread Berker Peksag
Berker Peksag added the comment: ArgumentParser.parse_intermixed_arg() has been added in https://github.com/python/cpython/commit/0f6b9d230674da784ca79a0cf1a03d2af5a8b6a8 (Issue 14191) and the "Upgrading optparse code" section now has the following item: * Replace

[issue18709] SSL module fails to handle NULL bytes inside subjectAltNames general names (CVE-2013-4238)

2018-08-14 Thread Anuj
Anuj added the comment: Do we have patch for 3.1 version, or 3.2 patch will be also OK? -- nosy: +Anuj ___ Python tracker ___ ___

[issue34387] Deletion of attributes in dataclass is buggy

2018-08-14 Thread Eric V. Smith
Eric V. Smith added the comment: I assume this is the behavior you're seeing: >>> @dataclass ... class C: ... i: int = 0 ... >>> c = C(10) >>> c C(i=10) >>> del c.i >>> c C(i=0) >>> del c.i Traceback (most recent call last): File "", line 1, in AttributeError: i >>> If so, that's the

[issue34401] Make test_gdb work on HP-UX

2018-08-14 Thread Michael Osipov
Change by Michael Osipov <1983-01...@gmx.net>: -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34401] Make test_gdb work on HP-UX

2018-08-14 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: Regex in test_gdb.py needs to be changed and test can continue, though will be skipped due to old version. -- components: Tests files: test_gdb.patch keywords: patch messages: 323508 nosy: michael-o priority: normal severity:

[issue34399] [TLS] Update test keys to >= 2048bit

2018-08-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +8240 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34399] [TLS] Update test keys to >= 2048bit

2018-08-14 Thread Christian Heimes
Christian Heimes added the comment: New changeset 88bfd0bce05043f658e50addd21366f317995e35 by Christian Heimes in branch 'master': bpo-34399: 2048 bits RSA keys and DH params (#8762) https://github.com/python/cpython/commit/88bfd0bce05043f658e50addd21366f317995e35 --

[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-14 Thread Sergey Fedoseev
Sergey Fedoseev added the comment: > Could you elaborate a bit more on how/where the leak happens? It happens when PyMem_Resize() fails. It was used like this: Py_UCS4 *field = self->field; self->field = PyMem_Resize(field, Py_UCS4, self->field_size); The last statement changes both

Re: Pylint false positives

2018-08-14 Thread Frank Millman
"Thomas Jollans" wrote in message news:53faf0ef-4054-53fa-6179-a862495ea...@tjol.eu... On 2018-08-14 09:38, Frank Millman wrote: > Hi all > > Pylint is flagging a lot of lines as errors that I would consider to be > acceptable. > > I have an abstract class ClassA with a number of concrete

[issue34400] Undefined behavior in Parser/parsetok.c

2018-08-14 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +8239 stage: -> patch review ___ Python tracker ___ ___

[issue34400] Undefined behavior in Parser/parsetok.c

2018-08-14 Thread Zackery Spytz
New submission from Zackery Spytz : In parsetok(), null pointers are used in pointer arithmetic. -- components: Interpreter Core messages: 323505 nosy: ZackerySpytz priority: normal severity: normal status: open title: Undefined behavior in Parser/parsetok.c type: behavior versions:

Re: Pylint false positives

2018-08-14 Thread Thomas Jollans
On 2018-08-14 09:38, Frank Millman wrote: > Hi all > > Pylint is flagging a lot of lines as errors that I would consider to be > acceptable. > > I have an abstract class ClassA with a number of concrete sub-classes. > ClassA has a method which invokes 'self.method_b()' which is defined >

Re: Pylint false positives

2018-08-14 Thread Frank Millman
"D'Arcy Cain" wrote in message news:865ed61a-cf1d-959f-f77e-dc586fe6e...@vybenetworks.com... On 2018-08-14 03:38 AM, Frank Millman wrote: > Hi all > > Pylint is flagging a lot of lines as errors that I would consider to be > acceptable. > > I have an abstract class ClassA with a number of

[issue34399] [TLS] Update test keys to >= 2048bit

2018-08-14 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +8238 stage: -> patch review ___ Python tracker ___ ___

[issue34399] [TLS] Update test keys to >= 2048bit

2018-08-14 Thread Christian Heimes
New submission from Christian Heimes : Downstream vendors have started to tighten security. 1024 bits RSA and DH params are no longer considered as secure. Python 3.7 and master already use 2048 bits RSA keys for some tests (bpo-32602). 3.6 and 2.7 don't have 1024bit keys. DH params and some

Re: Pylint false positives

2018-08-14 Thread D'Arcy Cain
On 2018-08-14 03:38 AM, Frank Millman wrote: > Hi all > > Pylint is flagging a lot of lines as errors that I would consider to be > acceptable. > > I have an abstract class ClassA with a number of concrete sub-classes. > ClassA has a method which invokes 'self.method_b()' which is defined >

[issue34398] Docs search does not index glossary

2018-08-14 Thread Jonathan Fine
New submission from Jonathan Fine : The docs contain a very useful page https://docs.python.org/3.5/glossary.html. However, the search feature does not index the glossary. Thus, the search https://docs.python.org/3.5/search.html?q=iterable does not produce the helpful glossary entry ===

[issue32947] Support OpenSSL 1.1.1

2018-08-14 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +8237 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32947] Support OpenSSL 1.1.1

2018-08-14 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +8236 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Pylint false positives

2018-08-14 Thread Frank Millman
Hi all Pylint is flagging a lot of lines as errors that I would consider to be acceptable. I have an abstract class ClassA with a number of concrete sub-classes. ClassA has a method which invokes 'self.method_b()' which is defined separately on each sub-class. Pylint complains that

Re: right way to use zipimport, zipimport.ZipImportError: not a Zip file

2018-08-14 Thread iMath
I think someone gives the true reason caused the exception here https://stackoverflow.com/a/51821910/1485853 Thanks to his explanation , I extracted the zip archive and then add the extracted to a zip archive using Bandizip, this time

Re: right way to use zipimport, zipimport.ZipImportError: not a Zip file

2018-08-14 Thread iMath
I think someone gives the true reason caused the exception here https://stackoverflow.com/a/51821910/1485853 Thanks to his explanation , I extracted the zip archive and then add the extracted to a zip archive using Bandizip, this time