Grant added the comment:
codecs module and 'whats new' doc patch for 3.4
--
keywords: +patch
nosy: +Grant
versions: -Python 2.7, Python 3.3
Added file: http://bugs.python.org/file30860/17827.diff
___
Python tracker
<http://bu
New submission from Grant:
This module would allow programmers to perform high level workday addition and
subtraction - a commonly needed function in the finance and accounting world
not yet provided in a standard python module.
--
components: Extension Modules
files: workDayMath.py
New submission from Grant Delaney:
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1403, in __call__
return self.func(*args)
File "/usr/lib/python2.5/idlelib/AutoCompleteWindow.py", line 217, in
winc
New submission from Grant Delaney:
Running idle from a terminal window in desktop.
Python 2.5.1 (r251:54863, Nov 22 2007, 13:55:16)
[GCC 4.1.2] on linux2
Type "copyright", "credits" or "licens
Grant Delaney added the comment:
You can remove this issue. It was a compile problem on my side, missing
libs etc.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
New submission from Grant Andrew :
I'm attempting to use Python for the first time and am running into issues
before I'm out the door. I started with 3.2 and have worked backward
installing older versions in hopes that IDLE would load on my xp pro laptop.
After reading several th
New submission from Grant Tang <[EMAIL PROTECTED]>:
#the following code consume about 800M memory, which is normal
n = 1
data = [0.0 for i in xrange(n)]
#however, if I assign random number to data list, it will consume extra
2.5G memory.
from random import random
for s in xr
Grant Tang <[EMAIL PROTECTED]> added the comment:
I agree with Tim's comment. The problem's why these floats keep alive
even after random() call returns. Then this becomes a garbage
collection issue?
___
Python tracker <[EMAI
Grant Tang <[EMAIL PROTECTED]> added the comment:
Here I am confused. 100million floats in a list takes about 800M byte
memory. This is acceptable.
for i in xrange(1):
data[i] = random()
so it should be 800M plus a float returned by random(). But the problem
is after thi
Grant Tang <[EMAIL PROTECTED]> added the comment:
Facundo:
I understand now. You mean every unique float number used will be an object
in memory. And never been released until Python quit. Is there any way to
reclaim these memory? We need 3G memory to create a list of 100million
randum n
Grant Bowman added the comment:
Is there anything others like me can do to help get this fixed?
--
nosy: +grantbow
___
Python tracker
<http://bugs.python.org/issue762
New submission from Grant Monroe:
cElementTree findtext seems to return None when it should return a string.
--
components: Library (Lib)
files: etree_test.py
messages: 59618
nosy: gmonroe
severity: normal
status: open
title: ElementTree/cElementTree findtext inconsistency
type
New submission from Grant Edwards :
The documentation for str.title() states that the first character in each world
is converted to upper case. That is not correct for recent versions of Python.
The first character in each word is converted to title case. Title and upper
may be the same for
New submission from Grant Edwards :
SMTP.send_message() does from mangling even when the message's policy
has that disabled. The problem is in the send_messsage() function
shown below:
912 def send_message(self, msg, from_addr=None, to_addrs=None,
Grant Edwards added the comment:
Yes, passing the mangle_from value to BytesGenerator seems like the safest fix.
It's unfortunate that BytesGenerator defaults to doing "the wrong thing" in the
absence of a policy argument, but there might be code that depends on it.
I
New submission from Grant Petty :
For complete context, see
https://stackoverflow.com/questions/62582386/how-do-i-get-a-naive-datetime-object-that-correctly-uses-utc-inputs-and-preserve
Short version: It does not seem correct that a datetime object produced *from*
a POSIX timestamp using
New submission from Grant Wu :
https://github.com/python/cpython/blob/master/Lib/fileinput.py#L326 shows that
the openhook and mode are ignored when reading from stdin.
Since part of fileinput's functionality is to abstract over whether one is
reading from stdin or over a file, I think
Change by Grant Wu :
--
nosy: +grantwu -Grant Wu2
___
Python tracker
<https://bugs.python.org/issue37014>
___
___
Python-bugs-list mailing list
Unsubscribe:
Grant Jenks added the comment:
FWIW, I would rather not see the docs littered with "/". I've taught Python to
hundreds of professional software engineers over the last five years and in all
that time nobody has ever asked when the args need to be positional. It's easy
t
Grant Jenks added the comment:
Pablo, I never intended disrespect toward you personally. And I am sorry my
words came across that way. I would rather the feature be one of Python's more
esoteric qualities.
I think Carol has described the most reasonable way forward. And in particula
Change by Andrew Grant :
--
nosy: +Andrew Grant
___
Python tracker
<https://bugs.python.org/issue14465>
___
___
Python-bugs-list mailing list
Unsubscribe:
Grant Bremer added the comment:
The use case is for an internal PKI implementation where verification should
be, needs to be limited to certificates signed by the PKI CA and no higher to,
say, a larger realm which would not be appropriate
Grant Jenks added the comment:
+1 from me. I'd like to see it ask me to save when I close the window if I've
already saved once.
--
nosy: +grantjenks
___
Python tracker
<https://bugs.python.o
Change by Grant Jenks :
--
nosy: +grantjenks
___
Python tracker
<https://bugs.python.org/issue35196>
___
___
Python-bugs-list mailing list
Unsubscribe:
Grant Jenks added the comment:
This issue was closed but I still see the problem in 3.7.2. Here's a snippet
with line numbers from IDLE:
01 Python 3.7.2 (default, Dec 30 2018, 08:59:00)
02 [Clang 9.1.0 (clang-902.0.39.2)] on darwin
03 Type "help", "copyright", &qu
New submission from Grant Jenks :
IDLE inserts an extra blank line after the prompt after encountering a
SyntaxError:
```
>>> 1 + 2
3
>>> print('Hello')
Hello
v-- Missing single quote!
>>> d = {1: 'uno', 2:
Grant Jenks added the comment:
I asked on the ncurses maintainers email list about their logic and was pointed
to tty_settings.c which checks:
1. stderr
2. stdout
3. stdin
4. open('/dev/tty', 'r+')
I don't know a cross-platform way to check #4 but I think #1-3 ar
Grant Jenks added the comment:
This is not a bug in Python. The SyntaxError matches expected behavior.
According to the Python grammar, you can't have "await" outside of a function.
You have "await" at the globals scope which is not permitted. You may only
&quo
Change by Grant Jenks :
--
nosy: +grantjenks
___
Python tracker
<https://bugs.python.org/issue34549>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Kevin Grant :
Running "pydoc -k ..." with a query string will end with a Python
AttributeError while looking for Carbon.File.FSSpecType.
I was using /usr/bin/pydoc on Mac OS X Snow Leopard, which is from Python 2.6.1.
It appears that any query will produce a sim
Grant Limberg added the comment:
I've taken the liberty of creating a patch for this issue. I've taken the
docstrings fromt he pkgutil module and conveted them to reST.
Please let me know if there are any changes necessary.
--
keywords: +patch
nosy: +Grant.Limberg
Added
Grant Limberg added the comment:
It looks like at one point, internal_print was a recursive function, but this
is no longer the case. I've updated the function parameters to no longer
contain the "nesting" parameter and removed the if block shown in this case.
--
k
Grant Limberg added the comment:
On second thought, internal_print() doesn't look like it's needed anymore as
it's only called by PyObject_Print() and is no longer recursive. This second
patch moves internal_print()'s function body into PyObject_Print and removes
the int
Changes by Grant Limberg :
Removed file:
http://bugs.python.org/file18198/internal_print_non_recursive.patch
___
Python tracker
<http://bugs.python.org/issue9
New submission from Grant Mathews:
The itertools.groupby function is generally well-documented, but the fact that
it only groups consecutive occurrences of keys is not mentioned in the doc
string, which is where that information is most needed.
--
assignee: docs@python
components
New submission from Grant Hillebrand:
When running the following code on Windows 7 (64bit os), and selecting a root
drive letter, eg C:, it returns "C:/", with a slash appended. When selecting
any other path below root level, eg "C:/users" it returns "C:/users" -
New submission from Grant Bremer:
The SSL_set_verify_depth OpenSSL method is not currently exposed by the ssl
module. The context object would seem to be the proper place for it as an
instance method.
--
components: Library (Lib)
messages: 250718
nosy: Grant Bremer
priority: normal
Changes by Grant Bremer :
--
hgrepos: +316
keywords: +patch
Added file: http://bugs.python.org/file40471/verify_depth.patch
___
Python tracker
<http://bugs.python.org/issue25
Grant Bremer added the comment:
I had thought that I had found documentation that the max depth is 100 and
anything higher is ignored -- and as I read that back to me, I believe I read
an example passage and interpreted it incorrectly. I'll remove that.
We primarily use Python 2.7,
Grant Bremer added the comment:
Attached is a patch for the 3.5 branch. The test is minimal -- we are relying
on the underlying OpenSSL library and its context to manage the data. I have
removed the data validation from the set function -- OpenSSL seems happy to
accept negative numbers for
Changes by Grant Bremer :
--
hgrepos: -316
___
Python tracker
<http://bugs.python.org/issue25115>
___
___
Python-bugs-list mailing list
Unsubscribe:
41 matches
Mail list logo