[issue38522] Py_USING_MEMORY_DEBUGGER is referenced in docs but not present in code

2021-12-29 Thread Carlos Damazio
Carlos Damazio added the comment: Opened a PR for this issue. It'll remove the mentions to the `Py_USING_MEMORY_DEBUGGER` since it'd been removed 5 years ago. -- nosy: +carlosdamazio ___ Python tracker <https://bugs.python.org/issue38

[issue46194] Wrong base class for transport returned by loop.create_datagram_endpoint()

2021-12-29 Thread Carlos Damazio
Carlos Damazio added the comment: I think I have a fix for this, I opened a PR. Let me know if you have any questions. -- nosy: +carlosdamazio ___ Python tracker <https://bugs.python.org/issue46

[issue22859] unittest.TestProgram.usageExit no longer invoked

2021-12-29 Thread Carlos Damazio
Carlos Damazio added the comment: Well, to this issue, I'm going to put a PR to remove it and give it a chance for it to being reinstated if you folks want to. -- nosy: +carlosdamazio -dmzz ___ Python tracker <https://bugs.python.org/issue22

[issue22859] unittest.TestProgram.usageExit no longer invoked

2021-12-29 Thread Carlos Damázio
Change by Carlos Damázio : -- keywords: +patch nosy: +dmzz nosy_count: 1.0 -> 2.0 pull_requests: +28507 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30293 ___ Python tracker <https://bugs.python.org/i

[issue46194] Wrong base class for transport returned by loop.create_datagram_endpoint()

2021-12-29 Thread Carlos Damázio
Change by Carlos Damázio : -- keywords: +patch nosy: +dmzz nosy_count: 2.0 -> 3.0 pull_requests: +28505 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30291 ___ Python tracker <https://bugs.python.org/i

[issue26552] Failing ensure_future still creates a Task

2021-12-29 Thread Carlos Damázio
Change by Carlos Damázio : -- keywords: +patch nosy: +dmzz nosy_count: 4.0 -> 5.0 pull_requests: +28501 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30287 ___ Python tracker <https://bugs.python.org/i

[issue38522] Py_USING_MEMORY_DEBUGGER is referenced in docs but not present in code

2021-12-28 Thread Carlos Damázio
Change by Carlos Damázio : -- keywords: +patch nosy: +dmzz nosy_count: 3.0 -> 4.0 pull_requests: +28498 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30284 ___ Python tracker <https://bugs.python.org/i

[issue2756] urllib.request.add_header fails with existing unredirected_header

2021-12-28 Thread Carlos Damazio
Carlos Damazio added the comment: And here's the code to reproduce the bug in 3.10. -- Added file: https://bugs.python.org/file50524/bug310.py ___ Python tracker <https://bugs.python.org/issue2

[issue2756] urllib.request.add_header fails with existing unredirected_header

2021-12-28 Thread Carlos Damazio
Carlos Damazio added the comment: This is the server for testing in 3.10. -- nosy: +carlosdamazio Added file: https://bugs.python.org/file50523/server310.py ___ Python tracker <https://bugs.python.org/issue2

[issue46175] Zero argument super() does not function properly inside generator expressions

2021-12-28 Thread Carlos Damazio
Carlos Damazio added the comment: Josh: My mistake, I've seen a similar issue, then. And agreed, I think #2 is a great candidate since we don't need to re-design existing structures. I don't know a better option... yet. -- ___ Python tracker

[issue46175] Zero argument super() does not function properly inside generator expressions

2021-12-26 Thread Carlos Damazio
Carlos Damazio added the comment: Normally, users assume it's safe to use `super` without explicit arguments, until an undefined behavior happens, such as now. The only thing that glances into this issue is the observation in the docs you've provided that omitting the second argument (self

[issue46175] Zero argument super() does not function properly inside generator expressions

2021-12-25 Thread Carlos Damazio
Carlos Damazio added the comment: By explicitly sending a type and object to the super function, it should work as usual, like in the file that I've just sent. I've seen this behavior before, it's related to Python's module reload function, which returns a new reference to the reloaded

[issue42527] UnicodeEncode error in BaseHttpRequestHandler class when send unicode data.

2021-08-25 Thread Carlos
Change by Carlos : -- versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issue42527> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42527] UnicodeEncode error in BaseHttpRequestHandler class when send unicode data.

2021-08-25 Thread Carlos
Change by Carlos : -- versions: +Python 3.10, Python 3.8 ___ Python tracker <https://bugs.python.org/issue42527> ___ ___ Python-bugs-list mailing list Unsub

[issue42527] UnicodeEncode error in BaseHttpRequestHandler class when send unicode data.

2021-08-25 Thread Carlos
Change by Carlos : -- keywords: +patch pull_requests: +26395 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27948 ___ Python tracker <https://bugs.python.org/issu

[issue42527] UnicodeEncode error in BaseHttpRequestHandler class when send unicode data.

2021-08-25 Thread Carlos
Change by Carlos : -- nosy: +jcarlosgalvezm ___ Python tracker <https://bugs.python.org/issue42527> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44424] Decompress streaming bz2 file

2021-06-15 Thread Carlos Franzreb
New submission from Carlos Franzreb : I am trying to lazily load items from a compressed file that resides in Zenodo. My goal is to iteratively yield the items without storing the file in my computer. My problem is that an EOFerror occurs right after the first non-empty line is read. How can

[issue44424] Decompress streaming bz2 file

2021-06-15 Thread Carlos Franzreb
Change by Carlos Franzreb : -- components: Library (Lib) nosy: carlosfranzreb priority: normal severity: normal status: open title: Decompress streaming bz2 file type: behavior versions: Python 3.9 ___ Python tracker <https://bugs.python.

[issue42411] respect cgroups limits when trying to allocate memory

2020-12-03 Thread Carlos Alexandro Becker
Carlos Alexandro Becker added the comment: Any updates? -- ___ Python tracker <https://bugs.python.org/issue42411> ___ ___ Python-bugs-list mailing list Unsub

[issue42411] respect cgroups limits when trying to allocate memory

2020-11-20 Thread Carlos Alexandro Becker
Carlos Alexandro Becker added the comment: Just did more tests here: **on my machine**: $ docker run --name test -m 1GB fedora:33 python3 -c 'import resource; m = int(open("/sys/fs/cgroup/memory/memory.limit_in_bytes").read()); resource.setrlimit(resource.RLIMIT_AS, (m, m

[issue42411] respect cgroups limits when trying to allocate memory

2020-11-20 Thread Carlos Alexandro Becker
Carlos Alexandro Becker added the comment: FWIW, here, both cases: ``` ❯ docker ps -a CONTAINER IDIMAGE COMMAND CREATED STATUSPORTS NAMES 30fc350a8dbdpython:rc-alpine"python -c 'x =

[issue42411] respect cgroups limits when trying to allocate memory

2020-11-20 Thread Carlos Alexandro Becker
Carlos Alexandro Becker added the comment: Maybe you're trying to allocate more memory than the host has available? I found out that it gives MemoryError in those cases too (kind of easy to reproduce on docker for mac)... -- ___ Python tracker

[issue42411] respect cgroups limits when trying to allocate memory

2020-11-20 Thread Carlos Alexandro Becker
Carlos Alexandro Becker added the comment: The problem is that, instead of getting a MemoryError, Python tries to "go out of bounds" and allocate more memory than the cgroup allows, causing Linux to kill the process. A workaround is to set RLIMIT_AS to the contents of /sys/fs/cgr

[issue42411] respect cgroups limits when trying to allocate memory

2020-11-19 Thread Carlos Alexandro Becker
New submission from Carlos Alexandro Becker : A common use case is running python inside containers, for instance, for training models and things like that. The python process sees the host memory/cpu, and ignores its limits, which often leads to OOMKills, for instance: docker run -m 1G

[issue41198] Round built-in function not shows zeros acording significant figures and calculates different numbers of odd and even

2020-07-02 Thread Carlos Neves
Carlos Neves added the comment: Hi Peters, I will pay more attention to the Python docs :) Thank you for your direction. Carlos A. Neves Em qui., 2 de jul. de 2020 às 18:22, Tim Peters escreveu: > > > Tim Peters added the comment: > > For the first, your hardware's binary

[issue41198] Round built-in function not shows zeros acording significant figures and calculates different numbers of odd and even

2020-07-02 Thread Carlos Neves
New submission from Carlos Neves : Hi, I am observing unexpected behavior with round built-in function about (1) significant figures in analytical methods and (2) number of odd and even numbers obtained by this function. https://docs.python.org/3/library/functions.html#round https

[issue1294959] Problems with /usr/lib64 builds.

2020-02-11 Thread Carlos Velasco
Change by Carlos Velasco : -- nosy: +carlos.velasco ___ Python tracker <https://bugs.python.org/issue1294959> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39514] http://sphinx.pocoo.org/

2020-01-31 Thread Carlos ESTEVES
New submission from Carlos ESTEVES : Hi, "Sphinx" link is break on webpage: https://docs.python.org/3/ See: http://sphinx.pocoo.org/;>Sphinx Thank You -- assignee: docs@python components: Documentation messages: 361135 nosy: cesteves, docs@python priority: normal sev

[issue39374] Key in sort -> Callable Object instead of function

2020-01-17 Thread Carlos Segura González
Carlos Segura González added the comment: The thing is that even in the "Language Reference" is not correct. In "https://docs.python.org/3/library/functions.html#sorted; it is stated "key specifies a function of one argument that is used to extract a comparis

[issue39374] Key in sort -> Callable Object instead of function

2020-01-17 Thread Carlos Segura González
Change by Carlos Segura González : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue39374> ___ ___ Python-bugs-list mailing list Un

[issue39374] Key in sort -> Callable Object instead of function

2020-01-17 Thread Carlos Segura González
New submission from Carlos Segura González : In the Documentation, the "Sorting HOW TO" (https://docs.python.org/3/howto/sorting.html) states that "have a key parameter to specify a function to be called". However, it might be other callable objects. In fact, some o

[issue37317] asyncio gather doesn't handle custom exceptions that inherit from BaseException

2019-06-17 Thread Carlos Mermingas
New submission from Carlos Mermingas : asyncio.gather doesn't handle custom exception exceptions that inherit from BaseException in the same manner that it handles those that inherit from Exception, regardless of whether return_exceptions is set to True or False. In the example below, I am

[issue37176] super() docs don't say what super() does

2019-06-12 Thread Carlos André Dantas de Lima
Carlos André Dantas de Lima added the comment: The method says who you will use some recursion. -- nosy: +Carlos André Dantas de Lima ___ Python tracker <https://bugs.python.org/issue37

[issue21879] str.format() gives poor diagnostic on placeholder mismatch

2019-02-26 Thread Carlos Damázio
Carlos Damázio added the comment: Ops, someone already patched it! Sorry guys. -- ___ Python tracker <https://bugs.python.org/issue21879> ___ ___ Python-bug

[issue21879] str.format() gives poor diagnostic on placeholder mismatch

2019-02-26 Thread Carlos Damázio
Carlos Damázio added the comment: I've noticed this issue is quite not active, but I'm up on participating in it if anyone is doing it already. Since then, this issue still persists: >>> '{1}'.format() Traceback (most recent call last): File "", line 1, in IndexErr

[issue36121] csv: Non global alternative to csv.field_size_limit

2019-02-26 Thread Carlos Ramos
New submission from Carlos Ramos : The function csv.field_size_limit gets and sets a global variable. It would be useful to change this limit in a per-reader or per-thread basis, so that a library can change it without affecting global state. -- components: Extension Modules messages

[issue35812] Don't log an exception from the main coroutine in asyncio.run()

2019-02-20 Thread Carlos Damázio
Carlos Damázio added the comment: Hey, Andrew. I'd like to work on the issue, if anyone else hasn't done it yet. -- nosy: +Carlos Damázio ___ Python tracker <https://bugs.python.org/issue35

[issue34032] Add platlibdir to allow distinction between /usr/lib and /usr/lib64 for Linux

2018-08-28 Thread Carlos Velasco
Carlos Velasco added the comment: This updated patch fix two missing lib/lib64 It works for me. # python3-32 -c "import sys; print('\n'.join(sys.path))" /usr/lib/python37.zip /usr/lib/python3.7 /usr/lib/python3.7/lib-dynload /root/.local/lib/python3.7/site-packages /usr/lib/pyth

[issue22417] PEP 476: verify HTTPS certificates by default

2017-01-03 Thread Carlos Alberto Lopez Perez
Carlos Alberto Lopez Perez added the comment: The python 2.7 documentation for urrlib still has a big warning notice at the top saying: """ Warning When opening HTTPS URLs, it does not attempt to validate the server certificate. Use at your own risk! """ ^^ htt

[issue28336] Slicing (operation) is not symmetrical with respect to suffixes and prefixes

2016-10-01 Thread Juan Carlos Pujol Mainegra
New submission from Juan Carlos Pujol Mainegra: Let s be a string or other array-like object, a, b > 0 integers, s[0:b] returns a b-long prefix to s, the same as s[:b], but s[-a:0] returns empty (for len(s) > 0 and a > 1), while it should return the same as s[-a:], an a-long suffi

[issue23735] Readline not adjusting width after resize with 6.3

2015-03-21 Thread Carlos Pita
New submission from Carlos Pita: See here: https://github.com/ipython/ipython/issues/6974 Chet Ramey confirmed the bug is downstream: As I recall from looking briefly at the ipython/python source code, it has to do with python not handling the SIGWINCH and expecting readline to do it even

[issue23735] Readline not adjusting width after resize with 6.3

2015-03-21 Thread Carlos Pita
Carlos Pita added the comment: Chet again: Here's the story from the top. Prior to readline-6.3, readline could `steal' signals from the calling application in the sense that readline's signal handler got a crack at all signals in which readline was interested before the application did. Now

[issue20215] Python2.7 socketserver can not listen IPv6 address

2014-11-19 Thread Carlos Ralli
Carlos Ralli added the comment: Is it possible to use this patch for python2.7 ? -- nosy: +Carlos.Ralli ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20215

[issue20215] Python2.7 socketserver can not listen IPv6 address

2014-11-19 Thread Carlos Ralli
Carlos Ralli added the comment: Sorry, I've got nothing. Did you forget the attachment or mail body ? 2014-11-19 11:08 GMT+01:00 Berker Peksag rep...@bugs.python.org: Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag stage: - patch review

[issue20777] PyArg_ParseTupleAndKeywords does not respect arguments format.

2014-02-26 Thread Carlos Ferreira
Carlos Ferreira added the comment: Solved. This issue had nothing to do with Python API. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20777

[issue20777] PyArg_ParseTupleAndKeywords does not respect arguments format.

2014-02-25 Thread Carlos Ferreira
New submission from Carlos Ferreira: PyArg_ParseTupleAndKeywords is not respecting the format string sy*ss When using the format sbss with the following valid arguments enp0s8, 0, 08:00:27:da:b3:47, 08:00:27:11:22:33 there is no error and the function succeeds in parsing the arguments

[issue20777] PyArg_ParseTupleAndKeywords does not respect arguments format.

2014-02-25 Thread Carlos Ferreira
Carlos Ferreira added the comment: (Please ignore the previous post) PyArg_ParseTupleAndKeywords is not respecting the format string sy*ss When using the format sbss with the following valid arguments enp0s8, 0, 08:00:27:da:b3:47, 08:00:27:11:22:33 there is no error and the function succeeds

[issue18031] The Python Tutorial says % string formatting will be removed

2013-05-22 Thread Carlos Nepomuceno
Carlos Nepomuceno added the comment: According to what I have been told at python-l...@python.org str.__mod__() is not going to be deprecated and that seems to be a myth created by Python's own documentation. I do remember to have read previously in another page that it would be deprecated

[issue18031] The Python Tutorial says % string formatting will be removed

2013-05-21 Thread Carlos Nepomuceno
New submission from Carlos Nepomuceno: It[1] says: Since str.format() is quite new, a lot of Python code still uses the % operator. However, because this old style of formatting will eventually be removed from the language, str.format() should generally be used. [1] http://docs.python.org/2

[issue17992] test_asynchat hangs

2013-05-16 Thread Carlos Nepomuceno
Carlos Nepomuceno added the comment: I don't know what to do. I tried CTRL+C but it didn't stop. Then I pressed CTRL+Z and kill the python process and when i got back with 'fg' the make process had been terminated. No messages were printed

[issue17992] test_asynchat hangs

2013-05-16 Thread Carlos Nepomuceno
Carlos Nepomuceno added the comment: ./python -m trace -t Lib/test/test_asynchat.py [...] --- modulename: asyncore, funcname: poll asyncore.py(126): if map is None: asyncore.py(128): if map: asyncore.py(129): r = []; w = []; e = [] asyncore.py(130): for fd, obj

[issue17992] test_asynchat hangs

2013-05-16 Thread Carlos Nepomuceno
Carlos Nepomuceno added the comment: Thank you! But what's going on? Do my system have any limitation that is causing such hang? Here goes it's ulimit output just in case: [root@localhost Python-2.7.5]# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d

[issue17992] test_asynchat hangs

2013-05-16 Thread Carlos Nepomuceno
Carlos Nepomuceno added the comment: Full output in the attached file. [root@localhost Python-2.7.5]# strace -ttT -f ./python Lib/test/test_asynchat.py [...] [pid 1697] 08:01:27.815179 select(6, [5], [5], [5], {0, 1}) = 0 (Timeout) 0.010095 [pid 1697] 08:01:27.825348 select(6, [5], [5

[issue17992] test_asynchat hangs

2013-05-16 Thread Carlos Nepomuceno
Carlos Nepomuceno added the comment: What ports are needed? [root@localhost Python-2.7.5]# iptables -L Chain INPUT (policy DROP) target prot opt source destination ACCEPT udp -- anywhere anywhereudp dpt:domain ACCEPT tcp -- anywhere

[issue17992] test_asynchat hangs

2013-05-16 Thread Carlos Nepomuceno
Carlos Nepomuceno added the comment: Yes, but I don't have the git clone. Can you send the complete file instead of the patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17992

[issue17992] test_asynchat hangs

2013-05-16 Thread Carlos Nepomuceno
Carlos Nepomuceno added the comment: BTW, problem solved with: iptables -A INPUT -d 127.0.0.1 -j ACCEPT iptables -A INPUT -s 127.0.0.1 -j ACCEPT Thanks a lot! \o -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17992

[issue17992] test_asynchat hangs

2013-05-16 Thread Carlos Nepomuceno
Carlos Nepomuceno added the comment: Tried to use the new files[1] but they use 'support' instead of 'test_support' from 'test' module. [1] test_asynchat.py, test_asyncore.py -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue17992] test_asynchat hangs

2013-05-16 Thread Carlos Nepomuceno
Carlos Nepomuceno added the comment: Ok! Thanks a lot! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17992 ___ ___ Python-bugs-list mailing

[issue17992] test_asynchat hangs

2013-05-15 Thread Carlos Nepomuceno
New submission from Carlos Nepomuceno: after running 'make' i entered 'make test' and it hanged on test_asynchat. stayed there for more than 1 hour. --- Python build finished, but the necessary bits to build these modules were not found: _bsddb _tkinter bsddb185 bz2

[issue17992] test_asynchat hangs

2013-05-15 Thread Carlos Nepomuceno
Changes by Carlos Nepomuceno nepomucenocarlo...@gmail.com: Removed file: http://bugs.python.org/file30278/test_asynchat.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17992

[issue17992] test_asynchat hangs

2013-05-15 Thread Carlos Nepomuceno
Changes by Carlos Nepomuceno nepomucenocarlo...@gmail.com: Removed file: http://bugs.python.org/file30277/test_asynchat.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17992

[issue17992] test_asynchat hangs

2013-05-15 Thread Carlos Nepomuceno
Changes by Carlos Nepomuceno nepomucenocarlo...@gmail.com: Added file: http://bugs.python.org/file30278/test_asynchat.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17992

[issue17992] test_asynchat hangs

2013-05-15 Thread Carlos Nepomuceno
Changes by Carlos Nepomuceno nepomucenocarlo...@gmail.com: Added file: http://bugs.python.org/file30279/test_asynchat.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17992

[issue17794] Priority Queue

2013-04-18 Thread Carlos Ferreira
New submission from Carlos Ferreira: I'm using Priority Queues and followed the Python documentation for a simple example. From Queue documentation in Python 3.3 http://docs.python.org/3.3/library/queue.html The lowest valued entries are retrieved first (the lowest valued entry is the one

[issue16621] sched module enhancement request

2012-12-05 Thread Carlos Ferreira
New submission from Carlos Ferreira: The sched module available in the Python core lacks a simple but very useful which is waiting for new events scheduling. Current version only process events that are present in the queue before the schedule.run() is issued or for events that are schedule

[issue16621] sched module enhancement request

2012-12-05 Thread Carlos Ferreira
Changes by Carlos Ferreira carlosmf...@gmail.com: Removed file: http://bugs.python.org/file28214/sched2.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16621

[issue16621] sched module enhancement request

2012-12-05 Thread Carlos Ferreira
Carlos Ferreira added the comment: Sorry, wrong file issued before... -- Added file: http://bugs.python.org/file28215/sched2.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16621

[issue7980] time.strptime not thread safe

2011-02-04 Thread Carlos Corbacho
Carlos Corbacho cathec...@gmail.com added the comment: As per my comments on Issue11108 - I suspect that PyImport_ImportModuleNoBlock is a bit of a red herring here - in Python 2.5 and earlier versions (well before PyImport_ImportModuleNoBlock was added), we have occasionally seen

[issue11108] Intermittent AttributeError when using time.strptime in threads

2011-02-03 Thread Carlos Corbacho
New submission from Carlos Corbacho cathec...@gmail.com: time.strptime() intermittently (and I mean _really_ intermittently) throws an AttributeError. Steps to reproduce: Run the attached script (you may have to do this quite a lot of times; in an evening of trying, I could only trigger

[issue2236] Distutils' mkpath implementation ignoring the mode parameter

2010-09-18 Thread Carlos Henrique Romano
Carlos Henrique Romano chrom...@gmail.com added the comment: Updating test in order to consider umask, this is supposed to fix buildbot issues. -- Added file: http://bugs.python.org/file18927/python-distutils_mkpath_filemode-test-update.diff

[issue2236] Distutils' mkpath implementation ignoring the mode parameter

2010-09-14 Thread Carlos Henrique Romano
Carlos Henrique Romano chrom...@gmail.com added the comment: Patch updated, now it includes test. -- nosy: +chromano Added file: http://bugs.python.org/file18885/python-distutils_mkpath_filemode-v1.diff ___ Python tracker rep...@bugs.python.org http

[issue2236] Distutils' mkpath implementation ignoring the mode parameter

2010-09-14 Thread Carlos Henrique Romano
Changes by Carlos Henrique Romano chrom...@gmail.com: Removed file: http://bugs.python.org/file18885/python-distutils_mkpath_filemode-v1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2236

[issue8176] Interpreter crash with double free or corruption message

2010-03-21 Thread Carlos Ribeiro
Carlos Ribeiro carribe...@gmail.com added the comment: Thanks for investigating! I'll keep watching. I'm currently developing a small Django app, and the crash happened during one of the automatic reloads that the development server do whenever a source code file changes. The problem is that I

[issue8176] Interpreter crash with double free or corruption message

2010-03-19 Thread Carlos Ribeiro
New submission from Carlos Ribeiro carribe...@gmail.com: I was running Django in development mode (python manage.py runserver 0.0.0.0:8002). I saved a python source file; Django automatically detected the change and reloaded the module (that's the usual behavior). Then a backtrace from glibc

[issue8176] Interpreter crash with double free or corruption message

2010-03-19 Thread Carlos Ribeiro
Carlos Ribeiro carribe...@gmail.com added the comment: I know I have little information but unfortunately I couldn't reproduce the crash. Seems like a racing condition or something similar. I'll see what I can do about it. On Fri, Mar 19, 2010 at 07:46, STINNER Victor rep

[issue6766] Cannot modify dictionaries inside dictionaries using Managers from multiprocessing

2009-08-23 Thread Carlos
New submission from Carlos carlo...@gmail.com: It's not possible to modify a dict inside a dict using a manager from multiprocessing. Ex: from multiprocessing import Process,Manager def f(d): d['1'] = '1' d['2']['1'] = 'Try To Write' if __name__ == '__main__': manager = Manager

[issue4219] Problem with regular expression

2008-10-28 Thread Carlos Eduardo Klock
Carlos Eduardo Klock [EMAIL PROTECTED] added the comment: Sorry, it is really a problem with the comma. Thanks for helping! :) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4219

[issue2680] gotcha: _fields_ is final but accepts lists

2008-04-24 Thread Carlos Scheidegger
New submission from Carlos Scheidegger [EMAIL PROTECTED]: When creating ctypes.Structure classes dynamically, there's a gotcha. _fields_ is final, but it takes a list that can be appended to. I'm not sure this is a bug, but I would argue it is a lot more surprising than it could be: Python

[issue2441] Mac build_install.py script fetches unavailable SQLite version

2008-03-20 Thread Carlos Eduardo de Paula
New submission from Carlos Eduardo de Paula [EMAIL PROTECTED]: The build_installer.py script, used to create MacPython installers tries to fetch a SQLite version that is not available anymore. I provided a patch with an updated version and its corresponding hash. Maybe this should