[issue42689] Installation

2020-12-19 Thread Rafael
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. Error cod

[issue42689] Installation

2020-12-19 Thread Rafael
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: Window

[issue42689] Installation

2020-12-19 Thread Rafael
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 star

[issue2149] Queue.maxsize, __init__() accepts any value as maxsize

2008-02-20 Thread Rafael Zanella
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] http

[issue2149] Queue.maxsize, __init__() accepts any value as maxsize

2008-02-20 Thread Rafael Zanella
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 [EMAIL PROTECTED] http

[issue2149] Queue.maxsize, __init__() accepts any value as maxsize

2008-02-20 Thread Rafael Zanella
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 documentation, negative values result

[issue1533] Bug in range() function for large values

2008-02-21 Thread Rafael Zanella
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 module print xrange(MyInt(2**64), MyInt(2**64+10)) OverflowError: long int too large to convert to int -- nosy

[issue2149] Queue.maxsize, __init__() accepts any value as maxsize

2008-02-21 Thread Rafael Zanella
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

[issue2149] Queue.maxsize, __init__() accepts any value as maxsize

2008-02-21 Thread Rafael Zanella
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://bugs.python.org/issue2149

[issue2118] smtplib.SMTP() raises socket.error rather than SMTPConnectError

2008-02-23 Thread Rafael Zanella
Changes by Rafael Zanella: -- nosy: +zanella __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2118 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue2149] Queue.maxsize, __init__() accepts any value as maxsize

2008-02-23 Thread Rafael Zanella
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.Queue(c) # Not dynamic print

[issue2143] smtplib.SSLFakeFile hangs forever if \n is not encountered

2008-02-23 Thread Rafael Zanella
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 up to LEN bytes and return them. Return

[issue1533] Bug in range() function for large values

2008-02-24 Thread Rafael Zanella
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 thing to do would

[issue1524] os.system() fails for commands with multiple quoted file names

2008-02-24 Thread Rafael Zanella
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. -- nosy

[issue1986] io.StringIO allows any parameter

2008-02-24 Thread Rafael Zanella
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, errors=strict, newline=\n): super(StringIO

[issue1986] io.StringIO allows any parameter

2008-02-24 Thread Rafael Zanella
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, basestring): buf = str

[issue1193577] add server.shutdown() method and daemon arg to SocketServer

2008-02-25 Thread Rafael Zanella
Changes by Rafael Zanella: -- nosy: +zanella _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1193577 _ ___ Python-bugs-list mailing list Unsubscribe: http

[issue3826] BaseHTTPRequestHandler depends on GC to close connections

2008-09-24 Thread Rafael Zanella
Changes by Rafael Zanella [EMAIL PROTECTED]: -- nosy: +zanella ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3826 ___ ___ Python-bugs-list mailing list

[issue2302] Uses of SocketServer.BaseServer.shutdown have a race

2008-05-07 Thread Rafael Zanella
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 multiple serve_forever

[issue2650] re.escape should not escape underscore

2008-05-07 Thread Rafael Zanella
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_patch.diff

[issue2791] subprocess.py leaks fd in communicate

2008-05-19 Thread Rafael Zanella
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 issue of the extra pipe: if [self.stdin

[issue3194] Demo/loop.c passing char * instead of wchar_t *

2008-06-24 Thread Rafael Zanella
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: loop_c.diff

[issue2683] subprocess.Popen.communicate takes bytes, not str

2008-06-29 Thread Rafael Zanella
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 that adds the str.encode() call on communicate

[issue2325] isinstance(anything, MetaclassThatDefinesInstancecheck) raises instead of returning False

2008-06-29 Thread Rafael Zanella
Rafael Zanella [EMAIL PROTECTED] added the comment: So..., could this issue be closed ? -- nosy: +zanella ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2325

[issue2683] subprocess.Popen.communicate takes bytes, not str

2008-07-01 Thread Rafael Zanella
Rafael Zanella [EMAIL PROTECTED] added the comment: _communicate still encodes the string under the hood ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2683

[issue4608] urllib.request.urlopen does not return an iterable object

2011-04-23 Thread Rafael Zanella
Rafael Zanella rafael.zane...@yahoo.com.br 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

[issue11697] Unsigned type in mmap_move_method

2011-04-24 Thread Rafael Zanella
Rafael Zanella rafael.zane...@yahoo.com.br 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

[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2011-04-24 Thread Rafael Zanella
Rafael Zanella azraellzane...@gmail.com 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

[issue17448] test_xml should skip when no xml parsers are found

2013-03-17 Thread Rafael Santos
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, line

[issue17448] test_xml should skip when no xml parsers are found

2013-03-17 Thread Rafael Santos
Changes by Rafael Santos tuci...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file29435/skiptestsax.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17448

[issue17448] test_sax should skip when no xml parsers are found

2013-03-17 Thread Rafael Santos
Changes by Rafael Santos tuci...@gmail.com: -- title: test_xml should skip when no xml parsers are found - test_sax should skip when no xml parsers are found ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17448

[issue15398] intermittence on UnicodeFileTests.test_rename at test_pep277 on MacOS X

2012-07-20 Thread Rafael Caricio
Rafael Caricio raf...@caricio.com 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 rep...@bugs.python.org http://bugs.python.org

[issue20874] Tutorial section on starting python is out of date

2014-04-14 Thread Rafael Mejia
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 rep...@bugs.python.org http

[issue20874] Tutorial section on starting python is out of date

2014-04-14 Thread Rafael Mejia
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 rep...@bugs.python.org http

[issue29668] f-strings don't change the values as expected.

2017-02-27 Thread Rafael Capucho
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' AND entry.instance

[issue29668] f-strings don't change the values as expected.

2017-02-27 Thread Rafael Capucho
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: normal

[issue29668] f-strings don't change the values as expected.

2017-02-27 Thread Rafael Capucho
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 == 'devic

[issue29668] f-strings don't change the values as expected.

2017-02-27 Thread Rafael Capucho
Rafael Capucho added the comment: Serhiy Storchaka, Thank you for your explanation. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue17088] ElementTree incorrectly refuses to write attributes without namespaces when default_namespace is used

2017-10-11 Thread Rafael Ascensao
Rafael Ascensao <rafa.al...@gmail.com> added the comment: what's the status on this? -- nosy: +Rafael Ascensao ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue39051] Python not working on Windows 10

2019-12-15 Thread Rafael Dominiquini
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 turtledem

[issue39051] Python not working on Windows 10

2019-12-15 Thread Rafael Dominiquini
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't want

[issue39051] Python not working on Windows 10

2019-12-15 Thread Rafael Dominiquini
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\Python

[issue39051] Python not working on Windows 10

2019-12-14 Thread Rafael Dominiquini
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: core

[issue39051] Python not working on Windows 10

2019-12-15 Thread Rafael Dominiquini
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

[issue39051] Python not working on Windows 10

2019-12-15 Thread Rafael Dominiquini
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.python.o

[issue39051] Python not working on Windows 10

2019-12-15 Thread Rafael Dominiquini
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\Python\python-3.8.0.amd64\'. I

[issue39051] Python not working on Windows 10

2019-12-15 Thread Rafael Dominiquini
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

[issue39051] Python not working on Windows 10

2019-12-15 Thread Rafael Dominiquini
Change by Rafael Dominiquini : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue39051] Python not working on Windows 10

2019-12-15 Thread Rafael Dominiquini
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.org/issue39

[issue39445] h5py not playing nicely with subprocess and mpirun

2020-01-24 Thread Rafael Laboissière
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

[issue39229] library/functions.rst causes translated builds to fail

2020-01-08 Thread Rafael Fontenelle
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 PATH=/home

[issue39183] Text divided in two strings due to wrong formatting

2020-01-03 Thread Rafael Fontenelle
Rafael Fontenelle added the comment: Fix confirmed, closing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue39183] Text divided in two strings due to wrong formatting

2020-01-01 Thread Rafael Fontenelle
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``: if a \"d

[issue39229] library/functions.rst causes translated builds to fail

2020-01-05 Thread Rafael Fontenelle
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

[issue39229] library/functions.rst causes translated builds to fail

2020-01-05 Thread Rafael Fontenelle
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

[issue40719] Add pt-br to the language switcher at the Python 3.6 and 2.7 docs website

2020-05-21 Thread Rafael Fontenelle
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. -- assignee

[issue40719] Add pt-br to the language switcher at the Python 3.6 and 2.7 docs website

2020-05-21 Thread Rafael Fontenelle
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

[issue40719] Add pt-br to the language switcher at the Python 3.6 and 2.7 docs website

2020-05-26 Thread Rafael Fontenelle
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

[issue42180] Missing a plural in library/functions

2020-10-28 Thread Rafael Fontenelle
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 al

[issue42180] Missing a plural in library/functions

2020-10-28 Thread Rafael Fontenelle
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

[issue45120] Windows cp encodings "UNDEFINED" entries update

2021-09-06 Thread Rafael Belo
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

[issue45120] Windows cp encodings "UNDEFINED" entries update

2021-09-16 Thread Rafael Belo
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

[issue45120] Windows cp encodings "UNDEFINED" entries update

2021-09-17 Thread Rafael Belo
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

[issue46130] Untranslatable link text in whatsnew/3.10

2021-12-19 Thread Rafael Fontenelle
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 in t

[issue46130] Untranslatable link text in whatsnew/3.10

2021-12-19 Thread Rafael Fontenelle
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

[issue46130] Untranslatable link text in whatsnew/3.10

2021-12-23 Thread Rafael Fontenelle
Change by Rafael Fontenelle : -- pull_requests: +28457 pull_request: https://github.com/python/cpython/pull/30236 ___ Python tracker <https://bugs.python.org/issue46

[issue44010] IDLE: highlight soft keywords

2021-11-06 Thread Rafael Fontenelle
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

[issue45741] entry points singular?

2021-11-06 Thread Rafael Fontenelle
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

[issue45741] entry points singular?

2021-11-07 Thread Rafael Fontenelle
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

[issue7325] tempfile.mkdtemp() does not return absolute pathname when relative dir is specified

2010-11-20 Thread Rafael dos Santos Gonçalves
Rafael dos Santos Gonçalves rafaelsant...@gmail.com 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

[issue7325] tempfile.mkdtemp() does not return absolute pathname when relative dir is specified

2010-11-21 Thread Rafael dos Santos Gonçalves
Changes by Rafael dos Santos Gonçalves rafaelsant...@gmail.com: Removed file: http://bugs.python.org/file19699/issue7325.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7325

[issue7325] tempfile.mkdtemp() does not return absolute pathname when relative dir is specified

2010-11-21 Thread Rafael dos Santos Gonçalves
Rafael dos Santos Gonçalves rafaelsant...@gmail.com 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 rep...@bugs.python.org http

[issue1043134] mimetypes.guess_extension('text/plain') == '.ksh' ???

2010-11-21 Thread Rafael dos Santos Gonçalves
Rafael dos Santos Gonçalves rafaelsant...@gmail.com 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 is: the code return the first of list: return extensions[0] So, I add one

[issue10500] Palevo.DZ worm msix86 installer 3.x installer

2010-11-28 Thread Rafael Villar Burke
Rafael Villar Burke pachibu...@gmail.com added the comment: Latest AVG Free on windows (9.0.872) says it's clean. -- nosy: +Rafael.Villar.Burke ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10500

[issue37450] Generalize Euclidean distance function in the math module to Minkowski distance

2019-06-30 Thread Rafael Villca Poggian
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

[issue37450] Generalize Euclidean distance function in the math module to Minkowski distance

2019-06-30 Thread Rafael Villca Poggian
Change by Rafael Villca Poggian : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue37450> ___ ___ Python-bugs-list mailing list Un

[issue41769] Positional arguments which use store boolean actions do not behave as other actions.

2020-09-11 Thread Rafael Guterres Jeffman
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

[issue41769] Positional arguments with boolean actions behave differently

2020-09-21 Thread Rafael Guterres Jeffman
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 some

[issue28735] Mock is equal to ANY but MagicMock is not

2016-11-18 Thread Rafael Jacinto Caricio da Fonseca
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