[issue4926] putenv() accepts names containing '=', return value of unsetenv() not checked

2009-01-12 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue4926> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4871] zipfile can't decrypt

2009-01-12 Thread Gabriel Genellina
Gabriel Genellina added the comment: Lukas Lueg> The default encoding is UTF8 What do you mean? Not inside a zip file. The default encoding is CP437 (the original IBM PC US character set). A zipfile password is a sequence of bytes, not characters, as defined in the specification. Proba

[issue4889] difflib

2009-01-12 Thread Gabriel Genellina
Gabriel Genellina added the comment: You (as a human) most likely parse these lines: hostname vaijain123 hostname CAVANC1001CR1 as "two words, the first one is the same, the second word changed". But difflib sees them more or less as: "21 letters, 8 of them are the same, 1

[issue4871] zipfile can't decrypt

2009-01-13 Thread Gabriel Genellina
Gabriel Genellina added the comment: Yes, the unicode flag is irrelevant to the password. To successfuly decrypt a file, one must know the password *and* the encoding in use when it was written, so the only sensible thing to do is to accept bytes only. Your patch looks good to me with a few

[issue4945] json checks True/False by identity, not boolean value

2009-01-13 Thread Gabriel Genellina
New submission from Gabriel Genellina : json compares arguments against True/False by identity, not by boolean value; by example: if (skipkeys is False and ensure_ascii is True and check_circular is True and allow_nan is True ... Using `ensure_ascii=1` won't work as intend

[issue4945] json checks True/False by identity, not boolean value

2009-01-13 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- keywords: +patch Added file: http://bugs.python.org/file12736/json.diff ___ Python tracker <http://bugs.python.org/issue4

[issue4944] os.fsync() doesn't work as expect in Windows

2009-01-13 Thread Gabriel Genellina
Gabriel Genellina added the comment: I tried to reproduce the issue, interpreting your description, but failed. It worked fine in my setup. Perhaps you can add more elements until it fails. -- nosy: +gagenellina Added file: http://bugs.python.org/file12737/test_file_flush.py

[issue4944] os.fsync() doesn't work as expect in Windows

2009-01-13 Thread Gabriel Genellina
Changes by Gabriel Genellina : Added file: http://bugs.python.org/file12738/checkfile.c ___ Python tracker <http://bugs.python.org/issue4944> ___ ___ Python-bugs-list m

[issue4946] Lib/test/test__locale uses is to compare strings

2009-01-14 Thread Gabriel Genellina
Gabriel Genellina added the comment: Yes, checking object identity is wrong in this case. Your patch looks fine to me. I've found several other "is" comparisons that should not be there -- working on a patch right now. -- nos

[issue4929] smptlib.py can raise socket.error

2009-01-14 Thread Gabriel Genellina
Gabriel Genellina added the comment: On Windows, if you exit a process abnormally (using e.g. os._exit() in Python) while it still has open connections, the other side receives a WSAECONNRESET (error 10054). So, you could write a test case using a dumb server (running as another process

[issue4944] os.fsync() doesn't work as expect in Windows

2009-01-14 Thread Gabriel Genellina
Gabriel Genellina added the comment: I patiently waited for all those 150MB to download, modified Misc.py, run the specified commands and got this error: build.py... : error 7000: Failed to start command C:\Program Files\Microsoft Visual Studio 8\Vc\bin\nmake.exe / nologo -s t build

[issue4947] sys.stdout fails to use default encoding as advertised

2009-01-14 Thread Gabriel Genellina
Gabriel Genellina added the comment: > It probably uses sys.getdefaultencoding() instead. That would be wrong too, according to the cited documentation. file.encoding is a read only attribute; it can be set in C code using PyFile_SetEncoding. Apart from its definition in fileobject.c, it

[issue4952] Running Python Script to Run a C++ Code

2009-01-14 Thread Gabriel Genellina
Gabriel Genellina added the comment: Please post your question to the Python users mailing list: python- l...@python.org -- mirrored as the comp.lang.python newsgroup too. Also, gmane.org provides a web interfase: http://dir.gmane.org/ gmane.comp.python.general Back to your question, the

[issue4956] Py_Initialize needs to be done before file load (on msys+wine)

2009-01-15 Thread Gabriel Genellina
Gabriel Genellina added the comment: what is WEIRD_DEBUG? why do you remove a test from string_tests.py? why do you modify a command in setup.py? What do you mean "the file contents cannot be read under msys+wine"? What specific error you have? The right thing to do would be to an

[issue4958] email/header.py ecre regular expression issue

2009-01-15 Thread Gabriel Genellina
Gabriel Genellina added the comment: Your example header is invalid. Excerpt from RFC2047 section 5: + An 'encoded-word' MUST NOT be used in parameter of a MIME Content-Type or Content-Disposition field, or in any structured field body except within a 'comment'

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2009-01-16 Thread Gabriel Genellina
Gabriel Genellina added the comment: An attempt to more accurately describe the issue, to attract more knowledgeable people, I hope... -- components: +Library (Lib) nosy: +gagenellina title: Cannot upload binary file from form ? -> cgi module cannot handle POST with multipart/f

[issue4944] os.fsync() doesn't work as expect in Windows

2009-01-16 Thread Gabriel Genellina
Gabriel Genellina added the comment: If you start the new thread *after* the file is closed, no race condition should exist. I'm sorry but I'm unable to follow the code you use to create threads and write the makefile; but you should verify that your original assertion "Onc

[issue4956] Py_Initialize needs to be done before file load (on msys+wine)

2009-01-16 Thread Gabriel Genellina
Gabriel Genellina added the comment: Ok, imagine for a moment that your patch is accepted and applied. Python runs in a wide variety of systems. Now imagine that, in a few of them, it stops running. What would you say to defend your changes? "I have no idea why, but it works for me!&quo

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2009-01-16 Thread Gabriel Genellina
Gabriel Genellina added the comment: You should stick to Python 2.6 (or even 2.5) for web programming - 3.0 is not mature enough. I thought this was a feasibility study on porting an existing application to Python 3.0 -- not your first steps in the language

[issue4969] mimetypes on Windows should read MIME database from registry (w/patch)

2009-01-17 Thread Gabriel Genellina
New submission from Gabriel Genellina : The mimetypes module has a built-in default database, and, in addition, reads mime.types files from a list of standard places (/etc/mime.types by example) On Windows, those files usually don't even present; MIME information is stored in the reg

[issue4973] calendar formatyearpage returns bytes, not str

2009-01-18 Thread Gabriel Genellina
Gabriel Genellina added the comment: This is the expected behavior; that's why the function takes an "encoding" argument. As it returns a complete XML document, it must be already encoded. Other methods return just document pieces, so str is fine. Probably should be better e

[issue3881] IDLE won't start in custom directory.

2009-01-18 Thread Gabriel Genellina
Gabriel Genellina added the comment: > I installed Python to C:\Program Files\Python\2.6\ and when I try to > run idle from the start menu, it doesn't work. > "C:\Program Files\Python\2.6\Lib\idlelib>python idle.py > Traceback (most recent call last): >

[issue4979] random.uniform can return its upper limit

2009-01-18 Thread Gabriel Genellina
Gabriel Genellina added the comment: Doc update -- keywords: +patch nosy: +gagenellina Added file: http://bugs.python.org/file12784/random.diff ___ Python tracker <http://bugs.python.org/issue4

[issue4944] os.fsync() doesn't work as expect in Windows

2009-01-19 Thread Gabriel Genellina
Gabriel Genellina added the comment: > I'm quite certain that the makefile is generated before > the "make" > program is launched in separated process. Follow is the > original code > where the makefile is created (line 14) and a task is put > in queue (line

[issue4448] should socket readline() use default_bufsize instead of _rbufsize?

2009-01-19 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue4448> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4944] os.fsync() doesn't work as expect in Windows

2009-01-20 Thread Gabriel Genellina
Gabriel Genellina added the comment: Thanks for adapting the smaller example. I think I figured out what's the problem. The error reported by checkfile.c is 0x20 = ERROR_SHARING_VIOLATION "The process cannot access the file because it is being used by another process."

[issue5022] doctest should allow running tests with "python -m doctest"

2009-01-21 Thread Gabriel Genellina
Gabriel Genellina added the comment: Already implemented in Python 2.6; please upgrade. 2.5 only gets security fixes at this time. -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue5

[issue5021] doctest.testfile should set __name__, can't use namedtuple

2009-01-21 Thread Gabriel Genellina
Gabriel Genellina added the comment: After updating the import line, it still fails in 2.6, 3.0 and the current trunk. -- nosy: +gagenellina versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5 ___ Python tracker <h

[issue5038] urrlib2/httplib doesn't reset file position between requests

2009-01-23 Thread Gabriel Genellina
Gabriel Genellina added the comment: This happens in other implementations too, not just urllib2. If the server supports it, the best way is to send an 'Expect: 100- Continue' header field before attempting to send the actual file. -- nosy: +g

[issue5037] unicode(x) for weakref.proxy objects invokes __str__ instead of __unicode__

2009-01-23 Thread Gabriel Genellina
Gabriel Genellina added the comment: Same results on trunk. -- components: +Interpreter Core -None nosy: +gagenellina title: unexpected unicode behavior for proxy objects -> unicode(x) for weakref.proxy objects invokes __str__ instead of __unicode__ versions: +Python

[issue5031] Thread.daemon docs

2009-01-23 Thread Gabriel Genellina
Gabriel Genellina added the comment: "This is a boolean value, and is False by default." Not true; the next sentence in the description explains where the default value comes from. I'd join both paragraphs to make it more clear: """A boolean value indicating w

[issue5031] Thread.daemon docs

2009-01-23 Thread Gabriel Genellina
Gabriel Genellina added the comment: Looks fine to me. Bah, perhaps purists would write `daemon` = ``False`` , but I think the meaning is perfectly clear now. ___ Python tracker <http://bugs.python.org/issue5

[issue5036] xml.parsers.expat make a dictionary which keys are broken if buffer_text is False.

2009-01-23 Thread Gabriel Genellina
Gabriel Genellina added the comment: If the xml file is small enough, could you attach it to the issue? Or provide a download location? I could not find it myself (without downloading the whole package) (Note that Python 2.5 only gets security fixes now, so unless this still fails with 2.6

[issue3677] importing from UNC roots doesn't work

2009-01-23 Thread Gabriel Genellina
Gabriel Genellina added the comment: The path variable should be PyMem_Free'd (in both trunk and py3k) (also, I don't see any specific test - is there any?) -- nosy: +gagenellina ___ Python tracker <http://bugs.python.

[issue4999] multiprocessing.Queue does not order objects

2009-01-23 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue4999> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: I could not reproduce this issue neither with Python 2.6 nor 2.5.2 If I print host and selector near line 313, I get 'localhost:8000' and '/trac-dev', the expected results. Do you have an HTTP proxy? running at the *same* port?

[issue5069] Use sets instead of list in posixpath._resolve_link

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: Simple and correct. -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue5069> ___ ___ Python-bugs-list m

[issue5053] http.client.HTTPMessage.getallmatchingheaders() always returns []

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: I think unified diffs are preferred. Isn't there an existing test for this method? -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/i

[issue5067] Error msg from using wrong quotes in JSON is unhelpful

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: This patch provides a better error message for this case:: json.loads("""{'test': "test"}""") but still doesn't help in this one:: json.loads("""{"test": 't

[issue5067] Error msg from using wrong quotes in JSON is unhelpful

2009-01-26 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- keywords: +patch Added file: http://bugs.python.org/file12871/json-messages.diff ___ Python tracker <http://bugs.python.org/issue5

[issue5058] stop pgen.exe from generating CRLF-ended files and causing mayhem with win32-based patch submissions

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: I don't understand the issue. Those files *are* text files, and have CRLF on Windows as expected, like all other text files. I think you should fix your build process, or your environment, or your diff utility, or whatever is causing you a problem -

[issue5065] IDLE improve Subprocess Startup Error message

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: #1529142 would fix this issue also, if it were accepted. -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue5

[issue1529142] Allowing multiple instances of IDLE with sub-processes

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: If this patch were accepted, #5065 would be a non-issue then. -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue1529

[issue5062] Rlcompleter.Completer does not use __dir__ magic method

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: This is not a bug in rlcompleter; __dir__ is returning bogus items, and rlcompleter checks whether there exist actually an attribute with such name. Defining __getattr__ (or __getattribute__) and a matching __dir__ works fine: >>> class

[issue5051] test_update2 in test_os.py invalid due to os.environ.clear() followed by reliance on environ COMSPEC

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: I *did* have /bin/sh in a Windows box some time ago. Probably the test should check sys.platform in addition to /bin/sh existence. -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue5

[issue5062] Rlcompleter.Completer does not use __dir__ magic method

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: This is what rlcompleter does; it uses dir() to find out what names to return. Or do you mean that it should not iterate along __bases__ because this has already been done by dir()? ___ Python tracker <h

[issue5062] Rlcompleter.Completer does not use __dir__ magic method

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: The check is made to decide whether the attribute is a method or not (because methods get a "(" appended) -- for names that fail to exist, one could just omit the "(" and include the name anyway. rlcompleter does nothing special wit

[issue5074] python3 and ctypes, script causes crash

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: 3rd argument to GetEnvironmentVariableW is the buffer size in *characters*, not bytes. Your buffer has room for 20 characters only, not 40. You should use create_unicode_buffer instead. Probably the names create_unicode_buffer/create_string_buffer should

[issue5062] Rlcompleter.Completer does not use __dir__ magic method

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: The current behaviour is actually a requested feature: see #449227 I see your point, it may be annoying sometimes -- but calling a method is far more common than just getting a reference to it, so I think the current behaviour is fine (I'm talking

[issue5079] time.ctime docs refer to "time tuple" for default

2009-01-27 Thread Gabriel Genellina
Gabriel Genellina added the comment: It's already fixed in 2.6, 2.7 and 3.0 I'm unsure of 2.5 status regarding documentation updates. -- assignee: -> georg.brandl components: +Documentation -Library (Lib) nosy: +gagenellina, georg.brandl versions:

[issue5084] unpickling does not intern attribute names

2009-01-27 Thread Gabriel Genellina
Gabriel Genellina added the comment: Either my browser got crazy, or you uploaded the same patch (.py) twice. -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue5

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-01-27 Thread Gabriel Genellina
Gabriel Genellina added the comment: > > Do you have an HTTP proxy? running at the *same* port? > (!) > > I dont understand this since *I already said* that *I > accessed* my Trac > environment using my web browser (Opera 9.63, I dont know > whether this > is rel

[issue5090] import tkinter library Visual C++ Concepts:C Run-Time Error R6034 when embeded python in c++

2009-01-28 Thread Gabriel Genellina
Gabriel Genellina added the comment: os and sys are builtin modules. See if you can import any other pure Python module. Also, see #4566 -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue5

[issue5090] import tkinter library Visual C++ Concepts:C Run-Time Error R6034 when embeded python in c++

2009-01-28 Thread Gabriel Genellina
Gabriel Genellina added the comment: (In case the fix in #4566 works for you, please let us know) ___ Python tracker <http://bugs.python.org/issue5090> ___ ___ Python-bug

[issue5105] sqlite3.Row class, handling duplicate column names resulting from a SQL join

2009-01-30 Thread Gabriel Genellina
Gabriel Genellina added the comment: I think this is a sqlite issue, not a Python one. cursor.description should return unique column names. -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue5

[issue5105] sqlite3.Row class, handling duplicate column names resulting from a SQL join

2009-01-30 Thread Gabriel Genellina
Gabriel Genellina added the comment: See http://www.sqlite.org/cvstrac/tktview?tn=3221 Try upgrading to the latest sqlite release. Or set "pragma full_column_names=ON;" import sqlite3 conn = sqlite3.connect(':memory:') cursor = conn.cursor() cursor.execute(&quo

[issue5099] subprocess.POpen.__del__() AttributeError (os module == None!)

2009-01-30 Thread Gabriel Genellina
Gabriel Genellina added the comment: At interpreter shutdown, the module's global variables are set to None before the module itself is released. __del__ methods may be called in those precaries circumstances, and should not rely on any global state. A temporary fix would be to make

[issue5099] subprocess.POpen.__del__() AttributeError (os module == None!)

2009-01-30 Thread Gabriel Genellina
Gabriel Genellina added the comment: Patch and test case against trunk -- versions: +Python 2.7, Python 3.0, Python 3.1 Added file: http://bugs.python.org/file12902/test_subprocess.diff ___ Python tracker <http://bugs.python.org/issue5

[issue5102] urllib2.py timeouts do not propagate across redirects for 2.6.1 (and 3.x?)

2009-01-30 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue5102> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2009-01-30 Thread Gabriel Genellina
Gabriel Genellina added the comment: Seems perfectly reasonable to me. -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue5094> ___ ___ Pytho

[issue4753] Faster opcode dispatch on gcc

2009-02-04 Thread Gabriel Genellina
Gabriel Genellina added the comment: > Might I suggest that the TARGET and TARGET_WITH_IMPL macros not > include the trailing colon? Yes, please! -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/

[issue5015] The Py_SetPythonHome C API function is undocumented

2009-02-04 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue5015> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1079] decode_header does not follow RFC 2047

2009-02-04 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue1079> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5141] C API for appending to arrays

2009-02-04 Thread Gabriel Genellina
Gabriel Genellina added the comment: Arrays already support the buffer interface -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue5

[issue5125] Strange locale problem with Python 3

2009-02-04 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue5125> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1660009] continuing problem with httplib multiple set-cookie headers

2009-02-09 Thread Gabriel Genellina
Gabriel Genellina added the comment: I think this report is outdated and no more relevant. -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue1660

[issue1856] shutdown (exit) can hang or segfault with daemon threads running

2009-02-09 Thread Gabriel Genellina
Gabriel Genellina added the comment: I think applying Rhamphoryncus' patch in #1722344 fixes this too (that is, move WaitForThreadShutdown from the end of PyMain into Py_Finalize, so it is always called) But it should be tested on several platforms. -- nosy: +gagene

[issue1777134] minidom pretty xml output improvement

2009-02-09 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker <http://bugs.python.org/issue1777134> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37997] Segfault when using pickle with exceptions and dynamic class inheritance

2019-08-31 Thread Gabriel C
New submission from Gabriel C : The following results in a segfault on 3.7.4 (running on macOS high sierra) and 3.5 (running on ubuntu 16.04). It does not happen in python 2.7. The problem seems to involve two effects. The first is the creation of a class with a dynamic type that inherits

[issue37997] Segfault when using pickle with exceptions and dynamic class inheritance

2019-09-09 Thread Gabriel C
Gabriel C added the comment: Some further investigation suggests this may have nothing to do with pickle at all. Consider the following short example: ``` def CreateDynamicClass(basetype): class DynamicClassImpl(basetype): def __init__(self): super(DynamicClassImpl

[issue44663] Possible bug in datetime utc

2021-07-17 Thread Gabriel Costa
New submission from Gabriel Costa : >>> datetime.now(timezone.utc).timestamp() 1626556067.054988 >>> datetime.utcnow().timestamp() 1626566875.174921 Should there be a difference between the two modes? -- components: C API messages: 397733 nosy: gabhcosta priorit

[issue39458] Multiprocessing.Pool maxtasksperchild=1 doesn't work

2020-01-26 Thread Gabriel Tardif
New submission from Gabriel Tardif : Hello This bug is about the maxtasksperchild parameter in the Pool object constructor of the multiprocessing module. When you set processes = 1 in the Pool constructor maxtasksperchild value is double by two for unknow raison whatever the maxtaskperchild

[issue39458] Multiprocessing.Pool maxtasksperchild=1 doesn't work

2020-01-30 Thread Gabriel Tardif
Change by Gabriel Tardif : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue39458> ___ ___ Python-bugs-list

[issue39458] Multiprocessing.Pool maxtasksperchild=1 doesn't work

2020-01-30 Thread Gabriel Tardif
Gabriel Tardif added the comment: Be aware that maxtasksperchild work together with the chunksize parameter of the map fonction when you use it and the default chunksize value is not 1, it's calculated according to your inputs, process and other parameters. -- resolution: -&g

[issue41469] Problem with serial communication

2020-08-03 Thread Jose Gabriel
New submission from Jose Gabriel : I was doing a small serial communication system using pyserial. when I done the script on a .py file, it not worked. but when I opened the python console and writed line by line the same code of the .py file, it worked. the .py file: import serial ser

[issue31013] gcc7 throws warning when pymem.h development header is used

2017-07-24 Thread Gabriel Somlo
New submission from Gabriel Somlo: C programs using PyMem_MALLOC in pymem.h generate a warning when -Wint-in-bool-context is enabled (typically through -Wall). In places where -Werror is enabled (such as RPM build), this causes the build to fail with an error that looks like: ... In file

[issue31013] gcc7 throws warning when pymem.h development header is used

2017-07-24 Thread Gabriel Somlo
Gabriel Somlo added the comment: This attachment illustrates how the problem is triggered. The file is part of the CORE network emulator (github.com/coreemu/core). Compile with "gcc -Wall -I/usr/include/python2.7 -c netnsmodule.c". -- Added file: http://bugs.python.org

[issue31013] gcc7 throws warning when pymem.h development header is used

2017-07-24 Thread Gabriel Somlo
Gabriel Somlo added the comment: output of "gcc -E -Wall -I/usr/include/python2.7 -c netnsmodule.c > foo.c" I think gcc7 is a bit more paranoid about whether some expression evaluating to an int can/should in itself be used as a Boolean (i.e., without being compared to 0). ---

[issue18747] Re-seed OpenSSL's PRNG after fork

2019-01-04 Thread Gabriel Corona
Gabriel Corona added the comment: Now that the default PRNG of the 'random' package is automatically reseeded at fork, wouldn't it make sense to reseed the OpenSSL seed as well? (At the same time the OpenSSL wiki states [1] that "The situation has changed greatly, s

[issue35971] Documentation should warn about code injection from current working directory

2019-02-11 Thread Gabriel Corona
New submission from Gabriel Corona : The CLI tools shipped in Debian python-rdflib-tools package can load modules from the current directory [1]: $ echo 'print("Something")' > cgi.py $ rdf2dot INFO:rdflib:RDFLib Version: 4.2.2 Something Reading from

[issue29850] file access, other drives

2017-03-18 Thread Gabriel POTTER
Gabriel POTTER added the comment: To be precise, i cannot detect (only know if the file exist) any file located in C:/Windows/... (in particulary System32) contrary to Python 2.7 where it was possible. -- ___ Python tracker <http://bugs.python.

[issue29850] file access, other drives

2017-03-18 Thread Gabriel POTTER
New submission from Gabriel POTTER: If python 3 is installed on another drive (for instance D:/), then it cannot access any C:/ files, but can access D:/ files. I use: open("C:/path/") The same function did work under python 2.7 but now doesn't anymore. That means that

[issue29850] file access, other drives

2017-03-19 Thread Gabriel POTTER
Gabriel POTTER added the comment: Thanks for your answers. I'll try to be as precise as possible. The problem i have is really specific: I have a custom file, that i added in C:/Windows/System32/ I have a Windows 10 x64 computer, with 2 versions of python installed: - Python 2.7,

[issue29850] file access, other drives

2017-03-19 Thread Gabriel POTTER
Gabriel POTTER added the comment: Thanks a lot, that resolved it. -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue33086] pip: IndexError

2018-03-16 Thread Gabriel Hearot
New submission from Gabriel Hearot : Traceback (most recent call last): File "setup.py", line 45, in classifiers=[] File "/usr/lib/python3.6/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.6/distutils/dist.py&qu

[issue34422] __name__ not available for classes in typing module

2018-08-17 Thread Gabriel Tremblay
New submission from Gabriel Tremblay : Types under the typing module used to behave like other python classes regarding the __name__ attribute before Python 3.7. The behavior seems to have changed to a non-standard way. Py3.6 >>> from typing import List >>> dir(List) [&#

[issue29386] select.epoll.poll may behave differently if timeout = -1 vs timeout = None

2018-09-02 Thread Gabriel McManus
Gabriel McManus added the comment: I don't know of any other OS that implements epoll, so this is issue is likely no longer a problem. Although it is strange to convert -1 to -1000 (as though from seconds to milliseconds), it may not be worth cha

[issue34605] Avoid master/slave terminology

2018-09-08 Thread Gabriel Marko
Gabriel Marko added the comment: @vstinner: > For diversity reasons, it would be nice to try to avoid "master" and "slave" > terminology which can be associated to slavery. This is too vague. Define what "diversity reasons" are and elaborate your point.

[issue34605] Avoid master/slave terminology

2018-09-08 Thread Gabriel Marko
Gabriel Marko added the comment: @mcepl: I completely agree with you that we shouldn't waste time with this. I would be better not to dig into the discussion about "master-slave" terminology. IMO we don't even need to go into that as the problem here is more substan

[issue34605] Avoid master/slave terminology

2018-09-08 Thread Gabriel Marko
Gabriel Marko added the comment: @cheryl.sabella let me challenge some points in your arguments: > Based on that, I don't think it's fair to blame Victor for bringing it up for > discussion. Ok, but where was the discussion? @vstinner didn't even make a point and

[issue34605] Avoid master/slave terminology

2018-09-13 Thread Gabriel Marko
Gabriel Marko added the comment: The discussion under GH PRs is now censored. What will be the next level? -- ___ Python tracker <https://bugs.python.org/issue34

[issue34660] Replace ableist terms and pejoratives in source code.

2018-09-16 Thread Gabriel Marko
Gabriel Marko added the comment: Come on guys. Stop this madness. :( -- nosy: +suic ___ Python tracker <https://bugs.python.org/issue34660> ___ ___ Python-bug

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-16 Thread Gabriel Marko
Gabriel Marko added the comment: @Mariatta: > There will be no further discussion about this. Repeating this over and over again won't solve the (any) issue. This madness reached another level here: https://bugs.python.org/issue34660. That was exactly my point here: https://bugs.py

[issue34605] Avoid master/slave terminology

2018-09-16 Thread Gabriel Marko
Gabriel Marko added the comment: @serhiy.storchaka: IMO, the problem isn't the master/slave terminology itself but the way how the changes were introduced (no discussion) and the justification ("diversity reasons"???). IMO this is the next level: https://bugs.python.org/i

[issue34660] Replace ableist terms and pejoratives in source code.

2018-09-16 Thread Gabriel Marko
Gabriel Marko added the comment: @terry.reedy: By madness I meant: 1. blank replacement of words without relevant justification. Collecting 5 links and labelling some words as pejorative or ist or do it for “diversity reasons” etc. is no justification. I have no problem with changing

[issue34660] Replace ableist terms and pejoratives in source code.

2018-09-17 Thread Gabriel Marko
Gabriel Marko added the comment: @terry.reedy > Gabriel, I believe I addressed most your concerns in my previous post. I don't think so (see below) but we don't have to agree in everything. :) > Are you are suggesting that we judge proposals _by the proposer_, rather than

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-19 Thread Gabriel Marko
Change by Gabriel Marko : -- nosy: -suic ___ Python tracker <https://bugs.python.org/issue34694> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34660] Replace ableist terms and pejoratives in source code.

2018-09-19 Thread Gabriel Marko
Change by Gabriel Marko : -- nosy: -suic ___ Python tracker <https://bugs.python.org/issue34660> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34605] Avoid master/slave terminology

2018-09-19 Thread Gabriel Marko
Change by Gabriel Marko : -- nosy: -suic ___ Python tracker <https://bugs.python.org/issue34605> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34660] Replace ableist terms and pejoratives in source code.

2018-09-19 Thread Gabriel Marko
Gabriel Marko added the comment: @terry.reed: I politely ask you: Please use my proper first name if you refer to me and please don't call me an extremist (like here https://bugs.python.org/msg325802). Feel free to criticize my opinion but don't put labels on me. We don't

<    1   2   3   4   >