Change by Rafael Fontenelle :
--
pull_requests: +28457
pull_request: https://github.com/python/cpython/pull/30236
___
Python tracker
<https://bugs.python.org/issue46
Change by Rafael Fontenelle :
--
keywords: +patch
pull_requests: +28420
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30199
___
Python tracker
<https://bugs.python.org/issu
New submission from Rafael Fontenelle :
The following string can be found in What's New in Python 3.10 source file
(Doc/whatsnew/3.10.rst):
> For major changes, see `New Features Related to Type Hints`_.
where "`New Features Related to Type Hints`_" is a link to a section
Change by Rafael Fontenelle :
--
keywords: +patch
pull_requests: +27715
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29461
___
Python tracker
<https://bugs.python.org/issu
New submission from Rafael Fontenelle :
whatsnew/3.10 on importlib.metadata has the following paragraph:
"importlib.metadata entry points now provides a nicer experience for selecting
entry points by group and name through a new importlib.metadata.EntryPoints
class. See the Compatib
Change by Rafael Fontenelle :
--
nosy: +rffontenelle
nosy_count: 5.0 -> 6.0
pull_requests: +27709
pull_request: https://github.com/python/cpython/pull/29454
___
Python tracker
<https://bugs.python.org/issu
Rafael Belo added the comment:
Eryk
Regarding the codecsmodule.c i don't really know its inner workings and how it
is connected to other modules, and as of it, changes on that level for this use
case are not critical. But it is nice to think and evaluate on that level too,
since
Rafael Belo added the comment:
As encodings are indeed a complex topic, debating this seems like a necessity.
I researched this topic when i found an encoding issue regarding a mysql
connector: https://github.com/PyMySQL/mysqlclient/pull/502
In MySQL itself there is a mislabel of "l
New submission from Rafael Belo :
There is a mismatch in specification and behavior in some windows encodings.
Some older windows codepages specifications present "UNDEFINED" mapping,
whereas in reality, they present another behavior which is updated in a section
named "bestfit
Rafael added the comment:
I'm very new to python. I went to download 3.9.1 and it said "There was an
error creating a temporary file that is needed to complete this installation."
I was wondering how I can fix this problem so I can start learning. Erro
Rafael added the comment:
I'm very new to python. I went to download 3.9.1 and it said "There was an
error creating a temporary file that is needed to complete this installation."
I was wondering how I can fix this problem so I can
New submission from Rafael :
I'm very new to python. I went to download 3.9.1 and it said "There was an
error creating a temporary file that is needed to complete this installation."
I was wondering how I can fix this problem so I can start learning
--
components: W
Change by Rafael Fontenelle :
--
keywords: +patch
pull_requests: +21931
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23015
___
Python tracker
<https://bugs.python.org/issu
New submission from Rafael Fontenelle :
Missing plural in the start of the following sentence from library/functions:
"The optional argument *flags* and *dont_inherit* controls which :ref:`compiler
options ` should be activated and which :ref:`future
features ` should be allowed."
Rafael Guterres Jeffman added the comment:
I don't think many users will try to use a boolean positional argument. I only
excited this behavior because I was writing an abstraction over argparse to
define the command line interface based on a configuration file, and I was
trying to add
New submission from Rafael Guterres Jeffman :
argparse allow the use of `store_true` and `store_false` for positional
arguments, and although it is weird, it should be fine, but using either action
raises a behavior I believe is wrong.
Given the following Python code:
```
import argparse
Rafael Fontenelle added the comment:
3.6 applied. Since 2.7 was already "sunsetted", leave as is. Closing.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs
Change by Rafael Fontenelle :
--
keywords: +patch
pull_requests: +19572
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/20301
___
Python tracker
<https://bugs.python.org/issu
New submission from Rafael Fontenelle :
Thanks to bpo-38592, pt-br is listed in 3.8 and 3.7 versions. Now, pt-br
team's repository has 3.6 and 2.7 branches daily pomerged from 3.8 branch. So,
I believe it would nice to have it in those older versions' language switcher.
-
New submission from Rafael Laboissière :
* Preamble:
The problem reported hereafter possibly comes from the h5py module, which is
not part of Python per se. This problem has been already reported to the h5py
developers: https://github.com/h5py/h5py/issues/1467
and also against the Debian
Rafael Fontenelle added the comment:
Hey Julien! I already fixed once, now I fixed them again, but the message
persists:
make[1]: Entering directory
'/home/rffontenelle/repos/python-docs-pt-br/venv/workdirs/cpython/Doc'
mkdir -p build
Building NEWS from Misc/NEWS.d with blurb
Change by Rafael Fontenelle :
--
keywords: +patch
pull_requests: +17277
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17857
___
Python tracker
<https://bugs.python.org/issu
New submission from Rafael Fontenelle :
Documentation file library/functions.rst has a syntax issue that when building
documentation with warnings as errors, the following message appears:
cpython/Doc/library/functions.rst:: WARNING: inconsistent term references in
translated message
Rafael Fontenelle added the comment:
Fix confirmed, closing.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Rafael Fontenelle :
When translating Python docs, the 'library/ensurepip' module [1] has an bullet
list where one item's text is split in two due to a simple extra whitespace
character. This causes two separated translations strings
"``--default-pip``
Rafael Dominiquini added the comment:
I probably unintentionally deleted some necessary files here on my machine. I
closed the issue and marked 'not a bug'.
Thanks
--
___
Python tracker
<https://bugs.python.o
Change by Rafael Dominiquini :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Rafael Dominiquini added the comment:
I reinstall python here from scratch and now is working. But I need to delete
the remaining files after the uninstall. When I tried to uninstall and
reinstall holding the existing directories (\Lib\site-packages), the installer
fail to copy the missing
Rafael Dominiquini added the comment:
1) I tried to clear the value of the variable 'PYTHONPATH', and the error keeps
happening!
2) In my installation directory, I don't have the file
'C:\Developing\Python\python38.zip', neither the directory
'C:\Developing\
Rafael Dominiquini added the comment:
In this folder ("C: \ Developing \ Python \ Lib") there are only the folders I
have listed. No other files...
--
___
Python tracker
<https://bugs.python.o
Rafael Dominiquini added the comment:
I don't tried clean install! I tried to use the option "Repair" from the
installer.
Later I will try to completely uninstall and install from scratch.
--
___
Python tracker
<https://bugs.pyt
Rafael Dominiquini added the comment:
There are other Python installations on my computer, embedded in other
application installations (GIMP, etc ...), and these seem to be working
normally. But they are all older versions of Python...
I haven't tried reinstalling again since I didn
Rafael Dominiquini added the comment:
"C:\Developing\Python" is where I installed Python, selecting it in the
installer. This directory is where the binary 'python.exe' is located!
"C:\Developing\Python\Lib" have the folders:
idlelib
site-packages
test
tkinter
Rafael Dominiquini added the comment:
* PYTHONHOME = (not set)
* PYTHONPATH =
'C:\Developing\Python;C:\Developing\Python\Scripts;C:\Developing\Python\Lib;C:\Developing\Python\Lib\site-packages;C:\Developing\Python\DLLs;'
-- I try to set the variable 'PYTHONHOME=C:\Developing\P
New submission from Rafael Dominiquini :
I have Python installed on my computer for a while now and everything worked
fine. But today, I can't run it anymore:
Fatal Python error: init_fs_encoding: failed to get the Python codec of the
filesystem encoding
Python runtime state:
Change by Rafael Villca Poggian :
--
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue37450>
___
___
Python-bugs-list mailing list
Un
New submission from Rafael Villca Poggian :
Given that Euclidean distance function was added into the Math module, I think
it would be better to have the generalized version of the function as an
implementation of the Minkowski distance with p=2 by default, thus maintaining
the use as
Rafael Ascensao added the comment:
what's the status on this?
--
nosy: +Rafael Ascensao
___
Python tracker
<https://bugs.python.org/issue17088>
___
___
Pytho
Rafael Capucho added the comment:
Serhiy Storchaka,
Thank you for your explanation.
--
___
Python tracker
<http://bugs.python.org/issue29668>
___
___
Python-bug
Rafael Capucho added the comment:
I got:
SELECT COUNT(*) FROM `{a}` entry WHERE entry.type == 'device' AND
entry.instance == {a}
I expect the value of `{a}` changed, like:
SELECT COUNT(*) FROM `some_underscored_value` entry WHERE entry.type ==
'device'
Rafael Capucho added the comment:
```
a = "some_underscored_value"
u = (f" hello `{a}` cruel world"
" hi")
print(u)
query = (f"SELECT COUNT(*) "
"FROM `{a}` entry "
"WHERE entry.type == '
New submission from Rafael Capucho:
In the attached file, the lines 4 and 6 have the same structure, the line 4
changes the value of {a} properly, the line 6 didn't.
Thank you.
--
components: Interpreter Core
files: crazy.png
messages: 288649
nosy: Rafael Capucho
priority: n
New submission from Rafael Jacinto Caricio da Fonseca:
On Python 3.5.2 mock.Mock() is equal to mock.ANY, but mock.MagicMock() is not.
Minimal example:
In Python 3.5.2:
>>> from unittest import mock
>>> mock.Mock() == mock.ANY
True
>>> mock.ANY == mock.Moc
Rafael Mejia added the comment:
I've resubmitted the patch with the minimum lines changed and no trailing white
space.
--
Added file: http://bugs.python.org/file34856/issue_20874_2.patch
___
Python tracker
<http://bugs.python.org/is
Rafael Mejia added the comment:
Please review that attached patch. Feedback is welcome.
--
keywords: +patch
nosy: +Israfil
Added file: http://bugs.python.org/file34835/issue_20874.patch
___
Python tracker
<http://bugs.python.org/issue20
Changes by Rafael Santos :
--
title: test_xml should skip when no xml parsers are found -> test_sax should
skip when no xml parsers are found
___
Python tracker
<http://bugs.python.org/issu
Changes by Rafael Santos :
--
keywords: +patch
Added file: http://bugs.python.org/file29435/skiptestsax.patch
___
Python tracker
<http://bugs.python.org/issue17
New submission from Rafael Santos:
When running test_xml, an exception is thrown if no SAXReader is available, but
the test is not skipped.
[1/1] test_sax
test test_sax crashed -- Traceback (most recent call last):
File "/Users/tucif/Documents/dev/cpython/cpython/Lib/test/test_sax.py&q
Rafael Caricio added the comment:
I had this problem when I run the tests in my machine (Mac OSX 10.6.8). The
intermittence happen here.
--
nosy: +rafaelcaricio
___
Python tracker
<http://bugs.python.org/issue15
Rafael Zanella added the comment:
Simple (lazy) test case added.
It just replicates one test case of reporthook to work with progresshook.
The testcases assume the hard-coded value of blocksize on urllib, maybe it
should become a public property.
Also commented on diff: http
Rafael Zanella added the comment:
Seems like it should use size_t since it deals with memory location/obj size,
but Python doesn't have size_t only ssize_t, and ssize_t is signed...
"m.move(2**32, 10, 4) # Should throw a ValueError" <- Won't it wrap around
and
Rafael Zanella added the comment:
The patch that makes addinfourl() iterable was not commited due to the change
to HTTP request see: msg86365 (http://bugs.python.org/issue4608#msg86365).
Since urllib is protocol agnostic it should behave the same with FTP, right?
So, where to fix? Change the
Rafael Villar Burke added the comment:
Latest AVG Free on windows (9.0.872) says it's clean.
--
nosy: +Rafael.Villar.Burke
___
Python tracker
<http://bugs.python.org/is
Rafael dos Santos Gonçalves added the comment:
ksh is a text/plain to, all this extension are text/plain:
'.ksh', '.pl', '.bat', '.h', '.c', '.txt', '.asc', '.text', '.pot', '.brf'.
The problem i
Rafael dos Santos Gonçalves added the comment:
You is right, i put this command on test and not the test.
thankss
--
Added file: http://bugs.python.org/file19737/issue7325.diff
___
Python tracker
<http://bugs.python.org/issue7
Changes by Rafael dos Santos Gonçalves :
Removed file: http://bugs.python.org/file19699/issue7325.diff
___
Python tracker
<http://bugs.python.org/issue7325>
___
___
Pytho
Rafael dos Santos Gonçalves added the comment:
Hi people,
I insert a simple code in tempfile.py, that verify if the return starts with
./, and concatenate using the abspath function.
I changed the variable name file to temp_dir_abspath, because file is a
built-in function and it'
Changes by Rafael Zanella <[EMAIL PROTECTED]>:
--
nosy: +zanella
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3826>
___
__
Rafael Zanella <[EMAIL PROTECTED]> added the comment:
_communicate still encodes the string under the hood
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Rafael Zanella <[EMAIL PROTECTED]> added the comment:
xrange has been deprecated on py_3k, so it's a valid one liner.
--
keywords: +patch
nosy: +zanella
Added file: http://bugs.python.org/file10781/EditorWindow_-x-range.patch
___
Pyt
Rafael Zanella <[EMAIL PROTECTED]> added the comment:
So..., could this issue be closed ?
--
nosy: +zanella
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Rafael Zanella <[EMAIL PROTECTED]> added the comment:
Related/Similar: #3115
--
nosy: +zanella
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.o
Rafael Zanella <[EMAIL PROTECTED]> added the comment:
On subprocess.py the new method communicate() doesn't encode the string:
"""
_communicate(self, input):
...
if isinstance(input, str):
input = input.encode()
...
"""
I've attached a patch
New submission from Rafael Zanella <[EMAIL PROTECTED]>:
The Demo/loop.c passes a char pointer (argv[0]) while
Py_SetProgramName() now expects a wchar_t pointer.
I've attached a patch, the solution on the patch was borrowed,
ok stolen, from Python/frozenmain.c
--
files:
Rafael Zanella <[EMAIL PROTECTED]> added the comment:
I don't know a lot about the matter at hand, that's why I'm not gonna
append a patch.
On "_communicate()" after a pipe is read it's closed, doing the same on
"communicate()" seems to solve the
Rafael Zanella <[EMAIL PROTECTED]> added the comment:
AFAIK the lookup on dictionaries is faster than on lists.
Patch added, mainly a compilation of the previous patches with an
expanded test.
--
nosy: +zanella
Added file: http://bugs.python.org/file10215/re_patc
Rafael Zanella <[EMAIL PROTECTED]> added the comment:
>With the code as it stands, calls to shutdown that happen before
>serve_forever enters its loop will deadlock, and there's no simple way
>for the user to avoid this. The attached patch prevents the deadlock and
>allows
Changes by Rafael Zanella:
--
nosy: +zanella
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1193577>
_
___
Python-bugs-list mailing list
Unsubs
Rafael Zanella added the comment:
oops, stupid me, this a 3.0 issue..., well seems the str() conversion is
done as well on the 3.0 io module:
"""
class StringIO(TextIOWrapper):
def __init__(self, initial_value="", encoding="utf-8",
Rafael Zanella added the comment:
I believe you're referring to StringIO, if so, it changes the parameter
received to a string:
"""
class StringIO:
def __init__(self, buf = ''):
# Force self.buf to be a string or unicode
if not isinstance(buf
Rafael Zanella added the comment:
I don't have access to a Windows machine, but is it really necessary to
quote the command part? I mean, on GNU/Linux if you pass a command wich
has spaces , say e.g.: ls -lah, quoted it fails too, but if passed
without quotes it runs just fine.
--
Rafael Zanella added the comment:
According to the documentation
(http://docs.python.org/dev/library/functions.html) "The arguments must
be plain integers", so I think the wrong thing here is to run the
object's __int__() under the range()'s hood. I think the right thi
Rafael Zanella added the comment:
As of 2.6 the smtplib uses the ssl module, until 2.5 it uses _ssl, I
*think* that this issue would bring an Exception on 2.5 while on 2.6
would return a zero length string:
"""
def read(self, len=1024):
"""Read u
Rafael Zanella added the comment:
Just to exemplify:
"""
from threading import Thread
import time
import Queue
class C:
def __int__(self):
return 3
#def __del__(self): print "collected..." # won't happen since q holds
a reference to it
c = C()
q = Queue
Changes by Rafael Zanella:
--
nosy: +zanella
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2118>
__
___
Python-bugs-list mailing list
Unsubs
Rafael Zanella added the comment:
Mine patch doesn't address the "hold the mutex before changing the
maxsize" guess it would then force a get()?
__
Tracker <[EMAIL PROTECTED]>
<http://b
Rafael Zanella added the comment:
@gutworth: Since one of the main uses of Queue is with threads, I think
it *really* should acquire the mutex before changing the maxsize;
@amaury.forgeotdarc: Your patch makes the point of allowing the size to
be changed at some other place (e.g.: an attribute
Rafael Zanella added the comment:
FWIW, using xrange() it seems to give the proper error message:
Traceback (most recent call last):
File "bad_range.py", line 12, in
print xrange(MyInt(2**64), MyInt(2**64+10))
OverflowError: long int too large to convert to int
--
nosy
Rafael Zanella added the comment:
Firts: the security type was my error.
The method wich uses the maxsize:
"""
# Check whether the queue is full
def _full(self):
return self.maxsize > 0 and len(self.queue) == self.maxsize
"""
@rhettinger: As per the documen
New submission from Rafael Zanella:
Queue.Queue(), accepts any value as the maxsize, example:
foo = Queue.Queue('j');
l = []; foo = Queue.Queue(l);
...
Shouldn't the value passed be checked on init :
isinstance(maxsize, int) ?
__
Tracker &l
Changes by Rafael Zanella:
--
components: Library (Lib)
nosy: zanella
severity: minor
status: open
title: Queue.maxsize, __init__() accepts any value as maxsize
type: security
versions: Python 2.4, Python 2.5
__
Tracker <[EMAIL PROTECTED]>
81 matches
Mail list logo