Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 95c34bce986c by Ezio Melotti in branch 'default':
#12547: Fix example in nntplib doc. Patch by July Tikhonov.
http://hg.python.org/cpython/rev/95c34bce986c
--
___
Python
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed, thanks again for the patch!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12547
Charles-François Natali neolo...@free.fr added the comment:
I agree with Antoine - it's a simple bug
Alright, in that case I agree (I thought this was considered as a
security issue).
Two comments on the patch:
Lib/tempfile.py:
# Don't recurse to symlinked directories (issue #12464)
Is it
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Array has been around for a very long time and this functionality has never
been requested. That and the fact that we already have a way to do it (the
same way as for lists) is a strong indication that this isn't needed at all.
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
First, a call to abort() is not a GPF: it's not an interrupt from the kernel or
the OS, it's just an explicit (albeit brutal) way to exit from an application.
There is no potential back door here.
Then, the Fatal Python error: line
STINNER Victor victor.stin...@haypocalc.com added the comment:
Finally, the fix you suggest would be applicable if python
used WriteConsole or WriteFile... but it does not! It uses
the write() function, which probably calls WriteConsole
or WriteFile at some point, but does not take unicode
Petri Lehtinen pe...@digip.org added the comment:
Charles-François Natali wrote:
I agree with Antoine - it's a simple bug
Alright, in that case I agree (I thought this was considered as a
security issue).
Yes. The problem is that cleanup() does not delete the temporary
directory but
Karl Johan Kleist karl.jo...@kleist-it-consulting.de added the comment:
If it could be of interest to anybody:
When running make test after building Python 2.7.2, I get the error message
1 test failed: test_uuid.
uname -a
Linux h1488277 2.6.18-028stab091.2 #1 SMP Fri Jun 3 00:02:40 MSD 2011
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
What is the output of this command?
./python -m test.regrtest -v test_uuid
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3581
Changes by Petri Lehtinen pe...@digip.org:
Removed file: http://bugs.python.org/file22756/c_format_bytearray.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12380
___
Changes by Petri Lehtinen pe...@digip.org:
Removed file: http://bugs.python.org/file22757/c_format_buffer.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12380
___
Petri Lehtinen pe...@digip.org added the comment:
Updated the bytearray patch to change documentation and add tests.
--
Added file: http://bugs.python.org/file22764/c_format_bytearray.patch
___
Python tracker rep...@bugs.python.org
Karl Johan Kleist karl.jo...@kleist-it-consulting.de added the comment:
== CPython 2.7.2 (default, Jul 26 2011, 12:29:47) [GCC 4.2.1 (SUSE Linux)]
== Linux-2.6.18-028stab091.2-i686-athlon-with-SuSE-10.3-i586 little-endian
== /home/kjk/local/src/Python-2.7.2/build/test_python_18037
Testing
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
hum, maybe an issue with the MAC address of your virtual server? What do you
get if you run:
ifconfig -a | grep -i -e hwaddr -e ether
--
___
Python tracker rep...@bugs.python.org
Karl Johan Kleist karl.jo...@kleist-it-consulting.de added the comment:
/sbin/ifconfig -a | grep -i -e hwaddr -e ether
venet0Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
venet0:0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
Simon Buchan simon.buchan...@gmail.com added the comment:
Confirming this patch fixes the test_aynsc* tests in my VS10 build. Shouldn't
it swap all WSA* defines to protect against this in the future, though?
Alternatively, should the check for WSA* codes existing be in Lib\asyncore.py?
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Well, without a valid MAC address the function cannot work...
On the other hand, I would not worry too much: uuid._ifconfig_getnode() is an
internal function; and since all the other tests pass, uuid.getnode() probably
has other ways
Changes by Éric Araujo mer...@netwok.org:
Added file: http://bugs.python.org/file22765/900df5732f93.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10639
___
Éric Araujo mer...@netwok.org added the comment:
Thanks for your work. The generated patch is for some reason unreadable, so I
looked at the changeset on Bitbucket. It looks good, except that a new option
would have to be 3.3-only, whereas the bug could be fixed in 2.7 and 3.2 too.
If it’s
Éric Araujo mer...@netwok.org added the comment:
Your tests contain this:
+sys.path.append(source)
When using regrtest (see http://docs.python.org/devguide/runtests#running),
you’ll get a warning that test_packaging altered sys.path. Your code should
make sure sys.path is restored
Changes by Ezio Melotti ezio.melo...@gmail.com:
Removed file: http://bugs.python.org/file22765/900df5732f93.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10639
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
Added file: http://bugs.python.org/file22766/900df5732f93.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10639
___
Jason R. Coombs jar...@jaraco.com added the comment:
No problem. I'll rebase and push the current patch as-is, and then backport to
3.2 and 2.7 without the option (just raising the error when mixed newlines are
encountered).
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
If this changeset is acceptable, I will push the revisions to the
master repo.
I'll rebase and push the current patch as-is,
What repo are you talking about, BTW? The developers list in the devguide does
not contain your name, so I assume
Changes by Éric Araujo mer...@netwok.org:
--
hgrepos: +47
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12614
___
___
Python-bugs-list mailing
Éric Araujo mer...@netwok.org added the comment:
Roundup can’t connect with SSH, it needs a public HTTP URI. The one I added
requires authentication, can you fix that?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12614
Éric Araujo mer...@netwok.org added the comment:
File looks good, although I’m not sure about the “Copyright 2006 Georg Brandl”
line. I also don’t know if stable branches can get this fix.
--
___
Python tracker rep...@bugs.python.org
Peter Bumbulis pbumbu...@gmail.com added the comment:
proxy_bypass_registry in urllib.py does not handle the ProxyOverride registry
value properly: it treats an empty override as *, i.e. bypass the proxy for
all hosts. This behavior does not match other programs (e.g. Chrome) and can
be
Bruce Ferris bferri...@bferris.co.uk added the comment:
Victor, thanks for replying and I've had a quick read of everything that went
on for issue #1602. I think there's some misunderstanding in what I'm saying
here. Maybe this will help clear up what I'm saying...
D:\chcp
Active code
Jason R. Coombs jar...@jaraco.com added the comment:
I assume you’re not talking about hg.python.org/cpython?
My name appears as jason.coombs. But your note does remind me that I need to
review the devguide, since it's been a while since I've pushed something. I may
also look into
Éric Araujo mer...@netwok.org added the comment:
Okay, I hadn’t seen you in http://docs.python.org/devguide/developers and I
don’t recall the URI of the generated file with all names. I’ve asked that
your Roundup profile be updated so that you get the Python icon and the
possibility to be
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12345
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file22397/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12345
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
All I'm trying to do is run different versions of Python on the same machine
from the command line.
Some code inside Python now break if Python 3.1 is started with Code Page
65001.
Yes, this issue can be seen as a regression
Changes by Éric Araujo mer...@netwok.org:
--
assignee: eric.araujo - jason.coombs
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10639
___
Éric Araujo mer...@netwok.org added the comment:
Windows file associations are so disfunctional that you should not
depend on them being anything in particular.
Ah. Do you think I should revert the change I did for distutils docs to
recommend running “setup.py spam”? I followed the opinion
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +jason.coombs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1626300
___
___
Python-bugs-list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 070dc6e359fb by Jason R. Coombs in branch '3.2':
Fixes #10639: reindent.py should not convert newlines
http://hg.python.org/cpython/rev/070dc6e359fb
New changeset 826a0208d143 by Jason R. Coombs in branch 'default':
Jason R. Coombs jar...@jaraco.com added the comment:
I've stripped the undesirable revisions and updated the bitbucket repo so it
now contains three changesets for Python 3.2 and 3.3 and suggested.
I don't believe running the test suite is relevant, as I grepped the test suite
for reindent,
Éric Araujo mer...@netwok.org added the comment:
I've stripped the undesirable revisions and updated the bitbucket repo
so it now contains three changesets for Python 3.2 and 3.3 and
suggested.
hg diff combined with hg import can help you flatten a series of changeset into
one.
I don't
Jason R. Coombs jar...@jaraco.com added the comment:
Script run without extensions when run with an explicit python
command.
Like “python.exe setup” when the file really is setup.py? I’d
never have guessed that.
No. Python.exe expects the full path. The only way to execute scripts
Марк Коренберг socketp...@gmail.com added the comment:
In my case, exception occured in separate thread between the begginig of the
thread and starting loop.
Main thread has a code that correctly stops that separate thread. It just calls
loop_thread.server.server_close() and after that, calls
Antoine Pitrou pit...@free.fr added the comment:
In my case, exception occured in separate thread between the begginig
of the thread and starting loop.
Main thread has a code that correctly stops that separate thread. It
just calls loop_thread.server.server_close() and after that, calls
Марк Коренберг socketp...@gmail.com added the comment:
Why you create variable mirror?
--
self.__running = False
self.__is_shut_down.set()
--
You other code is racy. exception may occur at any time.
Why not to test state of __is_shut_down
Марк Коренберг socketp...@gmail.com added the comment:
class ThreadedRPC(Thread, SimpleXMLRPCServer):
def __init__(self):
Thread.__init__(self)
SimpleXMLRPCServer.__init__(self)
# python bug workaround, which eliminate hang on test_exception
Jason R. Coombs jar...@jaraco.com added the comment:
What do you think about this:
https://bitbucket.org/jaraco/cpython-issue10639/changeset/ea63310dddce
The patch is a little more intrusive than the Python 3 patch because Python 2.7
doesn't allow specifying the newline to use when writing a
Ruben Van Boxem vanboxem.ru...@gmail.com added the comment:
I can confirm the option has been removed. For those that don't want to believe
a random person's comment on a bugtracker, here's the commit:
http://repo.or.cz/w/official-gcc.git/commit/2637551aa9314c46cf4205d435ab5e8944e9ac8a
The
Kevin Stock teo...@gmail.com added the comment:
A workaround is to call close() after feed(), which I supposed I should have
done anyways. However, this does not resolve the issue that the two cases
behave so differently.
The code that causes the difference is lines 351-355 of parser.py,
Terry J. Reedy tjre...@udel.edu added the comment:
I believe I meant that 'python setup' works when the script is named 'setup'.
Which is to say, python does not require scripts to have an extension, as
someone had thought in writing a patch.
--
Terry J. Reedy tjre...@udel.edu added the comment:
I do not know why the msi installer *silently* fails to properly register
extensions even when I leave that checked, or how common that it. I have never
looked into the issue more because for development, I prefer to run from an
IDLE window
Charles-François Natali neolo...@free.fr added the comment:
Fortunately, it is easy to solve by defining the following in
dlmalloc:
#define HAVE_MORECORE 0
I was expecting this answer ;-)
Here's a quick demo, on a Linux box:
cf@neobox:~/cpython$ ./python Tools/pybench/pybench.py -n 1
Antoine Pitrou pit...@free.fr added the comment:
[...]
# note, thread may die in any time! regardles of isAlive()
# if thread dead before calling serve_forever(), will hang here without a
workaround
rpc.shutdown() # from xmlrpcservr.
Why do you say it hangs? It doesn't hang,
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: -pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10639
___
___
Python-bugs-list mailing
phep patrice.pil...@teletopie.net added the comment:
Hi,
This was test code :-/. It was not under revision control and
unfortunately, as I feared then, it turned out I had to stop
working shortly after my last message on the low-priority
project that made me report this issue .
Yet, I have a
Charles-François Natali neolo...@free.fr added the comment:
If someone suggests how to test for the Windows version, I'll update
the patch, also to remove the issue reference from the code.
Well, I don't know Windows, but there's platform.win32_ver()
Changes by Ned Deily n...@acm.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8746
___
___
Python-bugs-list mailing list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset ca236138f0ce by Ned Deily in branch '2.7':
Issue #8746: Use tempfile module to get tempdir and randomize the
http://hg.python.org/cpython/rev/ca236138f0ce
New changeset 4e4554aa1453 by Ned Deily in branch '3.2':
Antoine Pitrou pit...@free.fr added the comment:
You can simply use support.skip_unless_symlink().
Charles-François Natali neolo...@free.fr added the comment:
If someone suggests how to test for the Windows version, I'll update
the patch, also to remove the issue reference from the code.
New submission from Jann Eike Kruse pyt...@jannkruse.de:
The documentation page
http://docs.python.org/release/2.6.6/library/functions.html?highlight=open#open
describes the open() built-in function as
open(filename[, mode[, bufsize]])
but the Python interpreter complains:
Python
Charles-François Natali neolo...@free.fr added the comment:
When you join a thread which hasn't been started, you get an
exception, not a deadlock.
When you join a newly-created queue, it doesn't wait until an item is
submitted to the queue.
But honestly I don't really care, since it's such a
Changes by Dustin Haffner nit...@gmail.com:
--
nosy: +dhaffner
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12063
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
When you join a thread which hasn't been started, you get an
exception, not a deadlock.
But we don't have a deadlock here: another thread could perfectly well
call serve_forever() in the meantime and shutdown() should then return
after having
phep patrice.pil...@teletopie.net added the comment:
Oh, my...
As we are working with python2.6 on our servers, I overlooked the fact that
tempfile.NamedTemporaryFile was already used in python 3 (fixed in r57595, with
not many explanations though).
Yet, the problem with short length files
phep patrice.pil...@teletopie.net added the comment:
I got my head in a brown paper bag
This is obviously not fixed... except in a locally edited checkout :-(
Please be kind to the tired me, forget my last message and don't talk about
this to my boss, will you ?
It's closing time,
R. David Murray rdmur...@bitdance.com added the comment:
The docs are correct in Python3.
The docs for Python2 are not *wrong*, since they indicate only positional
parameters and if you use positional parameters it works as documented. (I'm
surprised that using keyword arguments works, but I
STINNER Victor victor.stin...@haypocalc.com added the comment:
i12607_v2.patch: the test fails if Python is compiled with pydebug. Add err =
support.strip_python_stderr(err) before self.assertEqual(err, berr) in
test_subprocess.py to fix the failure.
--
versions: -Python 2.6, Python
Stefan Krah stefan-use...@bytereef.org added the comment:
The Fedora bot fails because here ...
locale.setlocale(locale.LC_CTYPE, loc)
loc = ('tr_TR', 'ISO8859-9'), and apparently setlocale can only
handle tr_TR, but not tr_TR.ISO8859-9:
144 if (locale) {
145 /* set
Stefan Krah stefan-use...@bytereef.org added the comment:
Stefan Krah rep...@bugs.python.org wrote:
(gdb) p result = setlocale(category, tr_TR.ISO8859-9)
$8 = 0x0
(gdb) p result = setlocale(category, tr_TR)
$9 = 0x96d770 tr_TR
(gdb) p locale
$10 = 0x70f6a5b0 tr_TR.ISO8859-9
(gdb)
STINNER Victor victor.stin...@haypocalc.com added the comment:
select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum) raises a
OverflowError('signed integer is greater than maximum') on a 64 bits system.
select.kevent() constructor parses the 4th argument using i (an int):
sys.maxsize doesn't
Antoine Pitrou pit...@free.fr added the comment:
Stefan Krah rep...@bugs.python.org wrote:
(gdb) p result = setlocale(category, tr_TR.ISO8859-9)
$8 = 0x0
(gdb) p result = setlocale(category, tr_TR)
$9 = 0x96d770 tr_TR
(gdb) p locale
$10 = 0x70f6a5b0 tr_TR.ISO8859-9
(gdb)
STINNER Victor victor.stin...@haypocalc.com added the comment:
OpenBSD has a patch for this issue:
http://www.openbsd.org/cgi-bin/cvsweb/ports/lang/python/2.7/patches/patch-Modules_selectmodule_c
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
patch-Modules_selectmodule_c is not enough to fix kqueue_event_init(): it
doesn't catch overflow error on the ident attribute.
--
___
Python tracker rep...@bugs.python.org
Changes by Senthil Kumaran sent...@uthcode.com:
--
assignee: - orsenthil
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12480
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Yes, it's a bug. This works:
#include stdio.h
#include locale.h
int
main(void)
{
char *s;
printf(%s\n, setlocale(LC_CTYPE, tr_TR.ISO8859-9));
printf(%s\n, setlocale(LC_CTYPE, NULL));
s = setlocale(LC_CTYPE,
Changes by Miki Tebeka miki.teb...@gmail.com:
--
hgrepos: +48
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12614
___
___
Python-bugs-list mailing
Changes by Miki Tebeka miki.teb...@gmail.com:
--
hgrepos: +49
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12614
___
___
Python-bugs-list mailing
Dan Colish dcol...@gmail.com added the comment:
I can also confirm this patch is required to build py2cairo on OSX with
Python2.7.2 when --enable-framework is not used.
--
nosy: +dcolish
___
Python tracker rep...@bugs.python.org
Miki Tebeka miki.teb...@gmail.com added the comment:
My bad about the hg location, it was a private repo (for some reason this is
the bitbucket default).
I tried to remove the other repos, but for some reason this doesn't work. The
right one is
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 9eac48fbe21d by Senthil Kumaran in branch '3.2':
Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or
obsfuscates) Connection: Close header.
http://hg.python.org/cpython/rev/9eac48fbe21d
New
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 73ae3729b8fe by Ned Deily in branch '2.7':
Issue #12590: IDLE editor window now always displays the first line
http://hg.python.org/cpython/rev/73ae3729b8fe
New changeset 1c8aca41845c by Ned Deily in branch '3.2':
Ned Deily n...@acm.org added the comment:
Thanks for the report and the cite.
The problem appears to be a difference in behavior between Tk 8.5 and earlier
versions of Tk and not a platform difference. The fix is to use that 'yview'
method of Text instead of 'see'. That gives the expected
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset d58b43fb9208 by Senthil Kumaran in branch '3.2':
Correcting issue 12576 fix, which resulted in buildbot failures.
http://hg.python.org/cpython/rev/d58b43fb9208
New changeset dcfce522723d by Senthil Kumaran in branch
Simon Forman forman.si...@gmail.com added the comment:
You're very welcome.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12590
___
___
Matt Basta bastaw...@gmail.com added the comment:
The number of problems produced by this bug can be greatly reduced by adding a
relatively small check to the parser. Currently, script and style tags call
set_cdata_mode(), which sets self.interesting to HTMLParser.interesting_cdata.
This is
Changes by Eli Bendersky eli...@gmail.com:
--
nosy: +eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12642
___
___
Python-bugs-list
Brian Curtin br...@python.org added the comment:
How about something like this?
ImportError moves from being a simple exception to a complex one, then adds
a name and path attribute. In dynload_win.c where we try (and fail) to load
C extensions, the name and path are set on the ImportError.
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 1140b32747c9 by Ross Lagerwall in branch '3.2':
Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr is
http://hg.python.org/cpython/rev/1140b32747c9
New changeset 943d323cb4b8 by Ross Lagerwall
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 5da7924c4775 by Ezio Melotti in branch '2.7':
#12642: fix args names in open() doc.
http://hg.python.org/cpython/rev/5da7924c4775
--
nosy: +python-dev
___
Python tracker
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed, thanks for the report!
--
nosy: +ezio.melotti
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Nick Coghlan ncogh...@gmail.com added the comment:
See also #1559549, which similarly adds attribute support to ImportError and
covers some of the issues with using positional arguments to do so.
Extending that approach to a path keyword argument as well should work nicely.
--
90 matches
Mail list logo