Khalid Mammadov added the comment:
This is another, larger example, where I actually stumbled on this when looking
into Apache Airflow project. Below makes it confusing to see what is actually
required and what not. Unless you look for square brackets. Would be it much
nicer to list
Khalid Mammadov added the comment:
May I suggest to change it again so we two sections: required and optional?
This can help to be more clear from usage perspective. I have changed it
locally and it looks like below:
usage: myprogram.py [-h] [--foo FOO] --bar BAR
required arguments
New submission from Khalid Mammadov :
Currently argparse module shows all optional arguments under "optional
arguments" section of the help.
It also includes those flags/arguments that are required as well.
This add confusion to a user and does not properly show
Change by Khalid Mammadov :
--
resolution: -> duplicate
___
Python tracker
<https://bugs.python.org/issue39180>
___
___
Python-bugs-list mailing list
Un
Khalid Mammadov added the comment:
Looks like this is covered in greater detail in the other PRs. So, closing the
PR and the issue
--
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
Change by Khalid Mammadov :
--
resolution: -> duplicate
___
Python tracker
<https://bugs.python.org/issue39139>
___
___
Python-bugs-list mailing list
Un
Khalid Mammadov added the comment:
Looks like it's not meant to be made public as the module is meant to be
working on a single line. So closing the issue and PR
--
nosy: -ammar2
stage: patch review -> resolved
status: open -> closed
___
Khalid Mammadov added the comment:
How to find if it was intentional or over-site?
--
___
Python tracker
<https://bugs.python.org/issue39180>
___
___
Python-bug
Change by Khalid Mammadov :
--
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue39130>
___
___
Pyth
Change by Khalid Mammadov :
--
keywords: +patch
pull_requests: +17216
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17784
___
Python tracker
<https://bugs.python.org/issu
Change by Khalid Mammadov :
--
assignee: docs@python
components: Documentation
nosy: docs@python, khalidmammadov
priority: normal
severity: normal
status: open
title: Missing getlines func documentation from linecache module
versions: Python 3.8
Change by Khalid Mammadov :
--
keywords: +patch
pull_requests: +17153
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17707
___
Python tracker
<https://bugs.python.org/issu
New submission from Khalid Mammadov :
"Deprecated since version 3.3, will be removed in version 3.9: Moved
Collections Abstract Base Classes to the collections.abc module. For backwards
compatibility, they continue to be visible in this module through Python 3.8."
on the o
Change by Khalid Mammadov :
--
keywords: +patch
pull_requests: +17148
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17694
___
Python tracker
<https://bugs.python.org/issu
Change by Khalid Mammadov :
--
assignee: docs@python
components: Documentation
nosy: docs@python, khalidmammadov
priority: normal
severity: normal
status: open
title: Dict is reversable from v3.8 and should say that in the doc
type: enhancement
versions: Python 3.8
New submission from Khalid Moh'd. :
Consider conversion of an integer to string:
a=5 #number
str #outputs
str(a) #works perfectly and prints '5'
Now, consider:
str="Hello World" #reads the string
str #prints "Hello World"
str(5) #gives an error
Interp
A.B., Khalid added the comment:
OK. I updated pyreadline to version 2.1 from version 2.0 and now the buggy
behavior is gone.
"""
E:\>python
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit
(AMD64)] on win32
Type "help", "copyr
A.B., Khalid added the comment:
Output of SET PY is as follows:
E:\>SET PY
PYSDL2_DLL_PATH=E:\Python27\Lib\site-packages
PYTHON3_HOME=E:\Python35
PYTHON_HOME=E:\Python27
--
___
Python tracker
<http://bugs.python.org/issu
A.B., Khalid added the comment:
I enclose the output of "python -v". Where Python exits is of course indicated
by the end of the file. However, there is no obvious error that is printed out.
Also it might be worthwhile to note that I cleared all compiled files left over
from th
A.B., Khalid added the comment:
Running "where python" shows that the updated python (the one with the bug
mentioned above) is the one being run.
Running python -c "import sys; print sys.stdin.isatty()" prints out "True".
--
New submission from A.B., Khalid:
I updated my Python 2.7.12 to 2.7.13 on Windows 10 x64. When I run it in
Windows command prompt shell, Python prints the version header and then exits
immediately. Like so:
"""
E:\Users\thisuser>python
Python 2.7.13 (v2.7.13:a06454b1afa1,
Khalid added the comment:
I tried but I got this error "this installation package could not be
opened. verify that the package exists & that you can access it, or contact
the application vendor to verify that this is a valid windows installer
package" (screen shot in the attachmen
Khalid added the comment:
I found a fix & this is the source
http://www.youtube.com/watch?v=KikshWVWhzg
but the question is did I make a security vulnerability?
On Wed, Sep 24, 2014 at 3:55 AM, Khalid wrote:
>
> Khalid added the comment:
>
> I tried downloading installer b
Khalid added the comment:
I tried downloading installer by firefox,chrome & explorer with latest
update but still the same problem. I'm getting mad about why I can't get an
error log
On Wed, Sep 24, 2014 at 2:50 AM, Steve Dower wrote:
>
> Steve Dower added the com
Khalid added the comment:
Downloaded from official website & I run it by simply double click. by the
way there is no run as admin
On Sep 23, 2014 4:51 AM, "Eric V. Smith" wrote:
>
> Eric V. Smith added the comment:
>
> Where did you download the installer from?
&
New submission from Khalid:
when I'm installing python 2.7.8 I get error "there is a problem with this
windows installer package. a DLL required for this install to complete could
not be run". I'm using windows 8.1 64bit
--
components: Installation
files: Capture.
26 matches
Mail list logo