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.o
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
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/is
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
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
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
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
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/i
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
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.
--
___
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 argu
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 refere
Change by Carlos :
--
versions: +Python 3.11
___
Python tracker
<https://bugs.python.org/issue42527>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Carlos :
--
versions: +Python 3.10, Python 3.8
___
Python tracker
<https://bugs.python.org/issue42527>
___
___
Python-bugs-list mailing list
Unsub
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
Change by Carlos :
--
nosy: +jcarlosgalvezm
___
Python tracker
<https://bugs.python.org/issue42527>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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.
Carlos Alexandro Becker added the comment:
Any updates?
--
___
Python tracker
<https://bugs.python.org/issue42411>
___
___
Python-bugs-list mailing list
Unsub
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,
Carlos Alexandro Becker added the comment:
FWIW, here, both cases:
```
❯ docker ps -a
CONTAINER IDIMAGE COMMAND CREATED
STATUSPORTS NAMES
30fc350a8dbdpython:rc-alpine"python -c
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 tr
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
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
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 b
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
Change by Carlos Velasco :
--
nosy: +carlos.velasco
___
Python tracker
<https://bugs.python.org/issue1294959>
___
___
Python-bugs-list mailing list
Unsubscribe:
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: norma
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 comparison
ke
Change by Carlos Segura González :
--
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue39374>
___
___
Python-bugs-list mailing list
Un
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 of the e
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,
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
Carlos Damázio added the comment:
Ops, someone already patched it! Sorry guys.
--
___
Python tracker
<https://bugs.python.org/issue21879>
___
___
Python-bug
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 "", lin
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
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.o
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
/us
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
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
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 appli
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
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 :
>
> Changes by Berker Peksag :
>
>
> --
> nosy: +berker.peksag
> stage: -> patch review
>
> _
Carlos Ralli added the comment:
Is it possible to use this patch for python2.7 ?
--
nosy: +Carlos.Ralli
___
Python tracker
<http://bugs.python.org/issue20
Carlos Ferreira added the comment:
Solved. This issue had nothing to do with Python API.
--
___
Python tracker
<http://bugs.python.org/issue20777>
___
___
Pytho
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
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
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
depre
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.py
Carlos Nepomuceno added the comment:
Ok! Thanks a lot!
--
___
Python tracker
<http://bugs.python.org/issue17992>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
<
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
<http://bugs.python.org/issue17
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
<http://bugs.python.org/is
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
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, [
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 (
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 in
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 m
Changes by Carlos Nepomuceno :
Added file: http://bugs.python.org/file30279/test_asynchat.txt
___
Python tracker
<http://bugs.python.org/issue17992>
___
___
Python-bug
Changes by Carlos Nepomuceno :
Added file: http://bugs.python.org/file30278/test_asynchat.txt
___
Python tracker
<http://bugs.python.org/issue17992>
___
___
Python-bug
Changes by Carlos Nepomuceno :
Removed file: http://bugs.python.org/file30277/test_asynchat.txt
___
Python tracker
<http://bugs.python.org/issue17992>
___
___
Python-bug
Changes by Carlos Nepomuceno :
Removed file: http://bugs.python.org/file30278/test_asynchat.txt
___
Python tracker
<http://bugs.python.org/issue17992>
___
___
Python-bug
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
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 entr
Carlos Ferreira added the comment:
Sorry, wrong file issued before...
--
Added file: http://bugs.python.org/file28215/sched2.py
___
Python tracker
<http://bugs.python.org/issue16
Changes by Carlos Ferreira :
Removed file: http://bugs.python.org/file28214/sched2.py
___
Python tracker
<http://bugs.python.org/issue16621>
___
___
Python-bugs-list m
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
Carlos Corbacho 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
'AttributeError: str
New submission from Carlos Corbacho :
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 this bug once
Carlos Henrique Romano 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
___
Python tracker
Carlos Henrique Romano added the comment:
Improving tests
--
Added file:
http://bugs.python.org/file18887/python-distutils_mkpath_filemode-v2.diff
___
Python tracker
<http://bugs.python.org/issue2
Changes by Carlos Henrique Romano :
Removed file:
http://bugs.python.org/file18885/python-distutils_mkpath_filemode-v1.diff
___
Python tracker
<http://bugs.python.org/issue2
Carlos Henrique Romano 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
<http://bugs.python.org/issue2
Carlos Ribeiro 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
probably r
Carlos Ribeiro 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 wrote:
>
> STINNER Victor a
New submission from Carlos Ribeiro :
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 appeared i
New submission from Carlos :
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
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.pytho
New submission from Carlos Eduardo Klock <[EMAIL PROTECTED]>:
Hello,
I am having a weird problem with regex. I am trying to get the tokens
that match the pattern below, but it is not working only for a specific
case. I do this for many lines of text, and it works, except for the
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 c
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 sho
81 matches
Mail list logo