[issue43650] MemoryError on zip.read in shutil._unpack_zipfile

2021-05-14 Thread Igor Bolshakov
Igor Bolshakov added the comment: pls review -- resolution: -> remind ___ Python tracker <https://bugs.python.org/issue43650> ___ ___ Python-bugs-list mai

[issue43650] MemoryError on zip.read in shutil._unpack_zipfile

2021-03-28 Thread igor voltaic
New submission from igor voltaic : MemoryError: null ... File "", line 13, in repack__file shutil.unpack_archive(local_file_path, local_dir) File "python3.6/shutil.py", line 983, in unpack_archive func(filename, extract_dir, **kwargs) File "python3.6

[issue43375] memory leak in threading ?

2021-03-03 Thread Igor Mandrichenko
Igor Mandrichenko added the comment: Since Timer thread is never joined, should not it be a daemon ? -- ___ Python tracker <https://bugs.python.org/issue43

[issue43375] memory leak in threading ?

2021-03-02 Thread Igor Mandrichenko
New submission from Igor Mandrichenko : There is an apparent memory leak in threading. It looks like memory grows when I create, run and destroy threads. The memory keeps adding at the rate of about 100 bytes per thread. I am attaching the code, which works for Linux. getMemory() function is

[issue43375] memory leak in threading ?

2021-03-02 Thread Igor Mandrichenko
Change by Igor Mandrichenko : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue43375> ___ ___ Python-bugs-

[issue43375] memory leak in threading ?

2021-03-02 Thread Igor Mandrichenko
Igor Mandrichenko added the comment: You are right. When I add join(), the memory does not grow any more. Thanks ! -- ___ Python tracker <https://bugs.python.org/issue43

[issue42545] Check that all symbols in the limited ABI are exported

2020-12-03 Thread Igor Skochinsky
Change by Igor Skochinsky : -- nosy: +Igor.Skochinsky ___ Python tracker <https://bugs.python.org/issue42545> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40939] Remove the old parser

2020-12-02 Thread Igor Skochinsky
Igor Skochinsky added the comment: > I am currently working on test that checks that the stable API symbols are > correctly exported. Thank you very much! For added motivation, the 3.8.0 release was unusable thanks to issue37633 which was somewhat similar (also in pythonrun). For ref

[issue40939] Remove the old parser

2020-12-02 Thread Igor Skochinsky
Igor Skochinsky added the comment: Thanks for the fix! I'd like to submit a test to avoid this and similar issues in future. Are there any guidelines for this? Sorry if this is a wrong place to ask. -- ___ Python tracker &

[issue40939] Remove the old parser

2020-12-01 Thread Igor Skochinsky
Igor Skochinsky added the comment: Attached is a sample program which works on 3.9 but fails linking with 3.10.0a2 The .so is missing the symbol: igor@LAPTOP:~/py_limited_api_example$ nm /home/igor/lib/libpython3.9.so | grep Py_CompileString 00212720 T Py_CompileString

[issue40939] Remove the old parser

2020-11-30 Thread Igor Skochinsky
Igor Skochinsky added the comment: > But Py_CompileString() function was not removed, it's still in the master > branch (future Python 3.10). Why do you think that it has been removed? Thank you. It looked that way because of the removed block of lines in

[issue40939] Remove the old parser

2020-11-30 Thread Igor Skochinsky
Igor Skochinsky added the comment: Hi All, It seems this patch removes some functions provided by the Stable ABI (PEP 384), most notably Py_CompileString. Was this the intention? If not, is there still a chance to reintroduce it before the release? -- nosy: +Igor.Skochinsky

[issue39410] CentOS 6.10 SQLite 3.30.1 - _sqlite3 builds successfully but is removed because it cannot be imported.

2020-01-21 Thread Igor Ceh
Igor Ceh added the comment: I've changed ./Modules/_sqlite/util.h //#if SQLITE_VERSION_NUMBER >= 3007014 #if SQLITE_VERSION_NUMBER >= 3107014 // Change #define SQLITE3_CLOSE sqlite3_close_v2 #else #define SQLITE3_CLOSE sqlite3_close #endif #endif And tried to recompile with

[issue39410] CentOS 6.10 SQLite 3.30.1 - _sqlite3 builds successfully but is removed because it cannot be imported.

2020-01-21 Thread Igor Ceh
New submission from Igor Ceh : While trying to build Python 3.8.1 from source with Sqlite 3.30.1 on a CentOS 6.10 I get the following warning: *** WARNING: renaming "_sqlite3" since importing it failed: build/lib.linux-x86_64-3.8/_sqlite3.cpython-38-x86_64-linux-gnu.so: undefin

[issue35822] _queue _queuemodule.c is missing inside the Setup file

2019-01-24 Thread Igor Z
New submission from Igor Z : I had to install manually new urllib3 (zip archive) module inside python 3.7 and got and error that module "_queue" is missing. I did not find anything related to such module inside the Setup file. Then I found this module in the github and manually add

[issue35729] XML.etree bug

2019-01-13 Thread Igor Nowicki
New submission from Igor Nowicki : Consider we have big XML file and we can't load it all into memory. We use then `iterparse` function from XML.etree.ElementTree module to parse it element by element. Problem is, XML doesn't allow to run this smoothly and starts outputing wrong

[issue25370] Add support of pickling very large bytes and str objects with protocol < 4

2018-04-08 Thread Igor
Change by Igor : -- nosy: +i3v ___ Python tracker <https://bugs.python.org/issue25370> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue28053] parameterize what serialization is used in multiprocessing

2018-04-08 Thread Igor
Change by Igor : -- nosy: +i3v ___ Python tracker <https://bugs.python.org/issue28053> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue33096] ttk.Treeview.insert() does not allow to insert item with "False" iid

2018-03-18 Thread Igor Yakovchenko
New submission from Igor Yakovchenko : ttk.Treeview.insert(... iid=None, ...) method has a check: if iid: res = self.tk.call(self._w, "insert", parent, index, "-id", iid, *opts) else: res = self.tk.call(self._w, &qu

[issue31767] Windows Installer fails with error 0x80091007 when trying to install debugging symbols

2017-10-12 Thread Igor Skochinsky
Igor Skochinsky added the comment: Hi Steve, Thanks for the suggestion! I tried that and while it did not succeed it gave me an idea of what went wrong last time since it complained about lack of disk space. I have *not* run the /layout but now that I checked I indeed had core_d.msi and

[issue31767] Windows Installer fails with error 0x80091007 when trying to install debugging symbols

2017-10-11 Thread Igor Skochinsky
New submission from Igor Skochinsky : Trying to install 3.6.3 on Windows 10 and getting this error. Repro steps: 1. Download python-3.6.3.exe or python-3.6.3-amd64.exe, run it 2. Select "Customize Installation" 3. Next 4. In Advanced Options, select [x] Install for all users (n

[issue31351] ensurepip discards pip's return code which leads to broken venvs

2017-09-24 Thread Igor Filatov
Igor Filatov added the comment: Thanks for the reviews, Nick! -- ___ Python tracker <https://bugs.python.org/issue31351> ___ ___ Python-bugs-list mailin

[issue31351] ensurepip discards pip's return code which leads to broken venvs

2017-09-24 Thread Igor Filatov
Changes by Igor Filatov : -- pull_requests: +3720 stage: backport needed -> patch review ___ Python tracker <https://bugs.python.org/issue31351> ___ ___ Python-

[issue31351] ensurepip discards pip's return code which leads to broken venvs

2017-09-17 Thread Igor Filatov
Changes by Igor Filatov : -- keywords: +patch pull_requests: +3615 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue31351> ___ ___ Py

[issue31351] ensurepip discards pip's return code which leads to broken venvs

2017-09-05 Thread Igor Filatov
New submission from Igor Filatov: ensurepip runs pip with a function that discards the result code that pip produces: def _run_pip(args, additional_paths=None): # ... pip.main(args) pip.main() is designed not to raise command exceptions. Instead it returns exit codes

[issue29843] errors raised by ctypes.Array for invalid _length_ attribute

2017-08-19 Thread Igor
Igor added the comment: Oren, 1) I might be completely wrong, but, personally, I think about OverflowError vs ValueError difference like this: if the value couldn't be handled because method's logic cannot handle it - it's a ValueError; if it could not be handled because

[issue29843] errors raised by ctypes.Array for invalid _length_ attribute

2017-08-17 Thread Igor
Igor added the comment: Oren, won't the "too large _length_" case vanish, if https://github.com/python/cpython/pull/3006 would be accepted ? ( http://bugs.python.org/issue16865 ) -- nosy: +i3v ___ Python tracker <http

[issue16865] ctypes arrays >=2GB in length causes exception

2017-08-17 Thread Igor
Changes by Igor : -- nosy: +i3v ___ Python tracker <http://bugs.python.org/issue16865> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue30554] Inaccessible attribute characters_written on OSError instances

2017-06-02 Thread Igor Kozyrenko (ikseek)
Igor Kozyrenko (ikseek) added the comment: So is it by design? cgitb library fails to create report if there are links to exceptions based on OSError on the stack because it tries to enumerate all it's attributes. -- ___ Python tracker

[issue30554] Inaccessible attribute characters_written on OSError instances

2017-06-02 Thread Igor Kozyrenko (ikseek)
New submission from Igor Kozyrenko (ikseek): If I enumerate attributes on OSError instance with dir dir(OSError()) I see an 'characters_written' attribute (which is supposed to be defined on BlockingIOError according to docs). If I try to access it getattr(OSError(), 'characters_

[issue17560] problem using multiprocessing with really big objects?

2017-05-17 Thread Igor
Changes by Igor : -- nosy: +i3v ___ Python tracker <http://bugs.python.org/issue17560> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue29875] IDLE quit unexpectedly

2017-03-21 Thread Igor
New submission from Igor: Hi! I'm a newbie, both in this community and with Python. I downloaded Python today (March 22, 2017, version 3.6.1) and as I was following a tutorial on how to build my first program (the classical Hello World) with Python, the IDLE window closed and my Mac s

[issue29565] Still broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

2017-02-15 Thread Igor Kudrin
New submission from Igor Kudrin: It looks like resolving https://bugs.python.org/issue20160 didn't fix all the issues. When a large struct is used as a parameter, a reference to the object itself is passed to the function, not a reference to a temporary copy, as it is required in

[issue28687] Python 2.7.12 windows x64 installer fails after previous bad uninstall

2016-11-14 Thread Igor Skochinsky
New submission from Igor Skochinsky: It's somewhat my fault but I think it's not such an uncommon scenario. I had installed 2.7.10 x64 some time ago into C:\Python27_64 but then had to delete it to save space. Rather foolishly instead of using the uninstaller, I just trashed the dir

[issue22258] set_inheritable(): ioctl(FIOCLEX) is available but fails with ENOTTY on Illumos

2014-09-02 Thread Igor Pashev
Igor Pashev added the comment: Yes, Victor. Your patch works. All os tests are passed :-) -- ___ Python tracker <http://bugs.python.org/issue22258> ___ ___ Pytho

[issue22258] Use FD_CLOEXEC in Python/fileutils.c

2014-08-24 Thread Igor Pashev
Igor Pashev added the comment: errno is 25 (#define ENOTTY 25 /* Inappropriate ioctl for device */) It does not make sense to me to call unworkable ioctl() each time before other methods :-) I would consider adding a configure check for working ioctl() (but it won't work for

[issue22258] Use FD_CLOEXEC in Python/fileutils.c

2014-08-23 Thread Igor Pashev
New submission from Igor Pashev: I've found on illumos-based OS that under some conditions python is unable to open any files because set_inheritable() fails. This happens even when building python when it cannot find (open) _sysconfigdata.py. The problem is that set_inheritable()

[issue21992] New AST node Else() should be introduced

2014-07-16 Thread Igor Bronshteyn
New submission from Igor Bronshteyn: Quoting Collin Winter: "I'd like there to be an Else() node for If.orelse, While.orelse, etc. My motivation is that I need the lineno and col_offset values of the "else" statement for a code-coverage utility; as it is, I have to find the

[issue20065] Python-3.3.3/Modules/socketmodule.c:1660:14: error: 'CAN_RAW' undeclared (first use in this function)

2014-07-11 Thread Igor Franchuk
Igor Franchuk added the comment: Confirmed as fixed at least in Python 3.3.5 Successfully compiled at Linux gw 2.6.33-gentoo #1 SMP Mon Mar 8 23:29:59 MSK 2010 i686 Intel(R) Pentium(R) D CPU 3.00GHz GenuineIntel GNU/Linux -- versions: -Python 3.4

[issue21287] Better support for AF_PACKET on opensolaris (illumos)

2014-04-18 Thread Igor Pashev
Changes by Igor Pashev : Removed file: http://bugs.python.org/file34952/dyson-socketmodule-ifindex.patch ___ Python tracker <http://bugs.python.org/issue21287> ___ ___

[issue21287] Better support for AF_PACKET on opensolaris (illumos)

2014-04-18 Thread Igor Pashev
Igor Pashev added the comment: Related to http://bugs.python.org/issue8852 -- ___ Python tracker <http://bugs.python.org/issue21287> ___ ___ Python-bugs-list m

[issue21287] Better support for AF_PACKET on opensolaris (illumos)

2014-04-17 Thread Igor Pashev
Changes by Igor Pashev : Added file: http://bugs.python.org/file34961/dyson-socketmodule-ifindex.patch ___ Python tracker <http://bugs.python.org/issue21287> ___ ___ Pytho

[issue20065] Python-3.3.3/Modules/socketmodule.c:1660:14: error: 'CAN_RAW' undeclared (first use in this function)

2013-12-25 Thread Igor Franchuk
Changes by Igor Franchuk : -- type: -> compile error ___ Python tracker <http://bugs.python.org/issue20065> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue20065] Python-3.3.3/Modules/socketmodule.c:1660:14: error: 'CAN_RAW' undeclared (first use in this function)

2013-12-25 Thread Igor Franchuk
New submission from Igor Franchuk: Missing CAN_RAW check in Python 3.3.3 Python 3.3.3 assumes that if AF_CAN is defined then CAN_RAW is defined as well. It won't assemble with old kernels. Either an additional check for CAN_RAW should be applied in the configuration script or Python

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2013-08-06 Thread Igor Skochinsky
Igor Skochinsky added the comment: Just had this issue when using networkx (which imports uuid). One keyword that would help visibility is R6034 (the runtime error number). A couple of reports related to this: https://projects.blender.org/tracker/index.php?func=detail&aid=27666

[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2012-07-20 Thread Igor Sobreira
Igor Sobreira added the comment: Updated patch to restore previous value of ._top_level_dir on discover() done. And added a unit test. -- Added file: http://bugs.python.org/file26458/restore_top_level_dir_to_previous_value.patch ___ Python tracker

[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2012-07-20 Thread Igor Sobreira
Igor Sobreira added the comment: My previous patch is incorrect, talking to voidspace on irc self._top_leve_dir should be reverted to it's previous value "so when discover is called the original value should be stored, then discovery done, and then the original restored" I&

[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2012-07-19 Thread Igor Sobreira
Igor Sobreira added the comment: Hello. I've attached a patch to cleanup self._top_level_dir in the end of discover(). Is that the expected behavior or I'm on the wrong track? -- keywords: +patch nosy: +igorsobreira Added file: http://bugs.python.org

[issue13746] ast.Tuple's have an inconsistent "col_offset" value

2012-01-09 Thread Igor Bronshteyn
Igor Bronshteyn added the comment: I mean, that AST generated with standard "ast.parse" has nodes with confusing positions. Sorry for the first indistinct message. -- ___ Python tracker <http://bugs.python.o

[issue13746] ast.Tuple's have an inconsistent "col_offset" value

2012-01-09 Thread Igor Bronshteyn
New submission from Igor Bronshteyn : Consider the following snippet (the file is attached): code starts a = [1, 3.14, 'abc', u'XYZ'] b = (1, 3.14, 'abc', u'XYZ') c = {1 : 3.14, 'abc' : u'XYZ'} = code ends = The lis

[issue11361] suggestion for os.kill(pid,CTRL_C_EVENT)

2011-03-01 Thread Igor
Changes by Igor : -- keywords: +patch Added file: http://bugs.python.org/file20958/1.patch ___ Python tracker <http://bugs.python.org/issue11361> ___ ___ Pytho

[issue11361] suggestion for os.kill(pid,CTRL_C_EVENT)

2011-03-01 Thread Igor
New submission from Igor : Hello! I see some 'skip' in test_os.py @unittest.skip("subprocesses aren't inheriting CTRL+C property") def test_CTRL_C_EVENT(self): I think, problem with calling SetConsoleCtrlHandler(NULL,0) in parent process,

[issue7189] struct.calcsize returns strange size

2009-10-23 Thread Igor Mikushkin
New submission from Igor Mikushkin : I think in second case struct size should be 53. In [31]: struct.calcsize('ihhi35scc') Out[31]: 49 In [32]: struct.calcsize('ihhi35scci') Out[32]: 56 -- components: Library (Lib) messages: 94379 nosy: igor.mikushkin severity:

[issue1346] Error using >>> from OpenGL.GLUT import *

2008-08-23 Thread Igor do Valle Campbell
Igor do Valle Campbell <[EMAIL PROTECTED]> added the comment: You have to put the glut32.dll in Windows/system32 folder. You can get glut32.dll here: http://www.xmission.com/~nate/glut/glut-3.7.6-bin.zip extract the glut32.dll to the Windows/system32 folder and voila. -

[issue2291] Catching all exceptions with 'object'

2008-03-14 Thread Igor
New submission from Igor <[EMAIL PROTECTED]>: I have discovered the following behaviour in 2.5, which I cannot explain: >>> try: ... raise ValueError("foo") ... except object: ... print "aiee!" ... Traceback (most recent call last): File ""