[issue23137] Python 2.7.9 test_gdb fails on CentOS 7

2015-03-08 Thread SilentGhost
Changes by SilentGhost : -- nosy: +benjamin.peterson, haypo ___ Python tracker <http://bugs.python.org/issue23137> ___ ___ Python-bugs-list mailing list Unsub

[issue23607] Inconsistency in datetime.utcfromtimestamp(Decimal)

2015-03-08 Thread SilentGhost
SilentGhost added the comment: Here is the python-only fix that eliminates TypeError and produces correct number of milliseconds. The problem with C implementation lies in _PyTime_ObjectToDenominator function where there is an explicit check for a float. This check could be relaxed to include

[issue23616] Conflict between generic cycle and undo shortcut.

2015-03-08 Thread SilentGhost
Changes by SilentGhost : -- nosy: +kbk, roger.serwy, terry.reedy ___ Python tracker <http://bugs.python.org/issue23616> ___ ___ Python-bugs-list mailing list Unsub

[issue23643] Segmentation Fault with Large Simple Function

2015-03-11 Thread SilentGhost
SilentGhost added the comment: This seems to work on linux (returning 0), but fails on 3.4 with "RuntimeError: maximum recursion depth exceeded during compilation". I wonder if the two are related. -- nosy: +SilentGhost ___ Python trac

[issue23739] locale.setlocale checks locale name for string incorrectly

2015-03-22 Thread SilentGhost
Changes by SilentGhost : -- nosy: +lemburg, loewis ___ Python tracker <http://bugs.python.org/issue23739> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23764] functools.wraps should be able to change function argspec as well

2015-03-24 Thread SilentGhost
Changes by SilentGhost : -- nosy: +ncoghlan, rhettinger versions: -Python 3.2, Python 3.3, Python 3.4, Python 3.6 ___ Python tracker <http://bugs.python.org/issue23

[issue23884] New DateType for argparse (like FileType but for dates)

2015-04-07 Thread SilentGhost
Changes by SilentGhost : -- nosy: +bethard ___ Python tracker <http://bugs.python.org/issue23884> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24035] When Caps Locked, + alpha-character still displayed as uppercase

2015-04-22 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <http://bugs.python.org/issue24

[issue27904] Let logging format more messages on demand

2016-08-30 Thread SilentGhost
Changes by SilentGhost : -- nosy: +vinay.sajip stage: -> patch review versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue27904> ___ ___ Py

[issue27908] del _limbo[self] KeyError

2016-08-31 Thread SilentGhost
Changes by SilentGhost : -- components: +Extension Modules nosy: +brett.cannon type: -> behavior ___ Python tracker <http://bugs.python.org/issue27908> ___ _

[issue27907] Misspelled variable in test_asyncio/test_events

2016-08-31 Thread SilentGhost
Changes by SilentGhost : -- components: +Library (Lib) nosy: +giampaolo.rodola, gvanrossum, haypo, yselivanov stage: -> patch review versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issu

[issue27900] ctypes fails to find ncurses via ncursesw on Arch Linux

2016-08-31 Thread SilentGhost
Changes by SilentGhost : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker <http://bugs.python.org/issue27900> ___ ___ Python-bugs-list m

[issue27904] Let logging format more messages on demand

2016-08-31 Thread SilentGhost
Changes by SilentGhost : -- resolution: fixed -> stage: resolved -> patch review status: closed -> open type: performance -> behavior ___ Python tracker <http://bugs.python

[issue27910] Doc/library/traceback.rst — references to tuples should be replaced with new FrameSummary object

2016-08-31 Thread SilentGhost
Changes by SilentGhost : -- stage: -> patch review type: -> behavior ___ Python tracker <http://bugs.python.org/issue27910> ___ ___ Python-bugs-list

[issue27910] Doc/library/traceback.rst — references to tuples should be replaced with new FrameSummary object

2016-08-31 Thread SilentGhost
SilentGhost added the comment: LGTM. -- nosy: +SilentGhost stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issue27910> ___ _

[issue27913] Difflib.ndiff (Problem on identification of changes as Diff Style)

2016-08-31 Thread SilentGhost
SilentGhost added the comment: Since there are more than a quarter of all characters changed between two sequences, they are considered sufficiently different and no by-character comparison is shown. -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status

[issue27909] Py_INCREF(NULL) in _imp.create_builtin

2016-08-31 Thread SilentGhost
Changes by SilentGhost : -- stage: -> resolved ___ Python tracker <http://bugs.python.org/issue27909> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue27904] Let logging format more messages on demand

2016-08-31 Thread SilentGhost
Changes by SilentGhost : -- stage: patch review -> resolved ___ Python tracker <http://bugs.python.org/issue27904> ___ ___ Python-bugs-list mailing list Un

[issue27935] logging level FATAL missing in _nameToLevel

2016-09-02 Thread SilentGhost
Changes by SilentGhost : -- nosy: +vinay.sajip ___ Python tracker <http://bugs.python.org/issue27935> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28020] Python 3 logging HTTPHandler doesn't implement a standard http basic authorize

2016-09-08 Thread SilentGhost
Changes by SilentGhost : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> TypeError in logging.HTTPHandler.emit; possible python 2 to 3 conversion issue ___ Python tracker <http://bugs.python

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-08 Thread SilentGhost
Changes by SilentGhost : -- stage: -> patch review versions: -Python 3.3, Python 3.4 ___ Python tracker <http://bugs.python.org/issue28019> ___ ___ Python-

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-08 Thread SilentGhost
Changes by SilentGhost : -- stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issue28019> ___ ___ Python-bugs-list mailing list Un

[issue28029] Replace and empty strings

2016-09-08 Thread SilentGhost
Changes by SilentGhost : -- components: +Interpreter Core stage: -> needs patch versions: +Python 3.5, Python 3.6 ___ Python tracker <http://bugs.python.org/issu

[issue28029] Replace and empty strings

2016-09-08 Thread SilentGhost
Changes by SilentGhost : -- keywords: +patch Added file: http://bugs.python.org/file44477/issue28029.diff ___ Python tracker <http://bugs.python.org/issue28

[issue28029] Replace and empty strings

2016-09-08 Thread SilentGhost
SilentGhost added the comment: Just the least intrusive patch. Also, to me PyPy behaviour doesn't seem correct. -- nosy: +SilentGhost stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org

[issue28044] Make the sidebar in the documentation follow the section automatically

2016-09-09 Thread SilentGhost
SilentGhost added the comment: I get the following warning in Firefox's Developer console: This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://developer.mozilla.org/docs/Mozilla/Performance/ScrollLinkedEffect

[issue27951] the reply's additional "Re:" is ok

2016-09-09 Thread SilentGhost
Changes by SilentGhost : -- resolution: -> not a bug stage: test needed -> resolved ___ Python tracker <http://bugs.python.org/issue27951> ___ ___ Pyth

[issue28063] Adding a mutually exclusive group to an argument group results in segmentation fault under linux

2016-09-10 Thread SilentGhost
SilentGhost added the comment: Cannot reproduce this either on stock 3.5.2 or 3.6 on Ubuntu. -- nosy: +SilentGhost ___ Python tracker <http://bugs.python.org/issue28

[issue28054] Diff for visually comparing actual with expected in mock.assert_called_with.

2016-09-10 Thread SilentGhost
Changes by SilentGhost : -- nosy: +michael.foord versions: +Python 3.7 -Python 3.3 ___ Python tracker <http://bugs.python.org/issue28054> ___ ___ Python-bug

[issue28063] Adding a mutually exclusive group to an argument group results in segmentation fault under linux

2016-09-10 Thread SilentGhost
Changes by SilentGhost : -- stage: -> resolved ___ Python tracker <http://bugs.python.org/issue28063> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue28068] Error in freeze.py due to unguarded sys.abiflags usage under Windows

2016-09-10 Thread SilentGhost
SilentGhost added the comment: Here is the patch, I'm not sure if any more changes are needed there, so it would be good to test. -- components: +Windows keywords: +patch nosy: +SilentGhost, paul.moore, steve.dower, tim.golden, zach.ware stage: -> patch review type: compi

[issue28070] 3.6 regression: re.compile not handling flags with X correctly

2016-09-10 Thread SilentGhost
SilentGhost added the comment: I get normal behaviour on e3dbe8b7279a -- nosy: +SilentGhost ___ Python tracker <http://bugs.python.org/issue28070> ___ ___ Pytho

[issue28068] Error in freeze.py due to unguarded sys.abiflags usage under Windows

2016-09-11 Thread SilentGhost
SilentGhost added the comment: Sure, that was just a typo. While "no errors" is good news, does the code is actually doing what it's supposed to do? Are you sure there aren't any hidden issue related to the potentially incorrect paths? -- Added file: http://bugs.

[issue28068] Error in freeze.py due to unguarded sys.abiflags usage under Windows

2016-09-11 Thread SilentGhost
SilentGhost added the comment: Given that it's a Windows issue, I'm sure Windows core developers in the nosy list would find a way to verify the fix. For the record, this bug was introduced in issue 11824. -- nosy: +meador.inge ___ Pyth

[issue28068] Error in freeze.py due to unguarded sys.abiflags usage under Windows

2016-09-11 Thread SilentGhost
Changes by SilentGhost : Removed file: http://bugs.python.org/file44538/28068.diff ___ Python tracker <http://bugs.python.org/issue28068> ___ ___ Python-bugs-list mailin

[issue25478] Consider adding a normalize() method to collections.Counter()

2016-09-12 Thread SilentGhost
SilentGhost added the comment: Floats are also not fully supported by the Counter class, for example, sorted(Counter(a=1.0).elements()) results in TypeError. -- nosy: +SilentGhost ___ Python tracker <http://bugs.python.org/issue25

[issue25478] Consider adding a normalize() method to collections.Counter()

2016-09-12 Thread SilentGhost
Changes by SilentGhost : -- Removed message: http://bugs.python.org/msg275998 ___ Python tracker <http://bugs.python.org/issue25478> ___ ___ Python-bugs-list m

[issue25478] Consider adding a normalize() method to collections.Counter()

2016-09-12 Thread SilentGhost
Changes by SilentGhost : -- nosy: -SilentGhost ___ Python tracker <http://bugs.python.org/issue25478> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17884] Try to reuse stdint.h types like int32_t

2016-09-12 Thread SilentGhost
SilentGhost added the comment: I get the following compiler warning now: In file included from ./Include/Python.h:66:0, from /cpython/Modules/_ssl.c:19: /cpython/Modules/_ssl.c: In function ‘_setup_ssl_threads’: ./Include/pymem.h:136:18: warning: comparison is always false due

[issue17884] Try to reuse stdint.h types like int32_t

2016-09-12 Thread SilentGhost
Changes by SilentGhost : -- resolution: fixed -> stage: patch review -> status: closed -> open ___ Python tracker <http://bugs.python.org/issue17884> ___ ___

[issue17884] Try to reuse stdint.h types like int32_t

2016-09-12 Thread SilentGhost
SilentGhost added the comment: Probably, not for a particularly good reason, but none of the near-by code in _ssl.c seemed relevant on superficial inspection. The commit 02c8db9c255f which modified Include/pymem.h didn't have an issue associated wi

[issue17884] Try to reuse stdint.h types like int32_t

2016-09-12 Thread SilentGhost
Changes by SilentGhost : -- resolution: -> fixed stage: -> resolved ___ Python tracker <http://bugs.python.org/issue17884> ___ ___ Python-bugs-list

[issue23545] Turn on extra warnings on GCC

2016-09-12 Thread SilentGhost
SilentGhost added the comment: The commit didn't resolve the warning though. -- nosy: +SilentGhost ___ Python tracker <http://bugs.python.org/issue23545> ___ ___

[issue28102] zipfile.py script should print usage to stderr

2016-09-12 Thread SilentGhost
SilentGhost added the comment: The status code in all those cases should have been 2. -- nosy: +SilentGhost ___ Python tracker <http://bugs.python.org/issue28

[issue28118] type-limits warning in PyMem_New() _ssl_locks_count

2016-09-13 Thread SilentGhost
SilentGhost added the comment: It seems to be also related to #23545 (Martin saw a similar warning about a month ago). -- nosy: +SilentGhost, martin.panter, serhiy.storchaka ___ Python tracker <http://bugs.python.org/issue28

[issue28121] If module starts with comment or empty line then frame.f_code.co_firstlineno is inconsistent with inspect.findsource

2016-09-13 Thread SilentGhost
Changes by SilentGhost : -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue28121> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28133] spam

2016-09-13 Thread SilentGhost
Changes by SilentGhost : -- Removed message: http://bugs.python.org/msg276324 ___ Python tracker <http://bugs.python.org/issue28133> ___ ___ Python-bugs-list m

[issue28133] spam

2016-09-13 Thread SilentGhost
Changes by SilentGhost : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue28133> ___ ___

[issue28133] spam

2016-09-13 Thread SilentGhost
Changes by SilentGhost : -- nosy: -gukaar77 title: really and truly -> spam ___ Python tracker <http://bugs.python.org/issue28133> ___ ___ Python-bugs-list mai

[issue28136] RegEx documentation error

2016-09-13 Thread SilentGhost
Changes by SilentGhost : -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker <http://bugs.python

[issue28155] Small typo in Json docs

2016-09-14 Thread SilentGhost
SilentGhost added the comment: The space between -m switch and module name is not mandatory as you should be able to see if you run those examples. -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved ___ Python tracker

[issue28155] Small typo in Json docs

2016-09-14 Thread SilentGhost
Changes by SilentGhost : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue28155> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue28171] getopt.getopt error processing long_options

2016-09-15 Thread SilentGhost
SilentGhost added the comment: It's a documented behaviour: "Long options on the command line can be recognized so long as they provide a prefix of the option name that matches exactly one of the accepted options" ------ nosy: +SilentGhost resolution: -> not a bug s

[issue28171] getopt.getopt error processing long_options

2016-09-15 Thread SilentGhost
SilentGhost added the comment: It's not an error. Read the docs, there's a longer and more detailed explanation there. There is no chance of this being changed, not in a module like getopt. -- ___ Python tracker <http://bugs.python.o

[issue28172] Upper-case all example enum members

2016-09-15 Thread SilentGhost
Changes by SilentGhost : -- stage: -> patch review ___ Python tracker <http://bugs.python.org/issue28172> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue28115] Use argparse for the zipfile module

2016-09-18 Thread SilentGhost
SilentGhost added the comment: Given that at present zipfile CLI has no test or docs, and along with Guido's aversion for such tools in general, I'm not at all sure they should be added. In any case, here is the patch for the main part of conversion. -- keywords: +patch st

[issue28115] Use argparse for the zipfile module

2016-09-18 Thread SilentGhost
SilentGhost added the comment: Neither of those fit under definition of "permissible" modules. So, I would then suggest to close this issue and any further issues against CLI of those modules. -- ___ Python tracker <http://bu

[issue28197] range.index mismatch with documentation

2016-09-18 Thread SilentGhost
Changes by SilentGhost : -- versions: +Python 3.7 ___ Python tracker <http://bugs.python.org/issue28197> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28203] complex() gives wrong error when the second argument has an invalid type

2016-09-19 Thread SilentGhost
Changes by SilentGhost : -- stage: -> patch review type: enhancement -> behavior versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/i

[issue28246] Unable to read simple text file

2016-09-22 Thread SilentGhost
SilentGhost added the comment: It would be good to add a FAQ / HowTo entry for this question. -- nosy: +SilentGhost ___ Python tracker <http://bugs.python.org/issue28

[issue17206] Py_XDECREF() expands its argument multiple times

2016-09-25 Thread SilentGhost
Changes by SilentGhost : -- resolution: -> fixed status: open -> closed type: -> behavior ___ Python tracker <http://bugs.python.org/issue17206> ___

[issue28115] Use argparse for the zipfile module

2016-09-27 Thread SilentGhost
SilentGhost added the comment: Jaysinh, you can upload your modified patch, so it can be reviewed. -- ___ Python tracker <http://bugs.python.org/issue28

[issue28300] [PATCH] Fix misspelled "implemented" word

2016-09-28 Thread SilentGhost
SilentGhost added the comment: LGTM -- assignee: -> docs@python components: +Documentation nosy: +SilentGhost, docs@python stage: -> commit review type: -> behavior versions: +Python 3.6 ___ Python tracker <http://bugs.python.or

[issue28293] Don't completely dump the regex cache when full

2016-09-28 Thread SilentGhost
SilentGhost added the comment: Serhiy, your patch doesn't seem to apply cleanly. Also, it's perhaps worth opening the issue if you'd like to continue working on it. ------ nosy: +SilentGhost ___ Python tracker <http://bugs.pyt

[issue28302] Unpacking numpy array give list

2016-09-28 Thread SilentGhost
SilentGhost added the comment: It doesn't matter what you're unpacking, *y will collect the unpacked elements into a list. -- components: +Interpreter Core -Regular Expressions nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status

[issue28345] 8/3 is calculated incorrectly

2016-10-02 Thread SilentGhost
Changes by SilentGhost : -- stage: -> resolved ___ Python tracker <http://bugs.python.org/issue28345> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue28344] Python 3.5.2 hangs when running in session 0

2016-10-02 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <http://bugs.python.org/issue28

[issue28364] Windows - Popen (subprocess.py) does not call _handle.Close() at all

2016-10-05 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware type: -> behavior ___ Python tracker <http://bugs.python.org/issu

[issue28378] urllib2 does not handle cookies with `,`

2016-10-07 Thread SilentGhost
SilentGhost added the comment: Could you please post an example of what you're being sent from the server and how your code handles / fails to deal with it. -- nosy: +SilentGhost stage: -> test needed versions: +Python 2.7 ___ Python tracke

[issue28384] hmac cannot be used with shake algorithms

2016-10-07 Thread SilentGhost
Changes by SilentGhost : -- components: +Extension Modules nosy: +christian.heimes type: -> behavior ___ Python tracker <http://bugs.python.org/issu

[issue28390] Wrong heading levels in whatsnew/3.6

2016-10-08 Thread SilentGhost
New submission from SilentGhost: Couple of headings in whatsnew/3.6.rst have wrong level. The patch fixes this. -- assignee: docs@python components: Documentation files: headings.diff keywords: patch messages: 278296 nosy: SilentGhost, docs@python priority: normal severity: normal stage

[issue28416] defining persistent_id in _pickle.Pickler subclass causes reference cycle

2016-10-11 Thread SilentGhost
Changes by SilentGhost : -- nosy: +alexandre.vassalotti ___ Python tracker <http://bugs.python.org/issue28416> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28378] urllib2 does not handle cookies with `,`

2016-10-12 Thread SilentGhost
SilentGhost added the comment: On python2 you should be able to use Cookie module to parse cookies, rather than doing that manually. Commas are handled correctly there. On python3 the same functionality can be found in http.cookies. The SimpleCookie.load could be used directly to have the

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

2016-10-16 Thread SilentGhost
SilentGhost added the comment: Here is the updated patch with fixes to the test suite. -- versions: +Python 3.7 Added file: http://bugs.python.org/file45113/25953_2.diff ___ Python tracker <http://bugs.python.org/issue25

[issue28483] python --version prints output to stderr

2016-10-20 Thread SilentGhost
Changes by SilentGhost : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Python -V and --version output to stderr instead of stdout ___ Python tracker <http://bugs.python

[issue28478] Built-in module 'Time' does not enable functions if -Wno-error specified in the build environment

2016-10-20 Thread SilentGhost
Changes by SilentGhost : -- components: +Build type: -> behavior versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue28478> ___ ___ Python-

[issue18219] csv.DictWriter is slow when writing files with large number of columns

2016-10-20 Thread SilentGhost
Changes by SilentGhost : -- stage: -> commit review versions: +Python 3.5, Python 3.6, Python 3.7 -Python 3.4 ___ Python tracker <http://bugs.python.org/issu

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

2016-10-20 Thread SilentGhost
SilentGhost added the comment: Updated patch taking Serhiy's comments into account. There was another case on line 725 for when zero is used as a group number, I'm not sure though if it falls within the scope of this issue, so it's not included in the current patch.

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

2016-10-22 Thread SilentGhost
SilentGhost added the comment: I've modified addgroup to take a pos argument, this seem to introduce minimal disturbance. -- Added file: http://bugs.python.org/file45187/25953_4.diff ___ Python tracker <http://bugs.python.org/is

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

2016-10-23 Thread SilentGhost
SilentGhost added the comment: Updated patch fixing the position issue. -- Added file: http://bugs.python.org/file45194/25953_5.diff ___ Python tracker <http://bugs.python.org/issue25

[issue28514] Python (IDLE?) freezes on file save on Windows

2016-10-23 Thread SilentGhost
Changes by SilentGhost : -- status: open -> pending ___ Python tracker <http://bugs.python.org/issue28514> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21590] Systemtap and DTrace support

2016-10-29 Thread SilentGhost
SilentGhost added the comment: Building the documentation on Ubuntu 16.10, I started getting the following warnings: /Doc/howto/instrumentation.rst:58: WARNING: Could not lex literal_block as "python3". Highlighting skipped. /Doc/howto/instrumentation.rst:139: WARNING: Cou

[issue21590] Systemtap and DTrace support

2016-10-29 Thread SilentGhost
SilentGhost added the comment: Here is the patch that fixes warning in /Doc/howto/instrumentation.rst as well as cleans up a few nits here and there. I've removed attempt at highlighting using c since that doesn't work in practice. -- keywords: +patch nosy: +berker.pe

[issue26638] Avoid warnings about missing CLI options when building documentation

2016-10-29 Thread SilentGhost
SilentGhost added the comment: Patch (v3) is fine, except it no longer applies cleanly. I have a patch against the tip which I could upload if needed. I would also be in favour of disabling the unittest options directly, currently no link is generated and it doesn't seem like there

[issue28560] Implement `PurePath.startswith` and `PurePath.endswith`

2016-10-30 Thread SilentGhost
SilentGhost added the comment: Do you mean that /foo was just an arbitrary string, rather than one of the parent directories? Because in that case it seems a perfectly correct way to go about comparison. If /foo was one of the parents, there are plenty of options: .parts, .parents

[issue28560] Implement `PurePath.startswith` and `PurePath.endswith`

2016-10-30 Thread SilentGhost
Changes by SilentGhost : -- resolution: wont fix -> rejected stage: -> resolved ___ Python tracker <http://bugs.python.org/issue28560> ___ ___ Python-bugs-

[issue28563] Arbitrary code execution in gettext.c2py

2016-10-30 Thread SilentGhost
Changes by SilentGhost : -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue28563> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28565] datetime.strptime %Z doesn't produce aware object

2016-10-31 Thread SilentGhost
SilentGhost added the comment: According to documentation %z is the only directive that would result in the aware object. %Z is not capable of doing that, so what you're asking is a new feature - that could only go in 3.7 -- components: +Library (Lib) nosy: +SilentGhost

[issue28567] Bus error / segmentation fault on macOS debug build when using ctypes OpenGL

2016-10-31 Thread SilentGhost
Changes by SilentGhost : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker <http://bugs.python.org/issue28567> ___ ___ Python-bugs-list m

[issue28513] Document zipfile CLI

2016-10-31 Thread SilentGhost
SilentGhost added the comment: Serhiy, this needs .. program:: zipfile directive specified before cmdoption. Without it :option:`-c` links to python's -c, rather than zipfile's. The -l and -e are linked correctly, but the option links would have be be changed for all three, i.e.

[issue28570] httplib mishandles unknown 1XX status codes

2016-10-31 Thread SilentGhost
SilentGhost added the comment: The fix could be as small as the attached patched, though I'm not sure that is the correct way of handling 101 code. -- keywords: +patch nosy: +SilentGhost Added file: http://bugs.python.org/file45296/28570

[issue28513] Document zipfile CLI

2016-11-01 Thread SilentGhost
SilentGhost added the comment: > Apparently (haven’t tried myself) if you put “.. program:: zipfile” before > the :option: invocations, it changes the default context and you don’t need > the bit. Yes, moving program directive just after "Command Line Interface"

[issue28578] '\n' escape character print before the Py_GetCompiler version

2016-11-01 Thread SilentGhost
SilentGhost added the comment: And how exactly are you "hitting sys.version command"? -- nosy: +SilentGhost versions: -Python 3.4 ___ Python tracker <http://bugs.python.o

[issue28578] '\n' escape character print before the Py_GetCompiler version

2016-11-01 Thread SilentGhost
SilentGhost added the comment: sys.version is a string, it's intended to be printed and it needs \n to be able to output two lines. I'm not sure what exactly problem you're having, but if you want special characters like \n not to show in output, you should use >>>

[issue28513] Document zipfile CLI

2016-11-01 Thread SilentGhost
Changes by SilentGhost : -- components: -XML ___ Python tracker <http://bugs.python.org/issue28513> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28573] Python 3.6.0b3 64-bit has no sys._mercurial info

2016-11-01 Thread SilentGhost
SilentGhost added the comment: The same is on 3.5.2 on ubuntu 16.10 -- nosy: +SilentGhost, larry versions: +Python 3.5 ___ Python tracker <http://bugs.python.org/issue28

[issue28579] nan != nan

2016-11-01 Thread SilentGhost
SilentGhost added the comment: That's how IEEE 754's NaN is defined. Seem to be behaving according to the standard. -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status: open -> closed ___ Py

[issue28590] fstring's '{' from escape sequences does not start an expression

2016-11-02 Thread SilentGhost
Changes by SilentGhost : -- nosy: +eric.smith ___ Python tracker <http://bugs.python.org/issue28590> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28621] Refactor duplicate code calculating digit's bit length

2016-11-05 Thread SilentGhost
Changes by SilentGhost : -- nosy: +mark.dickinson stage: -> patch review ___ Python tracker <http://bugs.python.org/issue28621> ___ ___ Python-bugs-list mai

[issue28642] csv reader loosing rows with big files and tab delimiter

2016-11-08 Thread SilentGhost
SilentGhost added the comment: Could you perhaps make the smaller file make available somewhere? -- nosy: +SilentGhost ___ Python tracker <http://bugs.python.org/issue28

<    9   10   11   12   13   14   15   >