Mark Dickinson dicki...@gmail.com added the comment:
I'm not going to get more time to work on this before
the weekend, so if anyone else wants to take over please
feel free.
Still to do for stage 2: cell objects and slot
wrapper objects need to have tp_richcompare
implemented, to replace the
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
For 3.0, are you going to keep tp_compare slot in existence and just
assert that it is NULL? Then in 3.1, remove the slot entirely?
___
Python tracker rep...@bugs.python.org
Mark Dickinson dicki...@gmail.com added the comment:
If I understand Christian's plan correctly, it was to:
(1) raise TypeError for non-NULL tp_compare, and
(2) rename tp_compare to tp_reserved (with type void *).
and both of these would happen with 3.0.1, so no difference between
3.0.1 and
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Yes, issue4566 describes exactly the same problem.
--
resolution: - duplicate
status: open - pending
superseder: - 2.6.1 breaks many applications that embed Python on Windows
___
Python
Jerzy jer...@genesilico.pl added the comment:
I still do not understand what is going on when python executed thic
code. I have a local variable l in my parent process. When I create a
child process, program makes first makes a copy of memory. Than what?
I am sure that l still exists in child
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5084
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4821
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4818
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4701
___
___
Python-bugs-list mailing list
New submission from Kandalintsev Alexandre bug_hun...@messir.net:
When unhandled in python code exception occurs in PyObject_CallMethod
frame_dealloc() (Objects/frameobject.c:422)
not called. Even if I call PyErr_Print().
But if I call PyErr_Clear() then all okay. Documentation says that
Guilherme Polo ggp...@gmail.com added the comment:
Weeble added the comment:
Well, the status quo depends on an unsupported field - anchor.
Better not repeat the mistake then ?
As far
as I can tell, the only other option that allows any customisation of
cursor behaviour is to
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I think I have an explanation:
When a python exception is raised, the current call stack is stored in
the exception state (tstate-curexc_traceback). This includes all the
living frame objects, with all their local variables.
This
Mark Hammond mhamm...@users.sourceforge.net added the comment:
Checked into trunk as r69094; merged to release26-maint as r69095, py3k
as r69096 and release30-maint as r69097.
--
resolution: accepted - fixed
status: open - closed
___
Python tracker
Kandalintsev Alexandre bug_hun...@messir.net added the comment:
Thank you for your activity. This feature drank alot of my blood. Please
document this or change behavior.
PS Older python versions may be also affected so changing behavior may
brake existing code :(
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4174
___
___
Python-bugs-list mailing list
Mark Hammond mhamm...@users.sourceforge.net added the comment:
Checked into py3k as r6998; merged to release30-maint as 69099. I hope
I got that right!
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Amaury Forgeot d'Arc amaur...@gmail.com:
--
assignee: - georg.brandl
components: +Documentation -Interpreter Core
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5096
New submission from Kandalintsev Alexandre bug_hun...@messir.net:
Hello!
asyncore.dispatcher_with_send undocumented in all python versions
--
assignee: georg.brandl
components: Documentation
messages: 80763
nosy: exe, georg.brandl
severity: normal
status: open
title:
Weeble clockworksa...@gmail.com added the comment:
You're right: we should find a solution that's safe and supported.
I *think* the primary reason for overriding the home key behaviour was
not for the interactive shell, but to make it easier to edit code. Most
programmer's editors that do
New submission from Stuart Axon stu.a...@gmail.com:
os.environ doesn't escape spaces, but does backslashes and others
In the windows python interpreter I echo'd the variable 'ProgramFiles',
then in the commandprompt.
from os import environ
environ['ProgramFiles']
'C:\\Program Files'
^Z
Guilherme Polo ggp...@gmail.com added the comment:
Weeble added the comment:
I *think* the primary reason for overriding the home key behaviour was
not for the interactive shell, but to make it easier to edit code. Most
programmer's editors that do automatic indentation also let you use
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3823
___
___
Python-bugs-list mailing list
Jean-Paul Calderone exar...@divmod.com added the comment:
The backslash escaping has nothing to do with os.environ. It's the way
any string with a backslash in it is displayed in the interactive
interpreter (it's the way str.__repr__ works). Performing any escaping
on a string to make it
Changes by Jean-Paul Calderone exar...@divmod.com:
--
nosy: -exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3823
___
___
Python-bugs-list
Weeble clockworksa...@gmail.com added the comment:
I can't see any useful reason to go to the absolute start of the line in
the interactive shell. However, it does make sense in the source editor,
and it is consistent with, for example, Visual Studio. The first use-
case off the top of my head
Guilherme Polo ggp...@gmail.com added the comment:
It's
also the only quick way in IDLE to be sure that the text widget is
scrolled all the way to the left, since there's no horizontal scrollbar.
(Any idea why that is? I assumed it's to discourage long lines, but I
don't know.)
The shell
Benjamin Peterson benja...@python.org added the comment:
Actually, I would like to repurpose tp_compare as tp_bytes for the
__bytes__ method.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1717
___
Changes by Benjamin Peterson benja...@python.org:
--
assignee: georg.brandl - josiahcarlson
nosy: +josiahcarlson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5097
___
New submission from Mary Stern maryst...@yahoo.com:
I was getting this error (while running my unit tests):
Exception exceptions.AttributeError: 'NoneType' object has no attribute
'error' in bound method Popen.__del__ of subprocess.Popen object at
0x8a2596c ignored
which I tracked down to the
Raghuram Devarakonda draghu...@gmail.com added the comment:
On Wed, Jan 28, 2009 at 5:13 PM, Antoine Pitrou rep...@bugs.python.org wrote:
shutil_destinsrc.patch has both the code chage and two test cases.
Actually test cases are much longer than the code itself :-).
Guilherme Polo ggp...@gmail.com added the comment:
As an side-side-note, I find much more important to add some kind of
test discovery since it is being duplicated in several packages in Lib/
and will continue being duplicated.
--
nosy: +gpolo
___
Changes by Mary Stern maryst...@yahoo.com:
--
title: subprocess.POpen.__del__() AttribuetError (os module == None!) -
subprocess.POpen.__del__() AttributeError (os module == None!)
___
Python tracker rep...@bugs.python.org
Changes by David W. Lambert lamber...@corning.com:
--
nosy: +LambertDW
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5099
___
___
Python-bugs-list
Changes by David W. Lambert lamber...@corning.com:
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4174
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by David W. Lambert lamber...@corning.com:
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4174
___
___
Python-bugs-list mailing list
Unsubscribe:
Guido van Rossum gu...@python.org added the comment:
@gpsmith: Way to go!
@gpolo: Alas, test discovery is now a much harder problem because it
depends on using conventions for test naming. Unless all existing
implementations use the same conventions, it's hard to see how to
replace them.
Antoine Pitrou pit...@free.fr added the comment:
Sorry, I had only given a quick look at Benjamin's patch, not yours.
Actually Benjamin's patch does not seem to address anything, which makes
things more confusing.
___
Python tracker rep...@bugs.python.org
Raghuram Devarakonda draghu...@gmail.com added the comment:
On Thu, Jan 29, 2009 at 1:32 PM, Antoine Pitrou rep...@bugs.python.org wrote:
Sorry, I had only given a quick look at Benjamin's patch, not yours.
Actually Benjamin's patch does not seem to address anything, which makes
things more
Martin v. Löwis mar...@v.loewis.de added the comment:
I still do not understand what is going on when python executed thic
code. I have a local variable l in my parent process.
No, you don't. It's a global variable, not a local one.
When I create a
child process, program makes first
Martin v. Löwis mar...@v.loewis.de added the comment:
Checked into py3k as r6998; merged to release30-maint as 69099. I hope
I got that right!
If you ask whether checking into py3k was the right thing: yes, it was.
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
As Jean-Paul explains, you are misinterpreting what you are seeing.
Closing as invalid.
--
nosy: +loewis
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
Brett Cannon br...@python.org added the comment:
On Thu, Jan 29, 2009 at 07:30, Benjamin Peterson rep...@bugs.python.org wrote:
Benjamin Peterson benja...@python.org added the comment:
Actually, I would like to repurpose tp_compare as tp_bytes for the
__bytes__ method.
Repurposing would be
Benjamin Peterson benja...@python.org added the comment:
On Thu, Jan 29, 2009 at 2:39 PM, Brett Cannon rep...@bugs.python.org wrote:
Brett Cannon br...@python.org added the comment:
On Thu, Jan 29, 2009 at 07:30, Benjamin Peterson rep...@bugs.python.org
wrote:
Benjamin Peterson
Brett Cannon br...@python.org added the comment:
On Thu, Jan 29, 2009 at 07:30, Benjamin Peterson rep...@bugs.python.org
wrote:
Benjamin Peterson benja...@python.org added the comment:
Actually, I would like to repurpose tp_compare as tp_bytes for the
__bytes__ method.
Repurposing
New submission from Jeroen Dirks jeroen.di...@oracle.com:
I am using cElementTree.iterparse in order to parse through a huge XML
document and filter out sections of interest.
The usage pattern is that I wait for an end event for a element of
interest and then if it matches a some criterium I
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - accepted
versions: +Python 2.7, Python 3.0, Python 3.1 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2047
___
Antoine Pitrou pit...@free.fr added the comment:
Committed, thanks!
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2047
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2047
___
New submission from Mark Dickinson dicki...@gmail.com:
It looks as though a few of the tests in test_funcattrs disappeared in the
conversion to unittest, committed in r60522. (The first one I noticed was
test_empty_cell, but there are others missing too.)
Question for Georg (who did the
STINNER Victor victor.stin...@haypocalc.com added the comment:
This issue is not critical anymore because jesse.noller fixed the
crash in r68768.
Python 2.7a0 (trunk:68873M, Jan 23 2009, 08:46:25)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type help, copyright,
New submission from Jacques Grove jacq...@tripitinc.com:
When doing a urllib2 fetch of a url that results in a redirect, the
connection to the redirect does not pass along the timeout of the
original url opener. The result is that the redirected url fetch (which
is a new request) will get the
STINNER Victor victor.stin...@haypocalc.com added the comment:
This issue has been fixed in py3k, release30-maint and trunk. I think
that 2.6.x doesn't need this API change, so I prefer to close this
issue. Reopen the issue if I'm wrong.
--
status: open - closed
STINNER Victor victor.stin...@haypocalc.com added the comment:
The test (io_deadlock.patch) pass on the io-c branch \o/
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3618
___
New submission from Jacques Grove jacq...@tripitinc.com:
In ssl.py of Python 2.6.1 we have this code in SSLSocket.__init__():
if do_handshake_on_connect:
timeout = self.gettimeout()
try:
self.settimeout(None)
STINNER Victor victor.stin...@haypocalc.com added the comment:
I don't like the change of API to PyTokenizer_FromString.
I would prefer another function like
PyTokenizer_IgnoreCodingCookie()
Ok, I created a new function PyTokenizer_FromUnicode(). I
choosed FromUnicode because the string is
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file12771/tokenizer_ignore_cookie-3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4626
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
The patch is now outdated.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3610
STINNER Victor victor.stin...@haypocalc.com added the comment:
The bug is still here in py3k:
$ cat bla.py
import _tkinter, gc
_tkinter._flatten(True)
gc.collect()
$ ./python bla.py
Exception TypeError: object of type 'bool' has no len() in 'garbage
collection' ignored
Fatal Python error:
New submission from Roman Zeyde roman.ze...@gmail.com:
The following code shouldn't fail without any warning at all:
import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(('localhost', 7))
print(s.getsockname())
('127.0.0.1', 4464)
After looking through
Changes by Roman Zeyde roman.ze...@gmail.com:
--
components: +Extension Modules -None
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5104
___
___
Changes by Roman Zeyde roman.ze...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5104
___
___
Python-bugs-list
STINNER Victor victor.stin...@haypocalc.com added the comment:
For lemburg, updated patch:
- Move USE_WCHAR_SURROGATE define outside PyUnicode_FromWideChar()
(and indent the defines, sorry)
- Add #define SIZEOF_WCHAR_T 2 to PC/pyconfig.h
Added file:
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file:
http://bugs.python.org/file12822/unicode_fromwidechar_surrogate-3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4474
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: -haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4487
___
___
Gregory P. Smith g...@krypto.org added the comment:
heh yes, not a big deal but this should raise an overflow error in that
case.
--
assignee: - gregory.p.smith
nosy: +gregory.p.smith
priority: - low
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
But negative time_t are still not allowed by the Microsoft CRT,
the tests fail.
(...)
is this a bug or a feature request?
Linux mktime() supports any timestamp from 1901..2038. Should we limit
the timestamp to 1970 just
New submission from Brandon Adams sockonaf...@gmail.com:
When using sqlite3.Row as the row_factory for a sqlite3 connection and
performing a SQL join that returns rows from two or more tables with
identical column names, the returned sqlite3.Row object contains
duplicate keys. Subsequently,
STINNER Victor victor.stin...@haypocalc.com added the comment:
My test included in mktime_fix_and_tests.patch has a problem: the
timezone is constant and it's mine (GMT+1). I don't know how to write
a generic test working on any time zone. I can't use
datetime.fromtimestamp() because
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Just saw that issue, thanks, the bug was fixed some minutes ago.
I came up with about the same fix, see r69106
--
assignee: - tarek
nosy: +tarek
status: open - closed
___
Python tracker
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I will continue to discuss this in distutils-SIG:
Marc-André Lemburg proposed me to introduce the uninstall command from
mxSetup.py (from mxBase, http://www.egenix.com/products/python/mxBase/)
So I need to ask for opinions first
--
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Am also working on a patch for this and would like to coordinate. My
first draft is attached:
Added file: http://bugs.python.org/file12891/tmp_dev_shelver.py
___
Python tracker
Jean-Paul Calderone exar...@divmod.com added the comment:
Some comments on tmp_dev_shelver.py...
Regarding SQLhash.__init__, it would be better to avoid relying on the
sqlite_master table by using the CREATE TABLE IF NOT EXISTS form of
table creation.
Setting the isolation_level in __init__
Benjamin Peterson benja...@python.org added the comment:
On Thu, Jan 29, 2009 at 5:13 PM, STINNER Victor rep...@bugs.python.org wrote:
Ok, I created a new function PyTokenizer_FromUnicode(). I
choosed FromUnicode because the string is encoded in unicode (as
UTF-8, even if it's not the
Benjamin Peterson benja...@python.org added the comment:
Applied in r69113.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3880
Benjamin Peterson benja...@python.org added the comment:
Fixed in r69114.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5087
HiroakiKawai ka...@apache.org added the comment:
I want UTC tzinfo. too.
--
nosy: +kawai
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5094
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Thanks for looking at this. I'll do an update in the next few days.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3783
___
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Fixed in r69117(py3k).
--
keywords: -needs review
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5041
New submission from Terry J. Reedy tjre...@udel.edu:
Language / Execution Model / Naming Binding
just before example that does not work,
class A:
a = 42
b = list(a + i for i in range(10))
says :
The scope of names defined in a class block is limited to the class
block; it does not
New submission from John Machin sjmac...@users.sourceforge.net:
Docs say The default encoding is platform dependent but don't say
how to find out what that is, or how it is determined. On my Windows XP
SP3 setup, the default is cp1252, but the best/only guess at finding out
without actually
80 matches
Mail list logo