Change by Dmitry Kazakov :
--
pull_requests: +13069
___
Python tracker
<https://bugs.python.org/issue27639>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Dmitry Kazakov :
--
pull_requests: -13067
___
Python tracker
<https://bugs.python.org/issue31841>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Dmitry Kazakov :
--
pull_requests: +13067
___
Python tracker
<https://bugs.python.org/issue31841>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Dmitry Kazakov :
--
pull_requests: -4870
___
Python tracker
<https://bugs.python.org/issue27639>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Dmitry Kazakov :
--
pull_requests: -4438
___
Python tracker
<https://bugs.python.org/issue31841>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Dmitry Kazakov :
--
nosy: -vaultah
___
Python tracker
<https://bugs.python.org/issue31299>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Dmitry Kazakov :
--
pull_requests: -11522
___
Python tracker
<https://bugs.python.org/issue31299>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Dmitry Kazakov :
--
pull_requests: -5065
___
Python tracker
<https://bugs.python.org/issue31299>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Dmitry Kazakov :
--
pull_requests: +11522
___
Python tracker
<https://bugs.python.org/issue31299>
___
___
Python-bugs-list mailing list
Unsubscribe:
Dmitry Kazakov added the comment:
It would seem no one is actually interested in this proposed enhancement. I'm
closing my PR, since I'm not interested in resolving the file conflict. I'll
probably submit a traceback-mutating patch to the issue 16217. This issue
Dmitry Kazakov added the comment:
I asked for some input on this issue in January
(https://mail.python.org/pipermail/python-dev/2018-January/151590.html). Since
then an important PR was merged (https://github.com/python/cpython/pull/4793),
however it mutates the traceback object. Should
Change by Dmitry Kazakov :
--
pull_requests: +5065
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issue31299>
___
___
Python-
Change by Dmitry Kazakov :
--
nosy: +vaultah
___
Python tracker
<https://bugs.python.org/issue27639>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Dmitry Kazakov :
--
pull_requests: +4870
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issue27639>
___
___
Python-
Dmitry Kazakov added the comment:
This is not a bug in Python. Refer to this page for the explanation:
https://stackoverflow.com/questions/240178/list-of-lists-changes-reflected-across-sublists-unexpectedly
Basically, [{}]*3 creates a list with three references to the same dictionary
Dmitry Kazakov added the comment:
I added a PR.
FWIW, I still think it would make sense to change the return type of
UserString.join, and maybe *split* and *partition methods (to return list/tuple
of UserString objects) for the sake of consistency
Change by Dmitry Kazakov :
--
keywords: +patch
pull_requests: +4438
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue31841>
___
___
Py
Change by Dmitry Kazakov :
--
pull_requests: -3274
___
Python tracker
<https://bugs.python.org/issue31299>
___
___
Python-bugs-list mailing list
Unsubscribe:
Dmitry Kazakov added the comment:
I only recently realized that trace.Trace accepts two similar arguments, namely
ignoremods and ignoredirs. Should we try to make the API and implementation of
the functionality proposed here conform to that of trace.Trace's ignoremods?
Would Python-Ide
Dmitry Kazakov added the comment:
This is a documented feature:
https://docs.python.org/3/reference/lexical_analysis.html#string-literal-concatenation
And yes, it was discussed before:
https://mail.python.org/pipermail/python-ideas/2013-May/020527.html
--
nosy: +vaultah
Dmitry Kazakov added the comment:
Ping. (this issue needs a decision on ignore_modules vs filter callback, and/or
patch review)
--
___
Python tracker
<https://bugs.python.org/issue31
New submission from Dmitry Kazakov :
A few of the methods of collections.UserString return objects of type str when
one would expect instances of UserString or a subclass. Here's an example for
UserString.join:
>>> s = UserString(', ').join(['a', 'b&
Dmitry Kazakov added the comment:
Yes, a public built-in facility to modify a traceback would certainly be
useful, although there should be a standard way to "hide" unwanted frames
without mutating the traceback, too, and the traceback module seems a perfect
place to add it.
Changes by Dmitry Kazakov :
--
pull_requests: +3274
___
Python tracker
<http://bugs.python.org/issue31299>
___
___
Python-bugs-list mailing list
Unsubscribe:
Dmitry Kazakov added the comment:
Since runpy also handles the execution of directories and zip files, I think it
would be reasonable to clean up tracebacks in these cases, too.
The ignore_modules argument would be a great addition to the traceback module.
Should I create a separate issue
Dmitry Kazakov added the comment:
In order to load and compile the module code, runpy calls the loader's get_code
method. Because that happens outside of the normal import process, and
PyImport_ImportModuleLevelObject is currently the only place where
remove_importlib_frames is being in
Dmitry Kazakov added the comment:
Please ignore my last message, I didn't notice the existing pull request...
Sorry.
--
___
Python tracker
<http://bugs.python.org/is
New submission from Dmitry Kazakov:
The "Simple Smalltalk Testing: With Patterns" link from
https://docs.python.org/3.5/library/unittest.html is dead. I found 2 "mirrors"
but I don't think any of them should replace the broken link.
1.
http://testingsoftware.blogs
Changes by Dmitry Kazakov :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue24309>
___
___
Python-bugs-list mailing list
Unsubscrib
Changes by Dmitry Kazakov :
--
nosy: +vlth
___
Python tracker
<http://bugs.python.org/issue14003>
___
___
Python-bugs-list mailing list
Unsubscribe:
Dmitry Kazakov added the comment:
Ugh, I guess I was too quick to propose deprecation, sorry :(
But is it a strict "No" to the proposed use of str.format as well? This would
be a (relatively) minor but useful change which, again, won't break anything.
I can
New submission from Dmitry Kazakov:
I came across this piece of code in Lib/string.py:146:
# We use this idiom instead of str() because the latter will
# fail if val is a Unicode containing non-ASCII characters.
return '%s' % (mapping[named],)
This seems vestigial. I thi
Changes by Dmitry Kazakov :
--
nosy: +vlth
___
Python tracker
<http://bugs.python.org/issue24275>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Dmitry Kazakov:
collections.Counter: Formatted the code in the "See also" section.
collections.deque.remove: "Removed the first occurrence of value." -> "Remove
..."
collections.deque.index (a followup from issue23704):
Changed [,
Dmitry Kazakov added the comment:
Please, do tell me if I'm wrong deleting that literal and it actually serves
some purpose...
--
___
Python tracker
<http://bugs.python.org/is
New submission from Dmitry Kazakov:
One of the integers under "Some examples of integer literals" is repeated twice:
7 21474836470o1770b100110111
3 79228162514264337593543950336 0o3770x1
7922816251426433759
New submission from Dmitry Kazakov:
This
if there are any values in iterable that are note bytes-like objects
should be
if there are any values in iterable that are not bytes-like objects
Here's a micropatch...
--
assignee: docs@python
components: Documentation
Changes by Dmitry Kazakov :
Added file: http://bugs.python.org/file39166/traceback_limit_doc_rev3.diff
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Pytho
Changes by Dmitry Kazakov :
Added file: http://bugs.python.org/file39162/traceback_limit_doc_rev2.diff
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Pytho
Changes by Dmitry Kazakov :
Removed file: http://bugs.python.org/file39161/traceback_limit_doc_rev.diff
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Dmitry Kazakov added the comment:
Thanks, completely missed the abs(limit) part. Here's the updated documentation
patch.
--
Added file: http://bugs.python.org/file39161/traceback_limit_doc_rev.diff
___
Python tracker
<http://bugs.py
Dmitry Kazakov added the comment:
Here's the documentation patch.
--
Added file: http://bugs.python.org/file39152/traceback_limit_doc.diff
___
Python tracker
<http://bugs.python.org/is
Dmitry Kazakov added the comment:
I'll do that tomorrow. The patch still needs a review though...
--
___
Python tracker
<http://bugs.python.org/is
Dmitry Kazakov added the comment:
Again, I'm honestly sorry if I'm being annoying, but is there anything else
that needs to be done in order to make this issue "resolved"? The stage is set
to "patch review", although there were no messages posted since the l
Changes by Dmitry Kazakov :
Removed file: http://bugs.python.org/file37341/traceback_patch_2.diff
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bug
Changes by Dmitry Kazakov :
Removed file: http://bugs.python.org/file37181/traceback.diff
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bugs-list m
Changes by Dmitry Kazakov :
Removed file: http://bugs.python.org/file36919/tb_patch_2.diff
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bug
Dmitry Kazakov added the comment:
I improved tests for *_stack and *_tb functions, fixed a few typos and added
more comments.
--
Added file: http://bugs.python.org/file37632/traceback_rev3.diff
___
Python tracker
<http://bugs.python.org/issue22
Dmitry Kazakov added the comment:
Hold on, I found 2 more bugs. Will update the patch soon.
--
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Pytho
Dmitry Kazakov added the comment:
Thank you, Terry. You got the proposal right. I'm glad you noticed the issues
with tests, I updated the patch to fix them.
--
Added file: http://bugs.python.org/file37628/traceback_rev2.diff
___
Python tr
Dmitry Kazakov added the comment:
Some of the patches (including the latest one) were missing Mercurial header.
I'm uploading the properly formatted patch (traceback_rev_fixed.diff)
--
Added file: http://bugs.python.org/file37615/traceback_rev_fixed
Dmitry Kazakov added the comment:
I understand that this issue is far from being important, but this is going to
be the fourth unreviewed file in this issue. I noted all your comments to me
and fixed the patch accordingly, but ever since November I'm the only one who
posts something he
New submission from Dmitry Kazakov:
Documentation on marshal module says that format version is 3, but
Py_MARSHAL_VERSION is set to 4. Search for marshal-related issues gave me an
idea that this is a documentation bug.
--
assignee: docs@python
components: Documentation
files
Dmitry Kazakov added the comment:
Python Developer's Guide said to ping the issue, in case of one-month long
inactivity period.
--
___
Python tracker
<http://bugs.python.org/is
Changes by Dmitry Kazakov :
Removed file: http://bugs.python.org/file37336/traceback_patch_2.diff
___
Python tracker
<http://bugs.python.org/issue22974>
___
___
Python-bug
Dmitry Kazakov added the comment:
Moved the latest patch with implementation and tests from issue 22974
(http://bugs.python.org/issue22974).
--
status: closed -> open
Added file: http://bugs.python.org/file37341/traceback_patch_2.diff
___
Pyt
Changes by Dmitry Kazakov :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue22974>
___
___
Python-bugs-list mailing list
Unsubscrib
Dmitry Kazakov added the comment:
Indeed, this is an exact duplicate, but I feel like that issue is an
embarrassment: too many unnecessary actions, bad patches, and most of messages
are totally useless. I wanted to start over for once, so I closed that issue.
Pardon my initial ignorance
Changes by Dmitry Kazakov :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Dmitry Kazakov:
This is a complete implementation of negative limits for functions from
traceback module (see this proposal -
https://mail.python.org/pipermail/python-ideas/2014-August/029105.html). I also
added some tests.
--
components: Library (Lib)
files
Changes by Dmitry Kazakov :
--
status: closed -> open
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bugs-list mailing list
Unsubscrib
Changes by Dmitry Kazakov :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bugs-list mailing list
Unsubscrib
Dmitry Kazakov added the comment:
Revisiting this issue, I realize that I made quite a few mistakes (because this
was the first issue I submitted). The patch is definitely minor, and I'm no
longer interested in it. This issue may now be closed. C
Dmitry Kazakov added the comment:
I updated the patch.
--
Added file: http://bugs.python.org/file37181/traceback.diff
___
Python tracker
<http://bugs.python.org/issue22
Dmitry Kazakov added the comment:
I'm not sure what would be the best way to support negative limit for stack
functions. Actually, I think the current behavior is not intuitive. For example
we could make positive limit mean the same thing for traceback and stack
functions (load N en
Dmitry Kazakov added the comment:
I think the reason this patch hasn't been discussed well is that it only
changes the behavior for traceback.*_tb functions that only deal with
tracebacks. I commented on the review page that we don't have to change the
behavior of traceback.*_stack
Changes by Dmitry Kazakov :
Added file: http://bugs.python.org/file36919/tb_patch_2.diff
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bugs-list m
Changes by Dmitry Kazakov :
Removed file: http://bugs.python.org/file36918/4a0ec19e4288.diff
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bug
Changes by Dmitry Kazakov :
--
hgrepos: -278
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Dmitry Kazakov :
Added file: http://bugs.python.org/file36918/4a0ec19e4288.diff
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bug
Changes by Dmitry Kazakov :
--
hgrepos: +278
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Dmitry Kazakov :
Removed file: http://bugs.python.org/file36916/tb_patch.diff
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bugs-list m
Dmitry Kazakov added the comment:
Renamed the cond variable, added tuple unpacking instead of using a single
variable.
--
Added file: http://bugs.python.org/file36916/tb_patch.diff
___
Python tracker
<http://bugs.python.org/issue22
Changes by Dmitry Kazakov :
--
hgrepos: -275
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Dmitry Kazakov :
--
hgrepos: -277
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Dmitry Kazakov :
Added file: http://bugs.python.org/file36899/9cb7aaad1d85.diff
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Python-bug
Dmitry Kazakov added the comment:
Here's the updated (optimized) patch
--
hgrepos: +277
___
Python tracker
<http://bugs.python.org/issue22619>
___
___
Pytho
Dmitry Kazakov added the comment:
Thanks. I replied to your comments at Retvield. I'll update the patch tomorrow.
--
___
Python tracker
<http://bugs.python.org/is
Changes by Dmitry Kazakov :
--
keywords: +patch
Added file: http://bugs.python.org/file36891/9f618a0c2880.diff
___
Python tracker
<http://bugs.python.org/issue22
Dmitry Kazakov added the comment:
Sorry, first time posting here; accidently pressed Enter.
--
hgrepos: +275
___
Python tracker
<http://bugs.python.org/issue22
New submission from Dmitry Kazakov:
This is the possible patch for this proposal:
https://mail.python.org/pipermail/python-ideas/2014-October/029826.html.
--
components: Library (Lib)
messages: 229167
nosy: vlth
priority: normal
severity: normal
status: open
title: Possible
Dmitry Kazakov added the comment:
def _extract_tb_or_stack_iter(curr, limit, extractor):
# Distinguish frames from tracebacks (need to import types)
if limit is None:
limit = getattr(sys, 'tracebacklimit', None)
elif limit < 0 and isinstance(curr, types.
82 matches
Mail list logo