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
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
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,
Change by Diego Ramirez :
--
nosy: +DiddiLeija
___
Python tracker
<https://bugs.python.org/issue46381>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Diego Ramirez :
--
nosy: +DiddiLeija
___
Python tracker
<https://bugs.python.org/issue45126>
___
___
Python-bugs-list mailing list
Unsubscribe:
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.
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,
Diego Ramirez added the comment:
Sure, thanks!
--
___
Python tracker
<https://bugs.python.org/issue44892>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Diego Ramirez :
--
nosy: +DiddiLeija
___
Python tracker
<https://bugs.python.org/issue45083>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Diego Ramirez :
--
nosy: +DiddiLeija
___
Python tracker
<https://bugs.python.org/issue42064>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Diego Ramirez :
--
nosy: +DiddiLeija
___
Python tracker
<https://bugs.python.org/issue45127>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Diego Ramirez :
--
nosy: +DiddiLeija
___
Python tracker
<https://bugs.python.org/issue45035>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Diego Ramirez :
--
type: crash -> behavior
___
Python tracker
<https://bugs.python.org/issue44892>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Diego Ramirez :
--
nosy: +DiddiLeija
___
Python tracker
<https://bugs.python.org/issue45100>
___
___
Python-bugs-list mailing list
Unsubscribe:
Diego Ramirez added the comment:
Any commentaries about this issue?
--
___
Python tracker
<https://bugs.python.org/issue44892>
___
___
Python-bugs-list mailin
Change by Diego Ramirez :
--
nosy: +DiddiLeija
___
Python tracker
<https://bugs.python.org/issue45055>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Diego Ramirez :
--
nosy: +DiddiLeija
___
Python tracker
<https://bugs.python.org/issue45059>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Diego Ramirez :
--
nosy: +DiddiLeija
___
Python tracker
<https://bugs.python.org/issue45066>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Diego Ramirez :
--
nosy: +DiddiLeija
___
Python tracker
<https://bugs.python.org/issue44603>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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:/
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
Change by Diego Elio Pettenò :
--
nosy: +gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue40133>
___
___
Python-bugs-list mailing list
Unsub
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
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
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
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
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
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
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
Change by Diego Barriga :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue38180>
___
___
Python-bugs-list mailing list
Unsubscrib
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
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
New submission from Diego Barriga :
==
ERROR: test_extra_groups (test.test_subprocess.POSIXProcessTestCase)
--
Traceback (most recent call last):
File "
Diego Barriga added the comment:
I'm interest on this for my first contribution :D
--
___
Python tracker
<https://bugs.python.org/issue37904>
___
___
Pytho
Change by Diego Barriga :
--
nosy: +umoqnier
___
Python tracker
<https://bugs.python.org/issue37904>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
Change by Diego Rojas :
--
pull_requests: +12306
___
Python tracker
<https://bugs.python.org/issue34160>
___
___
Python-bugs-list mailing list
Unsubscribe:
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.
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
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
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
Change by Diego Rojas :
--
pull_requests: +9535
___
Python tracker
<https://bugs.python.org/issue34160>
___
___
Python-bugs-list mailing list
Unsubscribe:
Diego Rojas added the comment:
Raymond, sure. I could do the rest, I'll start tomorrow Monday.
--
___
Python tracker
<https://bugs.python.org/is
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
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
Diego Argueta added the comment:
However I do see your point about the speed.
--
___
Python tracker
<https://bugs.python.org/issue33593>
___
___
Python-bug
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
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
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
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
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
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
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
Diego Argueta added the comment:
Yeah that's fine. Thanks!
--
___
Python tracker
<https://bugs.python.org/issue33038>
___
___
Python-bugs-list mailing list
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
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
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
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('-
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
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
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()
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
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
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:
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
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
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
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
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
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
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
>
>
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
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
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,
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):
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
>
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
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
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
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
87 matches
Mail list logo