[issue33436] Add an interactive shell for Sqlite3

2022-02-11 Thread Diego Ramirez
Diego Ramirez added the comment: Do we still want to do this? See https://discuss.python.org/t/titling-sqlite3-table-columns-with-number/13656/3. -- nosy: +DiddiLeija versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker <ht

[issue46572] Unicode identifiers not necessarily unique

2022-01-29 Thread Diego Argueta
Diego Argueta added the comment: I did read PEP-3131 before posting this but I still thought the behavior was counterintuitive. -- ___ Python tracker <https://bugs.python.org/issue46

[issue46572] Unicode identifiers not necessarily unique

2022-01-29 Thread Diego Argueta
New submission from Diego Argueta : The way Python 3 handles identifiers containing mathematical characters appears to be broken. I didn't test the entire range of U+1D400 through U+1D59F but I spot-checked them and the bug manifests itself there: Python 3.9.7 (default, Sep 10 2021,

[issue46381] Improve documentation of CFLAGS_NODIST, LDFLAGS_NODIST

2022-01-16 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker <https://bugs.python.org/issue46381> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45404] Undefined I_* macros of stropts.h when building Python 3.10 on Ubuntu: fail to build the fcntl module

2021-10-14 Thread Diego Alonso
Diego Alonso added the comment: I had an empty stropts.h lying around somewhere in /usr/* (can't remember where) because some programs don't compile if they don't see that file (even an empty one suffices). But Python doesn't compile if it sees it... So I deleted st

[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-10-13 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker <https://bugs.python.org/issue45126> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41105] Add some extra content check in configure process for some empty header file who has been deprecated by glibc

2021-10-07 Thread Diego Alonso
Diego Alonso added the comment: Yes, I have the same problem. The empty file is needed to avoid compilation errors in certain builds, but in this case it creates an error... -- nosy: +etale-cohomology ___ Python tracker <https://bugs.python.

[issue45404] Undefined I_* macros when building 3.10 on Ubuntu?

2021-10-07 Thread Diego Alonso
New submission from Diego Alonso : Trying to build Python 3.10 on Ubuntu 20.04. It builds everything but the fcntl module; ie. at the end it says: Failed to build these modules: fcntl. Here are the compilation errors. It's trying to use certain macros that are undefined: I_PUSH,

[issue44892] Configparser fails when the .cfg file contains inline 'comments'

2021-09-25 Thread Diego Ramirez
Diego Ramirez added the comment: Sure, thanks! -- ___ Python tracker <https://bugs.python.org/issue44892> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44892] Configparser fails when the .cfg file contains comments

2021-09-25 Thread Diego Ramirez
Diego Ramirez added the comment: Hi Terry, I didn't see your response. I think this won't be possible, taking in count the comment that Serhiy posted: > By default configparser does not support inline comments. "# percentage sign > '%'" is a part of

[issue45083] Need to use the exception class qualname when rendering exception (in C code)

2021-09-15 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker <https://bugs.python.org/issue45083> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2021-09-08 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker <https://bugs.python.org/issue42064> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45127] Code objects can contain unmarshallable objects

2021-09-07 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker <https://bugs.python.org/issue45127> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker <https://bugs.python.org/issue45035> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44892] [configparser] Module configparser fails when the config file contains a "%" inside a commentary

2021-09-05 Thread Diego Ramirez
Change by Diego Ramirez : -- type: crash -> behavior ___ Python tracker <https://bugs.python.org/issue44892> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue45100] Teach help about typing.overload()

2021-09-05 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker <https://bugs.python.org/issue45100> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44892] [configparser] Module configparser fails when the config file contains a "%" inside a commentary

2021-09-05 Thread Diego Ramirez
Diego Ramirez added the comment: Any commentaries about this issue? -- ___ Python tracker <https://bugs.python.org/issue44892> ___ ___ Python-bugs-list mailin

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-08-31 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker <https://bugs.python.org/issue45055> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker <https://bugs.python.org/issue45059> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45066] email parser fails to decode quoted-printable rfc822 message attachemnt

2021-08-31 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker <https://bugs.python.org/issue45066> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44892] [configparser] Module configparser fails when the config file contains a "%" inside a commentary

2021-08-23 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +uranusjr title: [configparser] Module configparser fails when the file contains a "%" inside a commentary -> [configparser] Module configparser fails when the config file contains a "%&qu

[issue44603] REPL: exit when the user types exit instead of asking them to explicitly type exit()

2021-08-23 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker <https://bugs.python.org/issue44603> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44892] [configparser] Module configparser fails when the file contains a "%" inside a commentary

2021-08-13 Thread Diego Ramirez
Diego Ramirez added the comment: I would like to give a better explanation of the issue (maybe the previous explanation was unclear). A user reported to Pip that, when he used a "setup.cfg" file, the configparser module crashed (as I said above). The file contained a percentage

[issue44892] configparser fails when the file contains a "%" inside a commentary

2021-08-13 Thread Diego Ramirez
Diego Ramirez added the comment: Lukasz Langa, I would like to know your opinion, as you are recognized as the "configparser" developer. -- nosy: +lukasz.langa ___ Python tracker <https://bugs.python.o

[issue44892] configparser fails when the file contains a "%" inside a commentary

2021-08-11 Thread Diego Ramirez
Change by Diego Ramirez : -- title: Percentage character (%) inside a comment is badly recognized when using configparser -> configparser fails when the file contains a "%" inside a commentary ___ Python tracker <https:/

[issue44892] Percentage character (%) inside a comment is badly recognized when using configparser

2021-08-11 Thread Diego Ramirez
New submission from Diego Ramirez : On the Pip GitHub issue tracker (https://github.com/pypa/pip/issues/10348), a user reported a strange behaviour when using a config file (setup.cfg) on its project. The config file had a percentage character ("%") inside a commentary. But t

[issue40133] Provide additional matchers for unittest.mock

2020-04-02 Thread Diego Elio Pettenò
Change by Diego Elio Pettenò : -- nosy: +gregory.p.smith ___ Python tracker <https://bugs.python.org/issue40133> ___ ___ Python-bugs-list mailing list Unsub

[issue40133] Provide additional matchers for unittest.mock

2020-04-01 Thread Diego Elio Pettenò
New submission from Diego Elio Pettenò : The unittest.mock `assert_called_*with*` methods take either literals, or the single `ANY` special matcher (https://docs.python.org/3/library/unittest.mock.html#any) to match any argument. Experience suggests me that it's useful to have more fle

[issue40074] pickle module dump and load: add support for string file names

2020-03-26 Thread Diego Palacios
Diego Palacios added the comment: In this case two new functions should be added to the pickle function. I think they would be very useful and many users would make use of them. -- ___ Python tracker <https://bugs.python.org/issue40

[issue40074] pickle module dump and load: add support for string file names

2020-03-26 Thread Diego Palacios
New submission from Diego Palacios : The pickle functions dump and load are often used in the following lines: ```python import pickle fname = '/path/to/file.pickle' with open(fname, 'rb') as f: object = pickle.load(f) ``` The load function should also accept a f

[issue38179] Test subprocess fails on Fedora 30: test_group and test_extra_groups

2019-09-17 Thread Diego Barriga
Diego Barriga added the comment: That's right. The test result was success on latest master. Should i close this issue? -- ___ Python tracker <https://bugs.python.org/is

[issue38180] Test pyexpat fails on Fedora 30

2019-09-17 Thread Diego Barriga
Diego Barriga added the comment: $ rpm -qa expat expat-2.2.7-1.fc30.x86_64 expat-2.2.7-1.fc30.i686 -- ___ Python tracker <https://bugs.python.org/issue38

[issue37904] Suggested edit to Python Tutorial - Section 4

2019-09-15 Thread Diego Barriga
Change by Diego Barriga : -- keywords: +patch pull_requests: +15779 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/16169 ___ Python tracker <https://bugs.python.org/issu

[issue38180] Test pyexpat fails on Fedora 30

2019-09-15 Thread Diego Barriga
Diego Barriga added the comment: $ cat /etc/os-release NAME=Fedora VERSION="30 (Workstation Edition)" ID=fedora VERSION_ID=30 VERSION_CODENAME="" PLATFORM_ID="platform:f30" PRETTY_NAME="Fedora 30 (Workstation Edition)" ANSI_COLOR=&q

[issue38180] Test pyexpat fails on Fedora 30

2019-09-15 Thread Diego Barriga
Change by Diego Barriga : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue38180> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue38180] Test pyexpat fails on Fedora 30

2019-09-15 Thread Diego Barriga
New submission from Diego Barriga : $ ./python -m test -j8 test_pyexpat Run tests in parallel using 8 child processes 0:00:00 load avg: 0.66 [1/1/1] test_pyexpat failed test test_pyexpat failed -- Traceback (most recent call last): File "/home/umoqnier/develop/python-dev/cpython/Lib

[issue38179] Test subprocess fails on Fedora 30: test_group and test_extra_groups

2019-09-15 Thread Diego Barriga
Diego Barriga added the comment: $ cat /etc/os-release NAME=Fedora VERSION="30 (Workstation Edition)" ID=fedora VERSION_ID=30 VERSION_CODENAME="" PLATFORM_ID="platform:f30" PRETTY_NAME="Fedora 30 (Workstation Edition)" ANSI_COLOR=&q

[issue38179] Test subprocess fails on Fedora 30: test_group and test_extra_groups

2019-09-15 Thread Diego Barriga
New submission from Diego Barriga : == ERROR: test_extra_groups (test.test_subprocess.POSIXProcessTestCase) -- Traceback (most recent call last): File "

[issue37904] Suggested edit to Python Tutorial - Section 4

2019-09-15 Thread Diego Barriga
Diego Barriga added the comment: I'm interest on this for my first contribution :D -- ___ Python tracker <https://bugs.python.org/issue37904> ___ ___ Pytho

[issue37904] Suggested edit to Python Tutorial - Section 4

2019-09-15 Thread Diego Barriga
Change by Diego Barriga : -- nosy: +umoqnier ___ Python tracker <https://bugs.python.org/issue37904> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34160] ElementTree not preserving attribute order

2019-07-15 Thread Diego Rojas
Diego Rojas added the comment: Victor, you mean place again this code? https://github.com/python/cpython/pull/10163/files#diff-d5a064acb6ae44dcb7e01fee148c733dR926 And the recipe proposed in https://bugs.python.org/issue34160#msg338102 place it as a method of ElementTree or just as a helper

[issue33361] readline() + seek() on codecs.EncodedFile breaks next readline()

2019-05-26 Thread Diego Argueta
Diego Argueta added the comment: > though #32110 ("Make codecs.StreamReader.read() more compatible with read() > of other files") may have fixed more (all?) of it. Still seeing this in 3.7.3 so I don't think so? -- ___ P

[issue34160] ElementTree not preserving attribute order

2019-03-15 Thread Diego Rojas
Diego Rojas added the comment: Stéphane, According to you PR, I agree that is a good approach give the option to the user if wants sorted or not the attributes. But in this thread, is discussed that there is not necessary and leaves as default that the attributes preserve the order

[issue34160] ElementTree not preserving attribute order

2019-03-14 Thread Diego Rojas
Change by Diego Rojas : -- pull_requests: +12306 ___ Python tracker <https://bugs.python.org/issue34160> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34160] ElementTree not preserving attribute order

2019-03-14 Thread Diego Rojas
Diego Rojas added the comment: Victor, I thought that the news changes were only for major changes. In another hand, I could retake this bug in a few days with the issues that you mentioned. -- ___ Python tracker <https://bugs.python.

[issue3991] urllib.request.urlopen does not handle non-ASCII characters

2019-02-20 Thread Diego Rojas
Change by Diego Rojas : -- components: +Extension Modules -Library (Lib), Unicode type: enhancement -> behavior versions: +Python 3.4, Python 3.5, Python 3.6, Python 3.8 ___ Python tracker <https://bugs.python.org/iss

[issue34160] ElementTree not preserving attribute order

2018-11-10 Thread Diego Rojas
Diego Rojas added the comment: Ned, exactly what test fails? I ran all the test suite in local and all was ok, even all passed in the CI build. -- ___ Python tracker <https://bugs.python.org/issue34

[issue34160] ElementTree not preserving attribute order

2018-10-29 Thread Diego Rojas
Diego Rojas added the comment: Serhiy Storchaka, Raymond. I already made the 10219 PR. Preserves order in html Element attributes and minidom. -- ___ Python tracker <https://bugs.python.org/issue34

[issue34160] ElementTree not preserving attribute order

2018-10-29 Thread Diego Rojas
Change by Diego Rojas : -- pull_requests: +9535 ___ Python tracker <https://bugs.python.org/issue34160> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34160] ElementTree not preserving attribute order

2018-10-28 Thread Diego Rojas
Diego Rojas added the comment: Raymond, sure. I could do the rest, I'll start tomorrow Monday. -- ___ Python tracker <https://bugs.python.org/is

[issue34160] ElementTree not preserving attribute order

2018-10-26 Thread Diego Rojas
Diego Rojas added the comment: I'm working on this issue, but I have some questions: 1. If dump() function is only for debugging purpose, and since from dump() is where we will pass the sort_attrs keyword in False in order to conserve the order, I don't see how from dump() we can

[issue33361] readline() + seek() on codecs.EncodedFile breaks next readline()

2018-07-13 Thread Diego Argueta
Diego Argueta added the comment: Bug still present in 3.7.0, now seeing it in 3.8.0a0 as well. -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue33

[issue33593] Support heapq on typed arrays?

2018-05-22 Thread Diego Argueta
Diego Argueta added the comment: However I do see your point about the speed. -- ___ Python tracker <https://bugs.python.org/issue33593> ___ ___ Python-bug

[issue33593] Support heapq on typed arrays?

2018-05-22 Thread Diego Argueta
Diego Argueta added the comment: I was referring to the C arrays in the Python standard library: https://docs.python.org/3/library/array.html -- ___ Python tracker <https://bugs.python.org/issue33

[issue33593] Support heapq on typed arrays?

2018-05-21 Thread Diego Argueta
New submission from Diego Argueta : It'd be really great if we could have support for using the `heapq` module on typed arrays from `array`. For example: ``` import array import heapq import random a = array.array('I', (random.randrange(10) for _ in range(10))) heapq.heapif

[issue33361] readline() + seek() on io.EncodedFile breaks next readline()

2018-05-21 Thread Diego Argueta
Diego Argueta added the comment: Update: Tested this on Python 3.5.4, 3.4.8, and 3.7.0b3 on OSX 10.13.4. They also exhibit the bug. Updating the ticket accordingly. -- versions: +Python 3.4, Python 3.5, Python 3.7 ___ Python tracker <ht

[issue33038] GzipFile doesn't always ignore None as filename

2018-05-01 Thread Diego Argueta
Diego Argueta added the comment: Did this make it into 2.7.15? There aren't any release notes for it on the download page like usual. -- ___ Python tracker <https://bugs.python.org/is

[issue33361] readline() + seek() on io.EncodedFile breaks next readline()

2018-04-26 Thread Diego Argueta
Diego Argueta added the comment: Update: If I run your exact code it still breaks for me: ``` Got header: 'abc\n' Skipping the header. 'def\n' Line 2: 'ghi\n' Line 3: 'abc\n' Line 4: 'def\n' Line 5: 'ghi\n' ``` I'm running

[issue33361] readline() + seek() on io.EncodedFile breaks next readline()

2018-04-26 Thread Diego Argueta
Diego Argueta added the comment: That's because the stream isn't transcoding, since UTF-8 is ASCII-compatible. Try using something not ASCII-compatible as the codec e.g. 'ibm500' and it'll give incorrect results. ``` b = io.BytesIO(u'a,b\r\n"as

[issue33361] readline() + seek() on io.EncodedFile breaks next readline()

2018-04-25 Thread Diego Argueta
New submission from Diego Argueta : It appears that calling readline() on a codecs.EncodedFile stream breaks seeking and causes subsequent attempts to iterate over the lines or call readline() to backtrack and return already consumed lines. A minimal example: ``` from __future__ import

[issue33038] GzipFile doesn't always ignore None as filename

2018-03-11 Thread Diego Argueta
Diego Argueta added the comment: Yeah that's fine. Thanks! -- ___ Python tracker <https://bugs.python.org/issue33038> ___ ___ Python-bugs-list mailing list

[issue33038] GzipFile doesn't always ignore None as filename

2018-03-09 Thread Diego Argueta
New submission from Diego Argueta : The Python documentation states that if the GzipFile can't determine a filename from `fileobj` it'll use an empty string and won't be included in the header. Unfortunately, this doesn't work for SpooledTemporaryFile which has a `name` a

[issue31433] Impossible download python 3.6.2 and 2.7 documentation (html)

2017-09-12 Thread Diego Satoba
New submission from Diego Satoba: Hi, Links to python 3.6.2 and 2.7 documentation in HTML are broken, web server returns 404 Not Found. The links are: https://docs.python.org/2/archives/python-2.7.14rc1-docs-html.zip https://docs.python.org/3/archives/python-3.6.2-docs-html.zip

[issue30127] argparse action not correctly describing the right behavior

2017-04-21 Thread Diego Costantini
Diego Costantini added the comment: You are right, I misunderstood the part where it sets defaults opposite to the stored value, although apparently over one year ago I did understand it correctly when I first went through that documentation. Today my second pair of eyes had my same

[issue30127] argparse action not correctly describing the right behavior

2017-04-21 Thread Diego Costantini
New submission from Diego Costantini: Here https://docs.python.org/2/library/argparse.html#action we have the following: >>> parser = argparse.ArgumentParser() >>> parser.add_argument('--foo', action='store_true') >>> parser.add_argument('-

[issue25200] bug on re.search using the char ,-:

2015-09-20 Thread Diego Palharini
New submission from Diego Palharini: Using the packet re for regular expressions I found a strange behavior with the following command: re.search("[,-:]","89") it returns that one of those chars exists into the string "89" or whatever number you may use

[issue14639] Different behavior for urllib2 in Python 2.7

2012-04-20 Thread Diego Manenti Martins
Diego Manenti Martins added the comment: It stoped to work. It was working when using with python 2.6 and crashed on switching to python 2.7 I expect the same behavior of curl -X POST http://server.com/post_image?tid=zoV6LJ -T test.jpg

[issue14639] Different behavior for urllib2 in Python 2.7

2012-04-20 Thread Diego Manenti Martins
New submission from Diego Manenti Martins : this code sends data in a different way if using python 2.6 or python 2.7 >>> import urllib2 >>> url = 'http://server.com/post_image?tid=zoV6LJ' >>> f = open('test.jpg') >>> data = f.read()

[issue8087] Unupdated source file in traceback

2011-10-08 Thread Diego Mascialino
Diego Mascialino added the comment: > So to me, your warning will only be useful in the case where I modified the > source, forgot to reload and got the same error again with a wrong line > displayed. Also note that reloading is not so common; usually you just > restart your app

[issue8087] Unupdated source file in traceback

2011-10-08 Thread Diego Mascialino
Diego Mascialino added the comment: On Fri, Oct 7, 2011 at 5:25 PM, Ezio Melotti wrote: > > Ezio Melotti added the comment: > > I'm not sure this is useful to have.  If you changed your code you know that > you have to reload, so why would you want a warning tha

[issue8087] Unupdated source file in traceback

2011-10-05 Thread Diego Mascialino
Diego Mascialino added the comment: I worked a few hours today and I have this patch. I tried to make a test but could not. I know this is not a really good patch, but it's my first one and I wanted to show my idea. -- keywords: +patch versions: -Python 2.7 Added file:

[issue10948] Trouble with dir_util created dir cache

2011-01-20 Thread Diego Queiroz
Diego Queiroz added the comment: "I would agree if mkpath were a public function." So It is better to define what a "public function" is. Any function in any module of any project, if it is indented to be used by other modules, it is public by definition. If new pe

[issue10948] Trouble with dir_util created dir cache

2011-01-19 Thread Diego Queiroz
Diego Queiroz added the comment: You were right, "os.makedirs" fits my needs. :-) Anyway, I still think the change in the documentation is needed. This is not an implementation detail, it is part of the way the function works. The user should be aware of the behavior when he

[issue10948] Trouble with dir_util created dir cache

2011-01-19 Thread Diego Queiroz
Diego Queiroz added the comment: Suppose the application creates one folder and add some data to it: - /scratch/a/b/c While the application is still running (it is not using the folder anymore), you see the data, copy it to somewhere and delete everything manually using the terminal. After

[issue10948] Trouble with dir_util created dir cache

2011-01-19 Thread Diego Queiroz
Diego Queiroz added the comment: Well. My application does not actually randomly remove the folders, it just can't guarantee for a given process how the folder it created will be deleted. I have many tasks running on a cluster using the same disk. Some tasks creates the folders/file

[issue10948] Trouble with dir_util created dir cache

2011-01-19 Thread Diego Queiroz
New submission from Diego Queiroz : There is a problem with dir_util cache (defined by "_path_created" global variable). It appears to be useful but it isn't, just repeat these steps to understand the problem I'm facing: 1) Use mkpath to create any path (eg. /home/use

[issue9240] different behaviour with for loop... interpreted vs scripted

2010-07-12 Thread Diego Jacobi
New submission from Diego Jacobi : Hi. I am not a python expert and i was trying to reduce this next code: data = [] i = 0 for j in range(packetlen+1): print i, self.channels_in[ channels[i] ] data.append( self.channels_in[ channels[i] ].pop

[issue9218] pop multiple elements of a list at once

2010-07-11 Thread Diego
Diego added the comment: Help me. I cant find this list. I guessed that it would be a part of the issue tracker and someone would label it right. 2010/7/11 Éric Araujo : > > Changes by Éric Araujo : > > > -- > nosy: +merwok > >

[issue9218] pop multiple elements of a list at once

2010-07-10 Thread Diego Jacobi
New submission from Diego Jacobi : I am currently working with buffer in an USB device and pyusb. So when i read from a buffer endpoint i get an array.Array() list. I handle this chunk of data with a thread to send a receive the information that i need. In this thread i load a list with all the

[issue8087] Unupdated source file in traceback

2010-03-07 Thread Diego Mascialino
Diego Mascialino added the comment: Martin, I am not talking about a loop checking source file changes. I think the check could be done only when the traceback is printed. The function PyErr_Display() calls PyTracBack_Print() and so on until _Py_DisplaySourceLine() is called. The latter

[issue8087] Unupdated source file in traceback

2010-03-07 Thread Diego Mascialino
New submission from Diego Mascialino : Example: mod.py def f(): a,b,c = 1,2 print b If i do: >>> import mod >>> mod.f() I get: Traceback (most recent call last): File "", line 1,

[issue3508] range() is not a generator when used in for's

2008-08-06 Thread Diego
Diego <[EMAIL PROTECTED]> added the comment: >>> a = xrange(2**32) Traceback (most recent call last): File "", line 1, in OverflowError: long int too large to convert to int >>> 2**32 4294967296L >>> a=range(2**32) Traceback (most recent call last):

[issue3508] range() is not a generator when used in for's

2008-08-06 Thread Diego
Diego <[EMAIL PROTECTED]> added the comment: 2008/8/6 Mark Dickinson <[EMAIL PROTECTED]>: > > Mark Dickinson <[EMAIL PROTECTED]> added the comment: > > By the way, do you already know about xrange? > > xrange([start,] stop[, step]) -> xrange object >

[issue3508] range() is not a generator when used in for's

2008-08-05 Thread Diego
New submission from Diego <[EMAIL PROTECTED]>: Hi. I am a debian lenny user so i am still using python 2.5 so i dont know how is this "bug" working on newer pythons. Please close it if you find that it doesnt exists. It may not be a bug but. I have maked an script to optimi

[issue2531] float compared to decimal is silently incorrect.

2008-04-01 Thread Diego Manenti Martins
Changes by Diego Manenti Martins <[EMAIL PROTECTED]>: -- keywords: +patch versions: +Python 2.6 Added file: http://bugs.python.org/file9922/decimal.patch __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue1663] Modification HTMLParser.py

2007-12-19 Thread diego
diego added the comment: -- Forwarded message -- From: diego <[EMAIL PROTECTED]> Date: 19-dic-2007 17:05 Subject: [issue1663] Modification HTMLParser.py To: [EMAIL PROTECTED] New submission from diego: Hello my name is Diego, I needed to parse HTML to retrieve only tex

[issue1663] Modification HTMLParser.py

2007-12-19 Thread diego
New submission from diego: Hello my name is Diego, I needed to parse HTML to retrieve only text, but not grasped how to do it with class HTMLParser, so the change to do it. The code to use is: class ParsearHTML (HTMLParser.HTMLParser): def __init__(self,datos): HTMLParser.HTMLParser