New submission from Mohammad Mahdi Zojaji Monfared :
Walrus oprator := not in help("symbols")
and help(":=") does not work.
--
components: Interpreter Core
files: walrus.png
messages: 414168
nosy: mmahdizojajim
priority: normal
severity: normal
status: open
ti
Change by Ali Mohammad Pur :
--
title: 'virtualenv --clear' should prompt user before nuking entire directory
-> 'venv --clear' should prompt user before nuking entire directory
___
Python tracker
<https://bugs.python.org/issu
Ali Mohammad Pur added the comment:
> If similar behavior is also an issue with the Python standard library venv
> module (which is a derivative of virtualenv), please update this issue
> accordingly
Yes, my bad, I should have mentioned that this applies to venv, I will update
New submission from Ali Mohammad Pur :
`virtualenv --clear` is extremely eager to delete the passed directory without
any sort of confirmation, leading to possible data-loss
(e.g. with a mistyped command, or a misunderstanding of what it actually does).
Simply deleting an entire directory tree
Change by Mohammad Mostafa Farzan :
--
pull_requests: +27804
pull_request: https://github.com/python/cpython/pull/29556
___
Python tracker
<https://bugs.python.org/issue45
Change by Mohammad Mostafa Farzan :
--
keywords: +patch
nosy: +m2_farzan
nosy_count: 4.0 -> 5.0
pull_requests: +27797
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29548
___
Python tracker
<https://bugs.p
New submission from Mohammad Sadra Sharifzadeh :
I want to know whether some string is in same string or not (yeah the SAME)
in the file attached I have two expressions:
1- print('اندیمشک' in 'اندیمشک')
2- print('اندیمشک' in 'اندیمشک')
as you can see both of them are same thing but if you run
New submission from AmirHossein Haji Mohammad Sadegh :
It's not wrong but in the example for "continue" in the tutorial, the code
prints "Found an even number" for even numbers and "Found a number" for odd
numbers. Maybe it would be better if we print "Fo
Mohammad Dehghan added the comment:
I submitted a PR for this:
https://github.com/python/cpython/pull/16016
--
___
Python tracker
<https://bugs.python.org/issue38
New submission from Mohammad Dehghan :
In section 8.6 of the tutorials page
(https://docs.python.org/3/tutorial/errors.html#defining-clean-up-actions), the
first item of the bullet points explaining some situations about finally
clause, states that
> If an exception occurs during execut
Change by Mohammad Dehghan :
--
assignee: docs@python
components: Documentation
nosy: Mohammad Dehghan, docs@python
priority: normal
severity: normal
status: open
title: Error in section 8.6 of the tutorials (Errors and Exceptions, `finally`
bullet points))
type: behavior
versions
Mohammad Maaz Khan added the comment:
Hi, I want to update the doc for this. This will be my first attempt to update
the documentation.
--
nosy: +maaz92
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/
Mohammad Maaz Khan added the comment:
Hi Éric, I think the documentation should be changed to match the arguments'
names.
--
nosy: +maaz92
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
New submission from mohammad aghanabi:
According to [UAX #29](http://unicode.org/reports/tr29) - unicode word
boundaries (rule WB5a), an apostrophe includes U+0027 ( ' ) APOSTROPHE and
U+2019 ( ’ ) RIGHT SINGLE QUOTATION MARK (curly apostrophe).
However regex module only implements U+0027
New submission from Mohammad Akram:
I think the random.choice function should support sets. The random.sample
function already supports sets and therefore the API should be consistent in
this regard.
This is how it's done in the sample method (line 295):
if isinstance(population
New submission from mohammad mohammad.madan...@gmail.com:
when i type python in my command promp this message is shown :
C:\Documents and Settings\Xpython
Fatal Python error: Py_Initialize: can't initialize sys standard streams
LookupError: unknown encoding: cp720
This application has
New submission from Mohammad Al mramah...@hotmail.com:
It seems that RotatingFileHandler is experiencing an issue when
attempting to rotate log files under Windows. The following errors are
received:
Traceback (most recent call last):
File C:\Python25\lib\logging\handlers.py, line 73
17 matches
Mail list logo