[issue12998] Memory leak with CTypes Structure

2011-09-16 Thread M
New submission from M : When using Python 2.5.4 on Windows (and potentially other versions and platforms), usage of CTypes like the following cause a memory leak. The memory leak can be verified with ProcessExplorer, as the memory Python takes up keeps increasing until eventually Python will

[issue12998] Memory leak with CTypes Structure

2011-09-16 Thread M
M added the comment: Correction to the above link: See: http://stackoverflow.com/questions/7452625/python-ctypes-memory-leak-with-structure -- ___ Python tracker <http://bugs.python.org/issue12

[issue12998] Memory leak with CTypes Structure

2011-09-16 Thread M
M added the comment: If it is a cache, shouldn't it be garbage-collected or limited in size? Why does it grow without bounds? -- ___ Python tracker <http://bugs.python.org/is

[issue25104] Wrong documentation for "chr(i)" function.

2015-09-13 Thread m
New submission from m: The documentation of the "chr(i)" function is not correct, it states that The valid range for the argument is from 0 through 1,114,111 (0x10 in base 16). Correction: The valid range for the argument is from 0 through 255 (0xFF in base 16). -- assi

[issue46206] Crash when editing emoji containing strings

2021-12-30 Thread M Z
New submission from M Z <10mauryc...@gmail.com>: Reproduction steps: 0. start rpel. command: ``python`` 1. enter into '___😀' 2. use arrow keys and backspace to delete an underscore 3. press enter. 4. observe segfault - insertion of chars before emoji can also cause crash

[issue46206] Crash when editing emoji containing strings

2021-12-30 Thread M Z
M Z <10mauryc...@gmail.com> added the comment: FYI: My platform is arch linux on amd64. -- ___ Python tracker <https://bugs.python.org/issue46206> ___ ___

[issue46450] namedtuple leaks data between instances when field's default value is empty list

2022-01-20 Thread Curtis M
New submission from Curtis M <3ed7qja...@liamekaens.com>: Example code to replicate issue on python 3.10.2 is attached. How to replicate issue: 1. Define a namedtuple where all fields have default values. At least one field's default value will be an empty list: [] 2. Instantiate

[issue1362] Simple mistake in http://docs.python.org/tut/node6.html

2007-10-29 Thread Dan M
New submission from Dan M: In section 4.6 it says: Writing the value None is normally suppressed by the interpreter if it would be the only value written. When it should say: Writing the value None is normally displayed by the interpreter if it would be the only value written. Or less wordy

[issue1362] Simple mistake in http://docs.python.org/tut/node6.html

2007-10-30 Thread Dan M
Dan M added the comment: Yes, it is normally suppressed. The problem is the condition when it is suppressed. The documentation states that it's suppressed when it's the only value to be written. It is suppressed when it's *not* the only value to be written. -or- (removing the

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
New submission from M. Zilmer : In 3.2.2 the newline for print() is \n on Windows, and not \r\n as expected. In 3.1.4 the newline is \r\n. OS is Win 7, and tried on both 32 and 64 bit. Small example with output is attached. -- components: Windows files: newline.py messages: 145039

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
Changes by M. Zilmer : Added file: http://bugs.python.org/file23331/newline_3.1.txt ___ Python tracker <http://bugs.python.org/issue13119> ___ ___ Python-bugs-list mailin

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
Changes by M. Zilmer : Added file: http://bugs.python.org/file23332/newline_3.2.txt ___ Python tracker <http://bugs.python.org/issue13119> ___ ___ Python-bugs-list mailin

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
M. Zilmer added the comment: Hi Amaury, The two text files were obtained through redirection in Windows, so I simply ran the newline.py file with: ...> C:\Python31\python.exe newline.py > newline_3.1.txt ...> C:\Python32\python.exe newline.py > newline_3.2.txt Best reg

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-10 Thread M. Zilmer
M. Zilmer added the comment: Just to make it clear: I have not observed any problems on the Windows terminal (cmd) with \n newline, but at least Notepad does not break lines correctly if only \n is used. -- ___ Python tracker <h

[issue5305] imaplib should support international mailbox names

2011-11-23 Thread Babak M
Babak M added the comment: There's a working implementation of this in PloneMailList. http://svn.plone.org/svn/collective/mxmImapClient/trunk/imapUTF7.py -- nosy: +BabakM ___ Python tracker <http://bugs.python.org/i

[issue12223] Datamodel documentation page: 'operator' where 'operand' should be

2011-05-31 Thread Vladimir M.
New submission from Vladimir M. : The page at (http://docs.python.org/reference/datamodel.html) says: "In x * y, if one operator is a sequence that implements sequence repetition". Obviuosly, it should be changed to: "In x * y, if one operand is a sequence that implements sequ

[issue4028] Problem compiling the multiprocessing module on sunos5

2011-07-13 Thread Sebastian M
Sebastian M added the comment: One more thing, as I tried to rebuild whole python I've encountered on following problem: building '_multiprocessing' extension gcc -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -DHAVE_SEM_OPEN=1 -DHAVE_FD_TRANSFER=1 -DHAVE_SEM_TIMEDW

[issue8713] multiprocessing needs option to eschew fork() under Linux

2011-08-10 Thread Matt M
Changes by Matt M : -- nosy: +numbernine ___ Python tracker <http://bugs.python.org/issue8713> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10297] decimal module documentation is misguiding

2010-11-04 Thread Baiju M
Changes by Baiju M : -- nosy: +baijum ___ Python tracker <http://bugs.python.org/issue10297> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10801] zipfile.ZipFile().extractall() header mismatch for non-ASCII characters

2010-12-31 Thread M. Z.
New submission from M. Z. : Trying to unpack a ZIP file where some packet files contain danish letters results in: zipfile.BadZipFile: File name in directory 'filename_with_æoå.txt' and header b'filename_with_\x91o\x86.txt' differ. Using Py 3.2b2 on Win7. Unpack t

[issue10909] thread hang, possibly related to print

2011-01-14 Thread Scott M
New submission from Scott M : New to Python; be gentle if I've simply missed something. i'M running on Windows XP, using a recently downloaded 2.7.1. I'm running by hitting F5 in IDLE. The attached .py creates 2 threads, one which updates a Tkinter label 10 times a second f

[issue10909] thread hang, possibly related to print

2011-01-21 Thread Scott M
Scott M added the comment: It hasn't failed yet when run "straight". Here's the issue, though. I'm going to be introducing Python as the scripting language of choice, to a bunch of people who are less than fluent in programming. Because debugging is not an obvious

[issue10909] thread hang, possibly related to print

2011-01-22 Thread Scott M
Scott M added the comment: Moving to 3.x means redoing large swaths of the extension I just wrote. It's only a couple thousand lines, but it was my first extension and it cost me a week of my life in Google, and it does a lot with strings. I haven't pulled down the source code fo

[issue11029] Crash, 2.7.1, Tkinter and threads and line drawing

2011-01-27 Thread Scott M
New submission from Scott M : Running on dual core Windows XP. The function should draw a parabolicish shape for each click on launch. But if you click Launch over and over, very fast, you get bizarre crashes instead: Python.exe has encoutered a problem, yadda. tcl85.dll. It rarely takes

[issue11029] Crash, 2.7.1, Tkinter and threads and line drawing

2011-01-27 Thread Scott M
Scott M added the comment: To make this more interesting, I'm trying to push for adoption of Python at a scripting tool where I work, and I uncovered this crasher in example code I was about to hand out, under the heading of "look how easy Python is". For obvious reasons I&#

[issue11029] Crash, 2.7.1, Tkinter and threads and line drawing

2011-01-28 Thread Scott M
Scott M added the comment: OK, now all calls to Tkinter are funneled to a single thread, through a queue. (Technically there are two threads in Tkinter - one is parked in .mainloop(), the other makes a call to Canvas.create_line and a call to Label.config.) Different crash, but still a crash

[issue11029] Crash, 2.7.1, Tkinter and threads and line drawing

2011-01-28 Thread Scott M
Scott M added the comment: Alright. More digging turned up the Tkinter "after" function, aka WM_TIMER for Windowy people like me, and that plus a nonblocking queue get() gets all my drawing operations back into the mainLoop() thread. Voilà, no more crashes. Let me suggest tha

[issue11077] Tkinter is not thread safe. This is a bug.

2011-01-31 Thread Scott M
New submission from Scott M : The more I look at GUI support in Python, the more I realize that the lack of basic thread safety in GUI support is simply a bug. I know Java's Swing has the same thread limitation, but that doesn't make it right. Xlib is thread safe. The Windows SDK

[issue11077] Tkinter is not thread safe (and that's... bad)

2011-01-31 Thread Scott M
Scott M added the comment: I don't have an opinion on 1252236. I'm not certain it would help. I have an extension that runs a bunch of (alien) threads into Python code. The threads deliver information for all sorts of real world events, asynchronously. Multiple threads are use

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Scott M
Scott M added the comment: I'll look into making the crash easier to reproduce this coming week. Is Tkinter's thread safety new? Because after I started getting crashes, I did my due diligence in Google and found a number of people writing about how it was necessary to use a

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Scott M
Scott M added the comment: The new version runs 40 parabolas, then quits. I usually have to run this version 20 times or so to get the crash, so be patient. In general if it's going to crash it does so in the first 6 or so parabolas. Caveat: creates up to 40 threads, so a bit of a CP

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Scott M
Scott M added the comment: If it helps, over the many iterations of this test code, there have been two kinds of issues: 1. pythonw.exe crashes with the Windows variant of a SEGV. No traceback, just a crash. These are rare. 2. Evidence of confusion over which string the code should be

[issue2940] Building Python fails on SunOS

2008-05-22 Thread Adrian M
New submission from Adrian M <[EMAIL PROTECTED]>: $ uname -a SunOS ro1estw 5.9 Generic_117171-12 sun4u sparc SUNW,Sun-Fire-880 gcc 2.6.3 When running ./configure I'm getting warnings like: configure: WARNING: curses.h: present but cannot be compiled configure: WARNING: curses.h

[issue2940] Building Python fails on SunOS

2008-05-23 Thread Adrian M
Adrian M <[EMAIL PROTECTED]> added the comment: Also, please check: http://bugs.python.org/issue1544306 (exactly the same issue that has just been closed because of the lack of feedback from the original reporter) Here is another (old) report referring to the very same issue happen

[issue4017] IDLE 2.6 broken on OSX (Leopard)

2008-10-08 Thread Leo M
Leo M <[EMAIL PROTECTED]> added the comment: Hello. First time here, beginner at Python. I have verified that the Google tip link in the previous to fix IDLE works for me. Post in question: ** [Kevin's post of 6.Oct, 02:58] You can avoid this problem by building Python yourself

[issue4017] Tkinter cannot find Tcl/Tk on Mac OS X

2008-12-19 Thread Leo M
Changes by Leo M : -- nosy: -leoofborg ___ Python tracker <http://bugs.python.org/issue4017> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue46954] Awaiting multiple times on same task increases memory usage unboundedly

2022-03-08 Thread David M.
New submission from David M. : Awaiting multiple times on a single task that failed with an exception results in an unbounded increase in memory usage. Enough repeated "await"s of the task can result in an OOM. The same pattern on a task that didn't raise an exception beha

[issue47216] adding mtime option to gzip open()

2022-04-04 Thread Marin M
New submission from Marin M : init of class GzipFile has mtime as an optional argument, but open() function does not. When using open(), mtime will always be set to the current time and so far there was no way of fixing it to a specific timestamp. In case two people would tar.gz the same

[issue47216] adding mtime option to gzip open()

2022-04-04 Thread Marin M
Change by Marin M : -- keywords: +patch pull_requests: +30371 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32310 ___ Python tracker <https://bugs.python.org/issu

[issue47217] adding name to BZ2File

2022-04-04 Thread Marin M
New submission from Marin M : BZ2File doesn't have attribute name, unlike GzipFile which has it. Trying to access that attribute results in error. PR is ready with code changes and tests which mimics what is already available for GzipFile (e.g. we do not take name from BytesIO() ob

[issue47217] adding name to BZ2File

2022-04-04 Thread Marin M
Change by Marin M : -- keywords: +patch pull_requests: +30373 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32311 ___ Python tracker <https://bugs.python.org/issu

[issue47218] adding name to lzmafile

2022-04-04 Thread Marin M
New submission from Marin M : LZMAFile doesn't have attribute name, unlike GzipFile which has it. Trying to access that attribute results in error. PR is ready with code changes and tests which mimics what is already available for GzipFile (e.g. we do not take name from BytesIO() ob

[issue47218] adding name to lzmafile

2022-04-04 Thread Marin M
Change by Marin M : -- keywords: +patch pull_requests: +30374 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32312 ___ Python tracker <https://bugs.python.org/issu

[issue35459] Use PyDict_GetItemWithError() instead of PyDict_GetItem()

2019-10-29 Thread Raphaël M
Raphaël M added the comment: I stumbled upon this issue while reading Python 3.8 and this made me curious. I've tried writing some Python code to reproduce this bug, but I'm unable to -- I should be missing something. Is there a simple snippet showing the issue? Also, the change

[issue43784] [Windows] interpreter hangs indefinitely on subprocess.communicate during __del__ at script exit

2021-04-08 Thread Kevin M
New submission from Kevin M : I've noticed an issue (or user error) in which Python a call that otherwise usually works in the __del__ step of a class will freeze when the Python interpreter is exiting. I've attached sample code that I've ran against Python 3.9.1 on Window

[issue43784] starting a thread in __del__ hangs at interpreter shutdown

2021-04-09 Thread Kevin M
Kevin M added the comment: eryksun, wow, that's speedy analysis, but there might be more to it. I went and tested a bunch of test cases. my subrocess code doesn't seem to hang on Linux where the thread example code does? Linux - Python 3.6.8 - your threading example DOESN&#x

[issue44162] importlib.resources.path no longer supports directories

2021-05-17 Thread T M
New submission from T M : In Python 3.7 and 3.8, importlib.resources.path worked perfectly with a directory. For example: with importlib.resources.path(__package__, "dir") as dir: os.listdir(dir) In Python 3.9, this is raised: IsADirectoryError: [Errno 21] Is a directory:

[issue44162] importlib.resources.path no longer supports directories

2021-05-17 Thread T M
T M added the comment: importlib_resources 1.1.X also behaves this way: https://github.com/python/importlib_resources/issues/85 -- ___ Python tracker <https://bugs.python.org/issue44

[issue44162] importlib.resources.path no longer supports directories

2021-05-17 Thread T M
T M added the comment: That's fine. I couldn't find anything official on it, but that change is working for me. Thank you! -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.py

[issue45818] socketserver.BaseRequestHandler inherited class

2021-11-16 Thread Sergey M.
New submission from Sergey M. : Due to ```python try: self.handle() finally: self.finish() ``` construct in `socketserver.BaseRequestHandler.__init__()` method inherited classes with `overrided __init__()` method may suffer from incomplete initialization. For example, in the

[issue35459] Use PyDict_GetItemWithError() instead of PyDict_GetItem()

2020-01-06 Thread Raphaël M
Raphaël M added the comment: Any pointer would also be welcome, and a piece of code showing the bug would help me a lot. Thank you. -- ___ Python tracker <https://bugs.python.org/issue35

[issue35459] Use PyDict_GetItemWithError() instead of PyDict_GetItem()

2020-01-06 Thread Raphaël M
Raphaël M added the comment: Thank you very much! -- ___ Python tracker <https://bugs.python.org/issue35459> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39431] Mention nonlocal too in assignment quirk

2020-01-23 Thread Shanavas M
New submission from Shanavas M : Doc says "A special quirk of Python is that -- if no :keyword:`global` statement is in A special quirk of Python is that -- if no :keyword:`global` or :keyword:`nonlocal` effect -- assignments to names always go into the innermost scope." nonlo

[issue39597] sorting the String

2020-02-10 Thread Shani M
New submission from Shani M : It showing the wrong string order. 'sss' is to be appear at 3rd place but it comes at last place. 'qwe' is to appear at last place but it comes at 3rd place. -- files: Screenshot from 2020-02-10 14-08-52.png messages: 361675 nosy: Shan

[issue40339] Instead of skipping, IPV6 test(s) fail on a non-IPV6 machine

2020-04-20 Thread M T
New submission from M T : I have no use for IPv6 and, when recompiling my OS, disable the feature completely. Python compiles nicely despite of this, but the IPv6-related tests fail instead of being skipped: ERROR: test_create_server_ipv6

[issue43427] Possible error on the descriptor howto guide

2021-03-07 Thread Marcos M
New submission from Marcos M : > To recap, functions have a __get__() method so that they can be converted to > a method when accessed as attributes. The non-data descriptor transforms an > obj.f(*args) call into f(obj, *args). Calling cls.f(*args) becomes f(*args). I THINK it s

[issue43427] Possible error on the descriptor howto guide

2021-03-07 Thread Marcos M
Marcos M added the comment: Let me provide a link to ease finding this piece of documentation https://docs.python.org/3/howto/descriptor.html#static-methods -- ___ Python tracker <https://bugs.python.org/issue43

[issue43458] Tutorial should mention about variable scope in try/except/finally

2021-03-09 Thread Marek M
New submission from Marek M : It can be helpful to mention that variables defined in try block are visible in except/finally block as well. I did not find this info in Python tutorial and for me (having C++ background) this is quite unexpected feature. -- assignee: docs@python

[issue40860] Exception in multiprocessing/context.py under load

2020-06-03 Thread Arkady M
New submission from Arkady M : I am running an HTTP server (socketserver.ThreadingMixIn, http.server.HTTPServer) in a Docker container (FROM ubuntu:19.10) Occasionally I get an exception: Exception happened during processing of request from ('172.17.0.1', 35756) Traceback (most r

[issue39603] [security] http.client: HTTP Header Injection in the HTTP method

2020-07-18 Thread M W
Change by M W : -- assignee: -> christian.heimes components: +SSL nosy: +M W2, christian.heimes ___ Python tracker <https://bugs.python.org/issue39603> ___ _

[issue9625] argparse: Problem with defaults for variable nargs

2012-01-23 Thread Michał M .
Michał M. added the comment: Of course I've made a mistake: "list for user provided or list for default" should be: "list for user provided or STRING for default" -- ___ Python tracker <http

[issue14179] Test coverage for lib/re.py

2012-03-02 Thread Florian M
New submission from Florian M : I added one small test in lib/test/test_re.py for complete coverage of 're._compile' method. -- components: Tests files: re_coverage.patch keywords: patch messages: 154785 nosy: flomm priority: normal severity: normal status: open title: Tes

[issue14179] Test coverage for lib/re.py

2012-03-04 Thread Florian M
Changes by Florian M : Added file: http://bugs.python.org/file24728/re_coverage.patch ___ Python tracker <http://bugs.python.org/issue14179> ___ ___ Python-bugs-list m

[issue14202] The docs of xml.dom.pulldom are almost nonexistent

2012-03-06 Thread Florian M
Florian M added the comment: I wrote some documentation with the information I found on http://wiki.python.org/moin/PullDom and some custom examples. -- nosy: +flomm Added file: http://bugs.python.org/file24750/xml.dom.pulldom.rst ___ Python

[issue37106] python re.escape doesn't escape some special characters.

2019-05-30 Thread MANI M
New submission from MANI M : Recently I figured out an issue in python3 re which doesn't escape some special characters. Not sure whether this bug has been reported already. Have attached screenshots for your reference. Steps to reproduce: 1. wget https://www.python.org/ftp/python/

[issue37106] python re.escape doesn't escape some special characters.

2019-05-30 Thread MANI M
MANI M added the comment: Thanks a lot for the info. May I know in what version of python the patches are applied? Because still 3.7.3 seems to have the issue. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37106] python re.escape doesn't escape some special characters.

2019-05-31 Thread MANI M
MANI M added the comment: I've scripts which insert data into MySQL database. The values may contain symbols. Hence in order to escape that I use re.escape(). @erik.smith isn't re.escape() supposed to escape all the symbols. If not why is this introduced in 3.7 whereas previou

[issue37106] python re.escape doesn't escape some special characters.

2019-05-31 Thread MANI M
MANI M added the comment: sorry my bad query = "insert into table(column) values('{}')".format(escape("Hello'`~world")) -- ___ Python tracker

[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference

2018-12-19 Thread Mathew M.
Change by Mathew M. : -- pull_requests: +10473 ___ Python tracker <https://bugs.python.org/issue32077> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29921] datetime validation is stricter in 3.6.1 than previous versions

2017-03-27 Thread m-parry
New submission from m-parry: The change in issue #29100 - intended AFAICS simply to fix a regression in 3.6 - seems to have made datetime validation via certain code paths stricter than it was in 2.7 or 3.5. I think it's the case that some routes via the C API now reject out of range v

[issue29921] datetime validation is stricter in 3.6.1 than previous versions

2017-03-28 Thread m-parry
m-parry added the comment: >From my opening comment (with new emphasis): "I think it's the case that **some routes via the C API** now reject out of range values that were previously permitted." The pywin32 repro I gave above eventually calls PyDateTimeAPI->DateTime_Fro

[issue29921] datetime validation is stricter in 3.6.1 than previous versions

2017-03-28 Thread m-parry
m-parry added the comment: That's just a Python C API call. It looks like it eventually resolves to new_datetime_ex(30828, 9, 13, 3, 48, 5, 48, Py_None, PyDateTime_DateTimeType). We also have some internal code that sees a similar problem from calling PyTime_FromTime(), tha

[issue29921] datetime validation is stricter in 3.6.1 than previous versions

2017-03-28 Thread m-parry
m-parry added the comment: pywin32 is not my code. It is a ubiquitous Python library on Windows that cannot be used under Python 3.6.1. -- ___ Python tracker <http://bugs.python.org/issue29

[issue32956] python 3 round bug

2018-02-26 Thread M Hsia
New submission from M Hsia : import sys print(sys.version) for i in range(10): test=i+0.5 print (test,round(test,0)) 3.6.3 |Anaconda custom (64-bit)| (default, Nov 8 2017, 15:10:56) [MSC v.1900 64 bit (AMD64)] 0.5 0.0 1.5 2.0 2.5 2.0 3.5 4.0 4.5 4.0 5.5

[issue32956] python 3 round bug

2018-02-26 Thread M Hsia
M Hsia added the comment: import sys print(sys.version) for i in range(10): test=i+0.5 print (test,round(test,0)) 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] 0.5 0.0 1.5 2.0 2.5 2.0 3.5 4.0 4.5 4.0 5.5 6.0 6.5 6.0 7.5 8.0 8.5

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-07 Thread Scott M
Change by Scott M : -- nosy: +PythonInTheGrass ___ Python tracker <https://bugs.python.org/issue33257> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-07 Thread Scott M
Scott M added the comment: 7 years and counting... My need for a fix is long gone, but I'd like to be able to tell the original group I worked with whether it's now safe to use tkinter from threads. It looks like my original guesses were validated and a fix has been made, but I c

[issue31951] import curses is broken on windows

2017-11-05 Thread joe m
New submission from joe m : Importing curses on Windows install calls the following: Traceback (most recent call last): File "", line 1, in File "C:\Users\user name\AppData\Local\Programs\Python\Python36-32\lib\curses\__init__.py", line 13, in

[issue31951] import curses is broken on windows

2017-11-07 Thread joe m
joe m added the comment: I would much prefer the curses module to be supported in newer versions since I believe that curses is installed as a built in module (not sure about that). Anyhow, thank you for your help but I have found a replacement module called "asciimatics" which

[issue32013] _pickle: Py_DECREF seems to be missing from a failure case in fast_save_enter()

2017-11-12 Thread Mathew M.
New submission from Mathew M. : Hey there! I'm fairly new to the development process for Python, so I figured I'd start off with something tiny and then work on up from there. I'm not sure if this sort of minor fix warrants an issue being created, but I made this just to err o

[issue32013] _pickle: Py_DECREF seems to be missing from a failure case in fast_save_enter()

2017-11-12 Thread Mathew M.
Change by Mathew M. : -- keywords: +patch pull_requests: +4331 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32013> ___ ___ Python-

[issue32020] arraymodule: Missing Py_DECREF in failure case of make_array()

2017-11-13 Thread Mathew M.
New submission from Mathew M. : Similar to issue 32013, just in a different location. For reference: https://github.com/python/cpython/blob/28b624825eb92cb8c96fbf8da267d8d14a61a841/Modules/arraymodule.c#L1932 -- components: Extension Modules messages: 306183 nosy: Mathew M. priority

[issue32020] arraymodule: Missing Py_DECREF in failure case of make_array()

2017-11-13 Thread Mathew M.
Change by Mathew M. : -- keywords: +patch pull_requests: +4339 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32020> ___ ___ Python-

[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference

2017-11-19 Thread Mathew M.
New submission from Mathew M. : This is just something I've noticed when browsing the C API documentation for Unicode objects. For example, the documentation entry for PyUnicode_DecodeMBCSStateful lacks the "Return value: New reference", etc. -- assignee: docs@py

[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference

2017-11-19 Thread Mathew M.
Change by Mathew M. : -- keywords: +patch pull_requests: +4407 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32077> ___ ___ Python-

[issue34665] Py_FinalizeEx() - Bugs & caveats - Add info that NumPy and Pandas don't support reinitialization

2018-09-13 Thread Johannes M.
New submission from Johannes M. : Since about a decade, it's a know problem that NumPy and Pandas initialization function crashes on reinitialization after a call to Py_Finalize() + Py_Initialize(). [https://github.com/numpy/numpy/issues/8097] [https://github.com/numpy/numpy/issues/

[issue18671] enhance formatting in logging package

2013-08-06 Thread M. Dietrich
New submission from M. Dietrich: in logging/__init__.py line 328 there is a simple line: msg = msg % self.args if that line fails this failure will be logged, not the line itself. i suggest to change the line to something like: try: msg = msg % self.args except TypeError: msg

[issue18671] enhance formatting in logging package

2013-08-06 Thread M. Dietrich
M. Dietrich added the comment: yes, seeing the erranous line where the wrong formatstring comes from is nice but sometimes (for myself: often) i need to know what actually was tried to be logged. this information is lost in both cases. this is especially sad if you have long-running processes

[issue18671] enhance formatting in logging package

2013-08-07 Thread M. Dietrich
M. Dietrich added the comment: for a logging library the important thing would be to not loose the information that was meant to log. as i said i do alot of long-running huge-data-processing scripts in py using the library. if the logging breaks but doesnt log what was intended to log i judge

[issue18671] enhance formatting in logging package

2013-08-07 Thread M. Dietrich
M. Dietrich added the comment: thanks, it will be really helpful for me to have this fixed. as i consider this a "bug" it would be possible to "fix" this for 2.7 and yes you are right, i talked about 2.7 as we are still using this version in production. -- sta

[issue15079] pickle: Possibly misplaced test

2012-06-15 Thread Stefan M
New submission from Stefan M : After issue7455 was fixed, a test was created to reflect the fix (Lib/test/pickletester.py @ AbstractPickleModuleTests.test_bad_input). The test makes sure that an UnpicklingError is raised whenever pickled data attempts to pop on an empty stack. Although tests

[issue20135] FAQ need list mutation answers

2014-03-24 Thread M. Volz
M. Volz added the comment: Thanks David, I've updated the patch to move the default values question into the programming FAQ where you recommended it go, and also changed the title of the mutable list question. -- Added file: http://bugs.python.org/file34604/sortFAQ_defaultval.

[issue2818] pulldom cannot handle xml file with large external entity properly

2014-03-07 Thread M. Volz
Changes by M. Volz : -- nosy: +mvolz ___ Python tracker <http://bugs.python.org/issue2818> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue18456] Documentation for PyDict_Update is incorrect

2014-03-09 Thread Jill M
Changes by Jill M : -- nosy: +Jill.M ___ Python tracker <http://bugs.python.org/issue18456> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue18624] Add alias for iso-8859-8-i which is the same as iso-8859-8

2014-03-09 Thread M. Volz
Changes by M. Volz : -- nosy: +mvolz ___ Python tracker <http://bugs.python.org/issue18624> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue3430] httplib.HTTPResponse documentations inconsistent

2014-03-09 Thread M. Volz
Changes by M. Volz : -- nosy: +mvolz ___ Python tracker <http://bugs.python.org/issue3430> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue7159] Urllib2 authentication memory.

2014-03-09 Thread M. Volz
Changes by M. Volz : -- nosy: +mvolz ___ Python tracker <http://bugs.python.org/issue7159> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue3849] FUD in documentation for urllib.urlopen()

2014-03-09 Thread M. Volz
Changes by M. Volz : -- nosy: +mvolz ___ Python tracker <http://bugs.python.org/issue3849> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue16508] include the "object" type in the lists of documented types

2014-03-09 Thread M. Volz
Changes by M. Volz : -- nosy: +mvolz ___ Python tracker <http://bugs.python.org/issue16508> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue20135] FAQ need list mutation answers

2014-03-09 Thread M. Volz
Changes by M. Volz : -- nosy: +mvolz ___ Python tracker <http://bugs.python.org/issue20135> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

  1   2   3   4   5   >