[issue25682] __package__ not set to None under pdb in Python 3

2016-01-14 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- nosy: +brett.cannon, eric.snow, ncoghlan ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26102] access violation in PyErrFetch if tcur==null in PyGILState_Release

2016-01-14 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- nosy: +benjamin.peterson ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26102> ___

[issue26115] pathlib.glob('**') returns only directories

2016-01-14 Thread SilentGhost
SilentGhost added the comment: It is, however, exactly what documentation says it should do: > The “**” pattern means “this directory and all subdirectories, recursively”. -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status: open

[issue24950] FAIL: test_expanduser when $HOME=/

2016-01-14 Thread SilentGhost
SilentGhost added the comment: For posixpath the fix is straightforward: just skip that assert if the home ends up being '/' (the '/' is tested above). For pathlib, I'm not entirely sure what the fix should be. -- nosy: +SilentGhost, pitrou versions: +Python 3.6 -Python 3.3, Python

[issue25491] ftplib.sendcmd only accepts string

2016-01-14 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- nosy: +giampaolo.rodola versions: +Python 3.6 -Python 3.4 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26096] '*' glob string matches dot files in pathlib

2016-01-14 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Library (Lib) nosy: +gvanrossum, pitrou versions: +Python 3.6 -Python 3.4 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25957] sockaddr_l2 lacks CID, address type (AF_BLUETOOTH sockets)

2016-01-14 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Library (Lib) nosy: +haypo ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26112] Error on example using "dialect" parameter. have to be: "dialect=dialect"

2016-01-14 Thread SilentGhost
SilentGhost added the comment: No, the shown code works just fine. -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue25602] Add support for EVFILT_USER kqueue filter

2016-01-14 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- nosy: +haypo stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue26038] zipfile cannot handle zip files where the archive size for a file does not match actual contents

2016-01-14 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- nosy: +alanmcintyre, serhiy.storchaka, twouters versions: +Python 3.5, Python 3.6 -Python 3.4 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26116] CSV-module. The example code don't work. Have to be: reader = csv.reader(csvfile, dialect=dialect)

2016-01-14 Thread SilentGhost
SilentGhost added the comment: Vasyl, this line in your code is causing the problem: for row in readed: The error reasonably clear states that it's due to your `fieldnames' parameter being non-iterable. Again, this has nothing whatsoever to do with `dialect' argument and documentation

[issue24945] Expose Py_TPFLAGS_ values from Python

2016-01-14 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- nosy: +benjamin.peterson versions: +Python 3.6 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26113] pathlib p.match('') should return False rather than raising exception

2016-01-14 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Library (Lib) nosy: +gvanrossum, pitrou versions: +Python 3.6 -Python 3.5 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25753] Reference leaks in test_smtplib

2016-01-14 Thread SilentGhost
SilentGhost added the comment: Serhiy, I cannot reproduce these leaks on recent checkout. Is this something that's still happens for you? -- nosy: +SilentGhost ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue22642] trace module: convert to argparse

2016-01-12 Thread SilentGhost
SilentGhost added the comment: Here is the updated version of the patch that addresses Senthil's comments. Besides re-flowing code, I've also added enforcement of --summary switch and re-factored and expanded the test_failures. It probably would be good if someone could test this on a real

[issue26079] Build with Visual Studio 2015 using PlatformToolset=v120

2016-01-11 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware type: crash -> compile error ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue22642] trace module: unclear error message

2016-01-11 Thread SilentGhost
SilentGhost added the comment: I could submit a patch, but I'd switch over from getopt to argparse. I think this exactly the case when such a change is warranted. -- nosy: +SilentGhost ___ Python tracker <rep...@bugs.python.org>

[issue11440] fix_callable should be dropped from lib2to3 / changed

2016-01-09 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <rep...@bugs.python.org> <http://bu

[issue26062] IPython4 bash magic ! with {} does not work with Python 3.5.1

2016-01-09 Thread SilentGhost
SilentGhost added the comment: > It seems to me, that this change in python is not nessesary. > I don't, know how to find the commit, message who has changed this and why. It was done in issue 13598. It's a bit puzzling that IPython decided to depend on behaviour of a private metho

[issue26064] directory is getting separated

2016-01-09 Thread SilentGhost
SilentGhost added the comment: It behaves exactly as described in documentation, the only thing I could suggest is to re-read the following for details: https://docs.python.org/3/library/os.path.html#os.path.split -- nosy: +SilentGhost resolution: -> not a bug stage: -> re

[issue26047] argparse.ArgumentError documentation wrong

2016-01-08 Thread SilentGhost
SilentGhost added the comment: Christof, you'd have to demonstrate the issue in more than just words. The returned status code is hard-coded to be 2 in the error method and it does end up being 2 when i run, could you post some output that led you to believe that it is 1? -- nosy

[issue26022] string.replace(' ', ' ') has to be called 2 times before it works

2016-01-06 Thread SilentGhost
SilentGhost added the comment: Could you provide us with a sample file that demonstrates this behaviour? -- nosy: +SilentGhost ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26026] True%2 is True

2016-01-06 Thread SilentGhost
SilentGhost added the comment: Arithmetic operations should not be used with booleans, they happen to work due to boolean bean a subclass of int. -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status: open -> closed type: -&

[issue26028] .sort() Causing Strings to Be Listed on the same line

2016-01-06 Thread SilentGhost
SilentGhost added the comment: Please use stackoverflow or python-tutor list to get help on this. https://mail.python.org/pipermail/tutor/ What it looks like is the problem with your text editor not being able to support EOL characters from a different OS. -- nosy: +SilentGhost

[issue25999] Add support of native number in bin()

2016-01-03 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Interpreter Core -Argument Clinic versions: -Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26002] make statistics.median_grouped more efficient

2016-01-03 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- nosy: +steven.daprano versions: -Python 3.4 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25916] wave module readframes now returns bytes not str

2016-01-01 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: Added file: http://bugs.python.org/file41466/issue25916_4.diff ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25916] wave module readframes now returns bytes not str

2016-01-01 Thread SilentGhost
SilentGhost added the comment: Here is the updated patch. -- Added file: http://bugs.python.org/file41465/issue25916_3.diff ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25976] telnetlib SyntaxError: invalid syntax

2015-12-29 Thread SilentGhost
SilentGhost added the comment: The host ip needs to be supplied as a string: telnetlib.Telnet(host='192.168.1.15', port=3490, timeout=5) -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status: open -> closed type: -&

[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-12-29 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- stage: patch review -> commit review ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue25977] Typo fixes in Lib/tokenize.py

2015-12-29 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- nosy: +meador.inge ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25977> ___ _

[issue25973] Segmentation fault with nonlocal and two underscores

2015-12-29 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Interpreter Core versions: +Python 3.5, Python 3.6 -Python 3.4 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25964] optparse.py:1668: (file) shadows builtin

2015-12-28 Thread SilentGhost
SilentGhost added the comment: None of this warnings highlights a real issue. Furthermore, optparse module is deprecated and you'd be better off using argparse instead. -- components: +Library (Lib) nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status: open -&g

[issue25964] optparse.py:1668: (file) shadows builtin

2015-12-28 Thread SilentGhost
SilentGhost added the comment: The deprecation warning is clearly displayed at the top of the module documentation: https://docs.python.org/3/library/optparse.html Regarding variable names: it is not an issue and pychecker is simply mistaken here

[issue25942] subprocess.call SIGKILLs too liberally

2015-12-28 Thread SilentGhost
SilentGhost added the comment: The code was introduced to solve issue 12494, so I'm adding Victor to weigh in. -- nosy: +SilentGhost, haypo versions: +Python 3.5, Python 3.6 -Python 3.3 ___ Python tracker <rep...@bugs.python.org>

[issue25941] Add 'How to Review a Patch' section to devguide

2015-12-25 Thread SilentGhost
SilentGhost added the comment: Content of the article is in very reasonable shape, I have only couple of notes: 1. I don't think "production" is a good description of the python's repository workflow, so I'd suggest changing it to "repository". 2. Lack of links: inst

[issue25947] Installation problem

2015-12-25 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Installation, Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware versions: +Python 3.5 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25951] SSLSocket.sendall() does not return None on success like socket.sendall()

2015-12-25 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou type: -> behavior versions: +Python 3.5, Python 3.6 -Python 3.4 ___ Python tracker <rep...@bugs.pytho

[issue25952] code_context not available in exec()

2015-12-25 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Library (Lib) nosy: +yselivanov versions: +Python 3.6 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25953] re fails to identify invalid numeric group references in replacement strings

2015-12-25 Thread SilentGhost
SilentGhost added the comment: Well, at least on the surface of it, the fix seems pretty straightforward: check for the group index. With this patch the behaviour is as expected, but I get two tests erroring out since they're expecting differently worded error. This probably needs adjustments

[issue25933] Unhandled exception (TypeError) with ftplib in function retrbinary/retrlines causes inoperable behavior without crashing

2015-12-24 Thread SilentGhost
SilentGhost added the comment: OK, here is the patch with the test that I think is exercising the issue. -- keywords: +needs review, patch stage: -> patch review Added file: http://bugs.python.org/file41403/issue25933.diff ___ Python tracker &

[issue25933] Unhandled exception (TypeError) with ftplib in function retrbinary/retrlines causes inoperable behavior without crashing

2015-12-23 Thread SilentGhost
SilentGhost added the comment: With the default branch I get regular TypeError exception, without any extras. To me it seems that its responsibility of the caller to provide the correct callback for the type of data being retrieved. So, I'm not exactly sure that this is a bug at all

[issue25919] htp.client PUT method ignores error responses sent immediatly after headers

2015-12-23 Thread SilentGhost
SilentGhost added the comment: All the tests pass now, not sure why your patch doesn't get associated rietveld link, it applies cleanly using hg patch --no-commit -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-12-22 Thread SilentGhost
SilentGhost added the comment: I think the patch is nearly finalised, but I'd appreciate if someone else would carefully go over the new C code. After that, I think, the patch could be committed. -- ___ Python tracker <rep...@bugs.python.org>

[issue25919] htp.client PUT method ignores error responses sent immediatly after headers

2015-12-22 Thread SilentGhost
SilentGhost added the comment: There is a test suite which can be run to test for breakages: ./python -m test test_httplib If you do that you'll notice that some things are broken, I got error in 5 different tests related to you select.select call: TypeError: argument must be an int, or have

[issue25919] htp.client PUT method ignores error responses sent immediatly after headers

2015-12-22 Thread SilentGhost
SilentGhost added the comment: That was a testing issue, apparently test.test_httplib.FakeSocket is not fake enough. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25919] htp.client PUT method ignores error responses sent immediatly after headers

2015-12-21 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Library (Lib) -IO versions: +Python 3.5, Python 3.6 -Python 3.4 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25916] wave module readframes now returns bytes not str

2015-12-20 Thread SilentGhost
SilentGhost added the comment: Here is the patch. -- keywords: +needs review, patch nosy: +SilentGhost stage: -> patch review type: -> behavior versions: +Python 3.3, Python 3.5, Python 3.6 Added file: http://bugs.python.org/file41368/issue2591

[issue25917] Fixing howto links in docs

2015-12-20 Thread SilentGhost
New submission from SilentGhost: This patch changes links from wiki to howto part of docs. -- assignee: docs@python components: Documentation files: howto.diff keywords: needs review, patch messages: 256761 nosy: SilentGhost, docs@python priority: normal severity: normal stage: patch

[issue25915] file.write() after file.read() adds text to the end of the file

2015-12-20 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- resolution: -> duplicate stage: -> resolved superseder: -> TextIOWrapper: issues with interlaced read-write type: -> behavior ___ Python tracker <rep...@bugs.python.org>

[issue25916] wave module readframes now returns bytes not str

2015-12-20 Thread SilentGhost
SilentGhost added the comment: Here is the patch replacing exact match 'string of bytes' with :class:`bytes` where appropriate. No match was found in base64. -- Added file: http://bugs.python.org/file41375/issue25916_2.diff ___ Python tracker <

[issue25911] Regression: os.walk now using os.scandir() breaks bytes filenames on windows

2015-12-19 Thread SilentGhost
SilentGhost added the comment: Perhaps, I'm looking in the wrong place, but there doesn't seem be any test for bytes filenames. -- keywords: +3.5regression nosy: +SilentGhost stage: -> test needed type: -> behavior versions: +Python 3.6 ___

[issue25910] Fixing links in documentation

2015-12-19 Thread SilentGhost
New submission from SilentGhost: I've run 'make linkcheck' on Doc and it highlighted a number of faulty links in documentation. I've tried fixing some of them and here is the resulting patch. It's a bit too long and touches many files, so to summarise: * Most changes are http->https redir

[issue25910] Fixing links in documentation

2015-12-19 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- stage: needs patch -> patch review Added file: http://bugs.python.org/file41362/output.txt ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue19771] runpy should check ImportError.name before wrapping it

2015-12-18 Thread SilentGhost
SilentGhost added the comment: Martin, could you please escape * in Misc/NEWS, it causes a warning when building documentation. -- nosy: +SilentGhost ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25880] u'..'.encode('idna') → UnicodeError: label empty or too long

2015-12-17 Thread SilentGhost
SilentGhost added the comment: I think what David was trying to say is that you could do try: user_input.encode(encoding) except UnicodeError: do_my_error_handling() since UnicodeError is a super class of UnicodeDecodeError and UnicodeEncodeError. -- nosy: +SilentGhost

[issue25897] Python 3.5.1 and Active Tcl/Tk 8.6.4.1

2015-12-17 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +IDLE, Macintosh, Tkinter nosy: +gpolo, ned.deily, ronaldoussoren, serhiy.storchaka ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25885] ast Str type does not annotate the string type when it parses a python document

2015-12-16 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Library (Lib) nosy: +benjamin.peterson, brett.cannon, georg.brandl, ncoghlan stage: -> test needed ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-12-16 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- nosy: +SilentGhost ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19475> ___ _

[issue25886] ast module is combining string literals that are concatenated with plus operator

2015-12-16 Thread SilentGhost
SilentGhost added the comment: Hm, I'm going to close this as duplicate since a commenter in your previous issue clearly stated: "I don't think the AST module makes any guarantee about being able to reproduce the original source". -- nosy: +SilentGhost, benjamin.peterson, br

[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-12-16 Thread SilentGhost
SilentGhost added the comment: Even that produces 3 failures on my setup, though the full list would be available when running: ./python -m test -v test_datetime It is obvious, however, that the tests would fail: you've changed "if us:" to &quo

[issue25874] Add notice that XP is not supported on Python 3.5+

2015-12-16 Thread SilentGhost
SilentGhost added the comment: Hm, may be I'm seeing things, but the content of the current what's new section is this: Windows XP is no longer supported by Microsoft, thus, per :PEP:`11`, CPython 3.5 is no longer officially supported on this OS. The proposed patch adds two sentences

[issue25874] Add notice that XP is not supported on Python 3.5+

2015-12-15 Thread SilentGhost
SilentGhost added the comment: This seems fully covered in the What's new for 3.5: https://docs.python.org/3/whatsnew/3.5.html#unsupported-operating-systems -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status: open -&g

[issue25861] Can't use Pickle. AttributeError: 'module' object has no attribute '_new_Index'

2015-12-14 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- nosy: +alexandre.vassalotti, pitrou type: crash -> behavior ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue9949] os.path.realpath on Windows does not follow symbolic links

2015-12-12 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Windows keywords: +needs review -patch nosy: +paul.moore, steve.dower versions: +Python 3.6 -Python 3.5 ___ Python tracker <rep...@bugs.python.org> <http://bugs.pytho

[issue25852] smtplib's SMTP.connect() should store the server name in ._host for .starttls()

2015-12-12 Thread SilentGhost
SilentGhost added the comment: Here is a usable patch, there doesn't seem to be a test for starttls, but it's still would be a good idea to add a test for this issue. -- nosy: +SilentGhost versions: +Python 3.6 -Python 3.3 Added file: http://bugs.python.org/file41293/issue25852.diff

[issue25854] rest in _interpolate_some is a list not str

2015-12-12 Thread SilentGhost
SilentGhost added the comment: I'm not sure what problem exactly you're trying to report / solve here. I'd suggest you add an explanation of an issue you're experiencing. In any case your current change seem to be breaking too many things. -- components: +Library (Lib) -Interpreter

[issue25807] test_multiprocessing_fork.test_mymanager fails and hangs

2015-12-09 Thread SilentGhost
SilentGhost added the comment: Hm, after doing "make clean" and rebuilding anew I'm not able to reproduce the bug myself. I guess I just had a stale version of the module still hanging around. Sorry for the mistaken report. -- resolution: -> not a bug stage: -> resol

[issue25801] ResourceWarning in test_zipfile64

2015-12-05 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- keywords: +needs review -patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25807] test_multiprocessing_fork.test_mymanager fails and hangs

2015-12-05 Thread SilentGhost
New submission from SilentGhost: When running either of the test_multiprocessing_fork, test_multiprocessing_spawn or test_multiprocessing_forkserver I get error in test_mymanager that leads to hanging. Here is the fragment: test_mymanager

[issue25808] The Python Tutorial 5.3. Tuples and Sequences

2015-12-05 Thread SilentGhost
SilentGhost added the comment: No, what this piece of code shows is that trying to assign a value to a tuple element will cause an error. Of course, the same error would be raise when using the the value 12345, but it's more instructive to use a different value to not confuse the reader

[issue25809] "Invalid" tests on locales

2015-12-05 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- nosy: +lemburg, loewis ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25809> ___

[issue25806] ResourceWarning in test_tasks

2015-12-05 Thread SilentGhost
SilentGhost added the comment: Indeed it's one of those posted in the msg255490 -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> asyncio tests are getting noisy ___ Python tracker <rep...@bugs.py

[issue25810] Python 3 documentation for eval is incorrect

2015-12-05 Thread SilentGhost
SilentGhost added the comment: I think this is the case where hard-coded strings where not updated in the C files. -- nosy: +SilentGhost versions: -Python 3.5, Python 3.6 ___ Python tracker <rep...@bugs.python.org> <http://bugs.p

[issue25810] Python 3 documentation for eval is incorrect

2015-12-05 Thread SilentGhost
SilentGhost added the comment: I'm not sure how the people are supposed to discover this convention according to pep 436. Or is this now intended as two separate incompatible conventions for online docs and built-in help? -- ___ Python tracker <

[issue25810] Python 3 documentation for eval is incorrect

2015-12-05 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- stage: -> needs patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25810> ___ _

[issue25810] Python 3 documentation for eval is incorrect

2015-12-05 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- nosy: +larry ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25810> ___ __

[issue25156] shutil.copyfile should internally use os.sendfile when possible

2015-12-05 Thread SilentGhost
SilentGhost added the comment: No further comments from me. I haven't run the test, but I trust it passes without any warnings. -- nosy: +SilentGhost ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25810] Python 3 documentation for eval is incorrect

2015-12-05 Thread SilentGhost
SilentGhost added the comment: Yes, whatever Andre's posted is not an output from 3.5. It's 3.4 or earlier. Also it's a wider problem because the same issue exists for exec: built-in help shows keyword arguments, while docs and implementation require only positional. -- versions

[issue25801] ResourceWarning in test_zipfile64

2015-12-04 Thread SilentGhost
New submission from SilentGhost: Running test_zipfile64 from command line (i.e., ./python Lib/test/test_zipfile64.py) I get two ResourceWarnings: » ./python Lib/test/test_zipfile64.py ..Lib/test/test_zipfile64.py:82: ResourceWarning

[issue25800] errors running test_capi from command line

2015-12-04 Thread SilentGhost
New submission from SilentGhost: Running: ./python Lib/test/test_capi.py I got EmbeddingTests erroring out in setUp: first line of which (a triple application of os.path.dirname) creates an empty string which cannot be used as an argument to os.chdir afterwards. I'm to be honest not at all

[issue25778] Error on import matplotlib.pyplot and seaborn (Python3 - Windows 10 64-bit issue)

2015-12-02 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25778] Error on import matplotlib.pyplot and seaborn (Python3 - Windows 10 64-bit issue)

2015-12-02 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Library (Lib) nosy: +stutzbach stage: -> test needed ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue25778] winreg.EnumValue does not truncate strings correctly

2015-12-02 Thread SilentGhost
SilentGhost added the comment: Anshul, it's attached to this issue, before messages start under Files heading. Here is the direct link https://bugs.python.org/file41208/nullcheck.py -- nosy: +SilentGhost ___ Python tracker <rep...@bugs.python.

[issue25784] Please consider integrating performance fix for ipaddress.py

2015-12-02 Thread SilentGhost
SilentGhost added the comment: Perhaps I'm wrong, but a superficial inspection of the ipaddress.py seem to indicate that it's not affected by the same issue. _find_address_range is implemented as a generator, it doesn't restart comparison on every iteration. Alexander, did you experience any

[issue25785] TimedRotatingFileHandler missing rotations

2015-12-02 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Library (Lib) nosy: +vinay.sajip type: behavior -> enhancement ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue25765] Installation error

2015-11-29 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware type: performance -> behavior ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue25627] distutils : file "bdist_rpm.py" does not quote filenames when executing the rpm command

2015-11-29 Thread SilentGhost
SilentGhost added the comment: Yeah, it would be great, Martin, if only that code worked in python2. Anyway, here is an alternative patch. -- Added file: http://bugs.python.org/file41189/issue25627_3.diff ___ Python tracker <rep...@bugs.python.

[issue25627] distutils : file "bdist_rpm.py" does not quote filenames when executing the rpm command

2015-11-29 Thread SilentGhost
SilentGhost added the comment: I tried re-writing that bit using subprocess.Popen but since the 2.7 support is needed I genuinely don't see any benefit that would add on top of the submitted patch. -- ___ Python tracker <rep...@bugs.python.

[issue25758] ensurepip/venv broken on Windows if path includes unicode

2015-11-28 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Windows nosy: +brett.cannon, eric.snow, steve.dower, tim.golden, zach.ware ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25759] Python 2.7.11rc1 not building with Visual Studio 2015

2015-11-28 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Build, Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25695] test___all__ and test_support alter execution environment

2015-11-22 Thread SilentGhost
SilentGhost added the comment: test_support has this line: TESTDIRN = os.path.basename(tempfile.mkdtemp(dir='.')) Which is the culprit. The reason it gets so far as to import the module is due to the "fuzzy logic" check looking for __all__ What I'd suggest is replacing simple &

[issue25685] Inefficiency with SocketHandler - may send log record message string twice in pickled data structure

2015-11-20 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- nosy: +vinay.sajip stage: -> patch review versions: +Python 3.6 ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue20898] Missing 507 response description

2015-11-19 Thread SilentGhost
SilentGhost added the comment: Re msg233465: it doesn't seem like a particularly good justification to remove something that is not hurting anyone. The problem now is that because http.HTTPStatus is an enumeration, it cannot be extended, therefore when someone encounters these non-standard

[issue25639] open 'PhysicalDriveN' on windows fails (since python 3.5) with OSError: [WinError 1] Incorrect function

2015-11-16 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +IO, Windows keywords: +3.5regression nosy: +benjamin.peterson, paul.moore, pitrou, steve.dower, stutzbach, tim.golden, zach.ware stage: -> test needed ___ Python tra

[issue25624] shutil.make_archive makes invalid directory entries

2015-11-14 Thread SilentGhost
SilentGhost added the comment: Can you provide a test? -- nosy: +SilentGhost, serhiy.storchaka, tarek versions: +Python 3.6 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25627] distutils : file "bdist_rpm.py" allows Shell injection in "name"

2015-11-14 Thread SilentGhost
SilentGhost added the comment: This also seem to affect python 3, there os.popen implemented using subprocess.Popen, but that one is called with shell=True. So basically the string that's passed to os.popen should be quoted. The attached patch seem to be sufficient when applied on the default

[issue25626] Gzip fails for file over 2**32 bytes

2015-11-14 Thread SilentGhost
Changes by SilentGhost <ghost@gmail.com>: -- components: +Library (Lib) nosy: +nadeem.vawda, twouters versions: +Python 3.6 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25580] async and await missing from token list

2015-11-13 Thread SilentGhost
SilentGhost added the comment: Here is the updated wording. I'm not familiar with other such cases in the stdlib, if any one knows of another similar case, I'd be glad to correct the language to match previous usage. -- Added file: http://bugs.python.org/file41031/issue25580_2.diff

[issue25620] Bytes Issue

2015-11-13 Thread SilentGhost
SilentGhost added the comment: Yes. It follows from definition of bytes in python3 https://docs.python.org/3/library/functions.html#bytes Some useful information is also available in 3.0 release notes: https://docs.python.org/3/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit

<    6   7   8   9   10   11   12   13   14   >