[issue24313] json fails to serialise numpy.int64

2022-02-23 Thread Nikolay Markov
Nikolay Markov added the comment: Just ran into this. Are there any updates? Is there any task to contribute to regarding this? -- nosy: +mxposed ___ Python tracker <https://bugs.python.org/issue24

[issue15795] Zipfile.extractall does not preserve file permissions

2020-10-16 Thread Nikolay
Nikolay added the comment: Is there any chance that the pull request will be accepted? I'm a bit tired of using workaround every time I need unzip something on linux. -- nosy: +kulakov-n ___ Python tracker <https://bugs.python.org/is

[issue40213] contextlib.aclosing()

2020-09-21 Thread Nikolay Bryskin
Change by Nikolay Bryskin : -- nosy: +nikicat ___ Python tracker <https://bugs.python.org/issue40213> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30491] Add a lightweight mechanism for detecting un-awaited coroutine objects

2020-04-24 Thread Nikolay Bryskin
Change by Nikolay Bryskin : -- nosy: +nikicat ___ Python tracker <https://bugs.python.org/issue30491> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32693] os.path.ismount does not accept bytes objects

2018-01-28 Thread Nikolay Aleksandrovich Pavlov
New submission from Nikolay Aleksandrovich Pavlov : According to the documentation it ought to accept any path-like object, but actually throws for bytes ones. The trace of logic is the following: 1. ismount() from Lib/ntpath.py is using `os.fpath` which may return either bytes or str: https

[issue31661] Issues with request rate in robotparser

2017-10-01 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Hey Serhiy, The use of namedtuple was requested specifically at a review, I didn't implement it like this initially: https://bugs.python.org/review/16099/#ps6205 I wasn't aware of the performance implications. Could you please explain to me t

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-19 Thread Nikolay Kim
Nikolay Kim added the comment: Let’s close this issue then. I don’t like it anyway. > On Jun 19, 2017, at 10:21 AM, Grzegorz Grzywacz > wrote: > > > Grzegorz Grzywacz added the comment: > > This is not problem with madis-data.ncep.noaa.gov not doing ssl shutdown, &

[issue29970] Severe open file leakage running asyncio SSL server

2017-06-18 Thread Nikolay Kim
Nikolay Kim added the comment: I see. this is server specific problem. as a temp solution I'd use proxy for ssl termination. -- ___ Python tracker <http://bugs.python.org/is

[issue29970] Severe open file leakage running asyncio SSL server

2017-06-18 Thread Nikolay Kim
Nikolay Kim added the comment: question is, should asyncio handle timeouts or leave it to caller? https://github.com/python/cpython/pull/480 fixes leak during handshake. -- nosy: +fafhrd91 ___ Python tracker <http://bugs.python.org/issue29

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-18 Thread Nikolay Kim
Changes by Nikolay Kim : -- pull_requests: +2319 ___ Python tracker <http://bugs.python.org/issue29406> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-10 Thread Nikolay Kim
Nikolay Kim added the comment: yes, i am on it -- ___ Python tracker <http://bugs.python.org/issue29406> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30193] Support the buffer protocol in json.loads()

2017-05-08 Thread Nikolay Kim
Nikolay Kim added the comment: I am fine with any decision. close with "won't fix" is fine too -- ___ Python tracker <http://bugs.python.org/issue30193> ___ _

[issue30193] Allow to load buffer objects with json.loads()

2017-04-27 Thread Nikolay Kim
Changes by Nikolay Kim : -- pull_requests: +1443 ___ Python tracker <http://bugs.python.org/issue30193> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30193] Allow to load buffer objects with json.loads()

2017-04-27 Thread Nikolay Kim
New submission from Nikolay Kim: It is not possible to use buffer objects in json.loads() -- messages: 292487 nosy: fafhrd91 priority: normal severity: normal status: open title: Allow to load buffer objects with json.loads() versions: Python 3.6, Python 3.7

[issue29745] asyncio: Make pause/resume_reading idepotent and no-op for closed transports

2017-03-06 Thread Nikolay Kim
New submission from Nikolay Kim: https://github.com/python/asyncio/issues/488 -- messages: 289147 nosy: fafhrd91 priority: normal pull_requests: 439 severity: normal status: open title: asyncio: Make pause/resume_reading idepotent and no-op for closed transports versions: Python 3.5

[issue29742] asyncio get_extra_info() throws exception

2017-03-06 Thread Nikolay Kim
Changes by Nikolay Kim : -- pull_requests: +438 ___ Python tracker <http://bugs.python.org/issue29742> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29743] Closing transport during handshake process leaks open socket

2017-03-06 Thread Nikolay Kim
New submission from Nikolay Kim: https://github.com/python/asyncio/issues/487 https://github.com/KeepSafe/aiohttp/issues/1679 -- messages: 289143 nosy: fafhrd91 priority: normal pull_requests: 436 severity: normal status: open title: Closing transport during handshake process leaks open

[issue29742] asyncio get_extra_info() throws exception

2017-03-06 Thread Nikolay Kim
Nikolay Kim added the comment: get_extra_info() returns optional transport information, I think it is ok to return None for closed transport. https://github.com/python/cpython/blob/master/Lib/asyncio/transports.py#L18 I propose this feature initially, during early tulip development but now I

[issue29742] asyncio get_extra_info() throws exception

2017-03-06 Thread Nikolay Kim
Nikolay Kim added the comment: exception on get_extra_info() on closed ssl transport ``` Feb 18 13:18:09 btc electrumx_server.py[1732]: ERROR:ElectrumX:[15328] Traceback (most recent call last): Feb 18 13:18:09 btc electrumx_server.py[1732]: File "/usr/local/lib/python3.5/dist-pac

[issue29742] asyncio get_extra_info() throws exception

2017-03-06 Thread Nikolay Kim
New submission from Nikolay Kim: https://github.com/python/asyncio/issues/494 -- messages: 289138 nosy: fafhrd91 priority: normal pull_requests: 435 severity: normal status: open title: asyncio get_extra_info() throws exception versions: Python 3.5, Python 3.6, Python 3.7

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-03-03 Thread Nikolay Kim
Changes by Nikolay Kim : -- pull_requests: +371 ___ Python tracker <http://bugs.python.org/issue29406> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-01-31 Thread Nikolay Kim
Changes by Nikolay Kim : -- versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue29406> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-01-31 Thread Nikolay Kim
Nikolay Kim added the comment: madis-data.ncep.noaa.gov side does not complete ssl shutdown process. -- keywords: +patch nosy: +fafhrd91 Added file: http://bugs.python.org/file46474/ssl_shutdown_timeout.patch ___ Python tracker <h

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2015-10-07 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Hey, Friendly reminder that there has been no activity on this issue for more than an year. Cheers, Nick -- ___ Python tracker <http://bugs.python.org/issue16

[issue21235] importlib's spec module create algorithm is not exposed

2014-10-15 Thread Nikolay Bryskin
Changes by Nikolay Bryskin : -- nosy: +nikicat ___ Python tracker <http://bugs.python.org/issue21235> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21436] Consider leaving importlib.abc.Loader.load_module()

2014-10-15 Thread Nikolay Bryskin
Changes by Nikolay Bryskin : -- nosy: +nikicat ___ Python tracker <http://bugs.python.org/issue21436> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2014-08-26 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Hey, Just a friendly reminder that the patch is pending for review and there has been no activity for 3 months (: -- ___ Python tracker <http://bugs.python.org/issue16

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2014-07-15 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Hey, Just a friendly reminder that there has been no activity for a month and a half and v3 is pending for review (: -- ___ Python tracker <http://bugs.python.org/issue16

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2014-05-27 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Updated patch, all comments addressed, sorry for the 6 months delay. Please review -- Added file: http://bugs.python.org/file35377/robotparser_v3.patch ___ Python tracker <http://bugs.python.org/issue16

[issue18748] libgcc_s.so.1 must be installed for pthread_cancel to work

2014-02-26 Thread Nikolay Bryskin
Changes by Nikolay Bryskin : -- nosy: +nikicat ___ Python tracker <http://bugs.python.org/issue18748> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2014-01-21 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Hey, Just a reminder friendly reminder that there hasn't been any activity for a month and I have released a v2, pending for review (: -- ___ Python tracker <http://bugs.python.org/is

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2013-12-09 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Oh... Sorry for the spam, could you please verify my documentation link syntax. I'm not entirely sure I got it right. -- ___ Python tracker <http://bugs.python.org/is

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2013-12-09 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Thank you for the review! I have addressed your comments and release a v2 of the patch: Highlights: No longer crashes when provided with malformed crawl-delay/robots.txt parameter. Returns None when parameter is missing or syntax is invalid. Simplified

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2013-12-08 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Hey, it has been more than an year since the last activity. Is there anything else I should do in order for someone of the python devs team to review my changes and perhaps give some feedback? Nick

[issue16391] add "terminator" ctor argument to logging.StreamHandlers derived handlers

2012-11-15 Thread Nikolay Bryskin
Nikolay Bryskin added the comment: Great, thanks! -- ___ Python tracker <http://bugs.python.org/issue16391> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16391] add "terminator" ctor argument to logging.StreamHandlers derived handlers

2012-11-12 Thread Nikolay Bryskin
Nikolay Bryskin added the comment: Actually, I'm using dictConfig to load config from json file. And yes, ext:// provides a way to load custom handler, but, as far as I see (https://github.com/jonashaag/cpython/blob/master/Lib/logging/config.py#L379-404), there is no possibility to sp

[issue16391] add "terminator" ctor argument to logging.StreamHandlers derived handlers

2012-11-12 Thread Nikolay Bryskin
Nikolay Bryskin added the comment: Vinay, why do you close this feature request? Proposed workaround is just a workaround and even doesn't provide some functionality - for example, it seems impossible to define a terminator using config file. -- resolution: invalid -> status

[issue16391] add "terminator" ctor argument to logging.StreamHandlers derived handlers

2012-11-05 Thread Nikolay Bryskin
Nikolay Bryskin added the comment: Hello, Taras. I've renamed the issue - StreamHandler should also have a "terminator" __init__ keyword argument. This argument is mostly needed for automatic logging configuration using logging.config.dictConfig or logging.co

[issue16391] terminator argument for logging.FileHandlers

2012-11-02 Thread Nikolay Bryskin
New submission from Nikolay Bryskin: "terminator" argument has appeared in logging.StreamHandler since 3.2, but it also may be useful for FileHandler classes. -- components: Library (Lib) messages: 174594 nosy: nikicat priority: normal severity: normal status: open title:

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2012-10-07 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Reformatted patch -- Added file: http://bugs.python.org/file27477/robotparser_reformatted.patch ___ Python tracker <http://bugs.python.org/issue16

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2012-10-07 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Okay, here's a proper patch with documentation entry and test cases. Please review and comment -- Added file: http://bugs.python.org/file27476/robotparser.patch ___ Python tracker <http://bugs.py

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2012-10-01 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Okay, sorry didn't know that (: Here's the same patch (Same functionality) for python3 Feedback is welcome, as always (: -- Added file: http://bugs.python.org/file27374/robotparser.patch ___ Python trac

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2012-10-01 Thread Nikolay Bogoychev
New submission from Nikolay Bogoychev: Robotparser doesn't support two quite important optional parameters from the robots.txt file. I have implemented those in the following way: (Robotparser should be initialized in the usual way: rp = robotparser.RobotFileParser() rp.set_url(..) rp

[issue15823] argparse produces error when multiply help lines

2012-08-30 Thread Nikolay Golub
Nikolay Golub added the comment: thanks! -- ___ Python tracker <http://bugs.python.org/issue15823> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15823] argparse produces error when multiply help lines

2012-08-30 Thread Nikolay Golub
New submission from Nikolay Golub: When i use this code: parser.add_argument('-r', '--range', action = 'store', dest = 'ranges', nargs = 2, metavar = &

[issue11387] Tkinter, callback functions

2011-03-06 Thread Nikolay Fomichev
Nikolay Fomichev added the comment: Here it is... import sys if sys.version_info[0] == 3: import tkinter as tk from tkinter import messagebox from tkinter import filedialog else: import Tkinter as tk import tkMessageBox as messagebox import tkFileDialog as filedialog

[issue11387] Tkinter, callback functions

2011-03-03 Thread Nikolay Fomichev
New submission from Nikolay Fomichev : A simple code: class App(): def __init__(self): self.root = tk.Tk() self.btn = tk.Button(self.root, text='Click me') self.btn.pack() self.btn.bind('', self.click) self.root.mainloo

[issue6993] importing of "time" module is terribly slow

2009-09-25 Thread Nikolay Dyankov
Nikolay Dyankov added the comment: OK, I found the reason and it is the very fact of using /dev/random which would block if there aren't enough random numbers in queue. Maybe dns-python should be using /dev/urandom instead (though there might be reasons for not doing so). The myste

[issue6993] importing of "time" module is terribly slow

2009-09-25 Thread Nikolay Dyankov
Nikolay Dyankov added the comment: Stupid me :)) I must have really missed that. Still I don't understand why the read call takes 10 seconds to complete. -- status: pending -> open ___ Python tracker <http://bugs.python.or

[issue6993] importing of "time" module is terribly slow

2009-09-25 Thread Nikolay Dyankov
New submission from Nikolay Dyankov : The behaviour described below is not always reproduced. The attached test script simply tries to import a couple of dns-python modules, which in turn import other ones. No code is being executed. You expect it to exit for less than a second but it does not

[issue2678] hmac performance optimization

2008-04-24 Thread Nikolay Kim
New submission from Nikolay Kim <[EMAIL PROTECTED]>: i removed lambda in _strxor function -- components: Library (Lib) files: hmac.py.diff keywords: patch messages: 65720 nosy: fafhrd severity: normal status: open title: hmac performance optimization type: performance versions: