Arjun added the comment:
I was modifying the try/except/finally/else code generation and wanted to run
my own benchmarks.
It's cumbersome to edit them in a command to test different variations,
especially when you have to indent.
--
___
Python
Change by Arjun :
--
keywords: +patch
pull_requests: +29026
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30844
___
Python tracker
<https://bugs.python.org/issu
New submission from Arjun :
currently, timeit accepts programs line by line as commandline arguments.
it would be convenient to give it a program as a file to benchmark.
--
components: Library (Lib)
messages: 411448
nosy: CCLDArjun
priority: normal
severity: normal
status: open
title
Arjun added the comment:
Which frozendict does your message concern? I found this in some test:
https://github.com/python/cpython/blob/bb3e0c240bc60fe08d332ff5955d54197f79751c/Lib/test/test_builtin.py#L741
or are you suggesting any user defined immutable object?
I'm not sure indicating
Arjun added the comment:
Well actually, it depends on the platform?
--
___
Python tracker
<https://bugs.python.org/issue32536>
___
___
Python-bugs-list mailin
Arjun added the comment:
the line numbers are different for me too (MacOS).
it seems that tokenize module is off by +1 line
--
nosy: +CCLDArjun
___
Python tracker
<https://bugs.python.org/issue32
Change by Arjun :
--
pull_requests: +25302
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26714
___
Python tracker
<https://bugs.python.org/issu
Arjun added the comment:
> If _test were considered obsolete, it could be removed.
removing _test:
https://github.com/CCLDArjun/cpython/commit/8b3b8ccef0ef693f8f4105fd1eb56e9386675301
does not break dis tests.
--
___
Python tracker
<
Arjun added the comment:
> If _test were considered obsolete, it could be removed.
Yup, originally it was added 2 decades ago (in 2000) originally as a test:
1fdae12c932
--
___
Python tracker
<https://bugs.python.org/issu
Arjun added the comment:
Huh, that's actually weird that the "exisisting command line interface" (quotes
because it was added as a test) isn't official. I've found it to be convinient
as a newcomer to the cpython codebase.
> What is unusual, I think, for a CLI
New submission from Arjun :
python dis module should have a program passed in as string.
Currently, you can do this:
$ echo "x = 6" | python -m dis /dev/stdin
1 0 LOAD_CONST 0 (6)
2 STORE_NAME 0 (x)
4
Arjun added the comment:
would the update invalid test belong in the TestVectorsTestCase class or should
I make a new one?
--
___
Python tracker
<https://bugs.python.org/issue14
Change by Arjun :
--
pull_requests: +25222
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/26636
___
Python tracker
<https://bugs.python.org/issu
Arjun added the comment:
The only things I think we should add to the current hmac tests are
test_update_error_handling and test_with_invalid_msg.
For test_withnoncallable_digestmod(), hmac itself seems it can no longer be
used:
>>> hmac.HMAC(b"", None, "hma
Change by Arjun :
--
keywords: +patch
pull_requests: +25176
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26592
___
Python tracker
<https://bugs.python.org/issu
Arjun added the comment:
> This one will be very tricky to do correctly because the '=' is very
> context-sensitive and the parser can be confused when backtracking, so this
> *may* be quite delicate/complex
Well, I was thinking we could just do a sim
Arjun added the comment:
I forgot to add, I would be willing to make the necessary changes, if accepted
--
___
Python tracker
<https://bugs.python.org/issue44
New submission from Arjun :
Recently, CPython got a new syntax error, "SyntaxError: expression expected
after dictionary key and ':'". I propose to add a "expected expression" in
general for consistency. I would like to have it changed for all the "equals"
New submission from sai arjun :
I have received the email.
Sent from Mail for Windows 10
From: Python tracker
Sent: 16 August 2018 17:08
To: venkkar...@yahoo.com
Subject: Complete your registration to Python tracker --
keysnSwaZe6PtikiEZf4bdIXIiuwFyFZFxp
To complete your registration
New submission from arjun v <arjun...@gmail.com>:
In python 3.6 (and above hopefully), dictionary keys are going to be ordered,
while their documentation still reference them as being unordered.
https://docs.python.org/3/tutorial/datastructures.html#dictionaries
1: `It is best to
20 matches
Mail list logo