anatoly techtonik techto...@gmail.com added the comment:
And how do you intend to parse the dictionary stored in external file?
Evaluating this script is unsafe.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11129
Changes by anatoly techtonik techto...@gmail.com:
--
type: - security
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11129
___
___
Mark Dickinson dicki...@gmail.com added the comment:
I'd call this a bug, albeit a minor one. The documentation for 'int' says:
If the argument is outside the integer range a long object will be returned
instead.
... which certainly suggests (without actually formally implying) that an int
New submission from Pham Cong Dinh pcd...@gmail.com:
Quite often, I got the following message printed out the console while I run my
Python script
pthread_cond_signal: Undefined error: 0
Or it crashed
https://gist.github.com/799841
Tested with Python 2.6.1 and 2.6.6 (Mac)
What I am trying
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
The logging package will not parse any external file to get a dictionary. It's
up to the application developer to provide a dictionary which will be used for
configuration, so there's no security issue in the stdlib.
--
type:
New submission from Ismail Donmez ism...@namtrac.org:
clang (as with gcc 4.x) assumes signed integer overflow is undefined. But
Python depends on the fact that signed integer overflow wraps.
Currently configure script adds -fwrapv flag for GCC (added by me back in the
day), same should be
STINNER Victor victor.stin...@haypocalc.com added the comment:
You should maybe add a test into _testcapi for this issue.
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11149
Ismail Donmez ism...@namtrac.org added the comment:
Currently test_overflow inside test_list fails without this patch. Is that good
enough or should we create a specific test?
--
___
Python tracker rep...@bugs.python.org
New submission from Yegor Bugayenko t...@fazend.com:
I'm trying to install Python EGG with `easy_install`, providing a URL of
Subversion repository, where sources are hosted:
$ easy_install svn://user:sec...@svn.example.com/repo/trunk/my-egg
Authentication realm:
STINNER Victor victor.stin...@haypocalc.com added the comment:
Ah, there is already a test for that: ok, it's fine and enough.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11149
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8978
___
New submission from Noufal nou...@nibrahim.net.in:
The documentation for the types module seems to have an obvious bug. The
arguments to create the various types are not mentioned in the docs page on
http://docs.python.org/library/types.html
This came to my attention from a stack overflow
Michael Foord mich...@voidspace.org.uk added the comment:
Care to provide a patch Noufal?
--
nosy: +michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11151
___
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: - ronaldoussoren
components: +Macintosh
nosy: +ned.deily, ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11148
___
Changes by Antoine Pitrou pit...@free.fr:
--
components: +Interpreter Core
nosy: +jyasskin
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11147
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
Can you provide a script that shows the problem? Without such a script it will
be hard to reproduce, and fix, this problem.
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
easy_install is not part of python. Please report this to the easy_install bug
tracker instead.
--
nosy: +r.david.murray, tarek
resolution: - later
stage: - committed/rejected
status: open - closed
Eric Smith e...@trueblade.com added the comment:
Without guessing which args are options, I don't see how it's possible to
implement parse_known_args().
I'd propose raising an exception if it's called and
dont_assume_everything_that_looks_like_a_flag_is_intended_to_be_one (or
whatever it
New submission from labem la...@e-i.com:
Detected in Python version:
Python 2.6.3 (r263rc1:75186, Oct 2 2009, 20:40:30) [MSC v.1500 32 bit (Intel)]
on win32
Error in zipfile module: Zip files with no compressed files may contain only
[end of central directory record] bloc
without anything
I have 2 new work pc's, one desktop and one laptop and both have Win7 64 bit.
I get very frequent editing errors in Idle editor on these systems. The most
frequent error is
pasting text into two locations, the one targeted and the other one randomly
somewhere else in the file.
This happens on
Don Dwiggins ddwigg...@advpubtech.com added the comment:
I have no pressing need for it. I'm happy enough with Martin's idea of
single-use instances, as long as they're clearly documented as such, and don't
pretend to work for a subsequent connect. I'd also be happy with instances
that
Brett Cannon br...@python.org added the comment:
Updated patch that applies cleanly.
--
Added file: http://bugs.python.org/file20718/issue10990.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10990
Changes by Brett Cannon br...@python.org:
Removed file: http://bugs.python.org/file20620/issue_10990.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10990
___
Brett Cannon br...@python.org added the comment:
I am using LLVM/Clang 2.8 and test_list passes fine for me as-is. Does it only
fail under 32 or 64-bit conditions? Configure compiles under 32-bits for me
even though I have -arch x86_64 set.
--
nosy: +brett.cannon
Ismail Donmez ism...@namtrac.org added the comment:
This is only reproducable with clang 2.9 trunk builds due to new optimizations.
Also note that clang commits confirm that -fwrapv must be provided if you
assume signed integer overflow wraps. This was also the case with a spec test.
I tested
Terry J. Reedy tjre...@udel.edu added the comment:
I can see how a comment like /* spam = eggs + ham */ could be useful, but and
isolated /* foo = 0 */ where 'foo' appears nowhere else in the file seems more
like confusing noise.
--
___
Python
Brett Cannon br...@python.org added the comment:
You're right, Terry. It's a judgment call as to what should be simply deleted
compared to commented out.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10951
Sridhar Ratnakumar sridh...@activestate.com added the comment:
There is a bug with the patch. The first argument to the `start` command, if a
quoted string, becomes the Window title, not the command to execute. Hence,
idle.pyw is directly executed by Windows. Here's the correct command line:
Brian Curtin cur...@acm.org added the comment:
We're only a few days away from 3.2 final so it's too late. Once it goes out
I'll make the adjustment and it'll be in 3.2.1.
--
resolution: fixed -
stage: committed/rejected - patch review
status: pending - open
Martin v. Löwis mar...@v.loewis.de added the comment:
I'd call this a bug, albeit a minor one. The documentation for 'int' says:
If the argument is outside the integer range a long object will be returned
instead.
Ah ok. I agree it's a bug, then.
--
New submission from Matthew M. Boedicker matth...@boedicker.org:
I am working with a web server that does not quote the realm in the
WWW-Authenticate header.
This patch will make the realm parsing handle unquoted realm as well as some
other invalid variations.
I tried doing it by modifying
Changes by Matthew M. Boedicker matth...@boedicker.org:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11153
___
___
Christoph Gohlke cgoh...@uci.edu added the comment:
Curses binaries for Python 2.5, 2.6, 2.7, 3.1 and 3.2, win32 and win-amd64, are
available at http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses.
--
___
Python tracker rep...@bugs.python.org
Oren Held o...@held.org.il added the comment:
quick update: libffi (upstream) has this fixed now in git commit dc411e8f991 .
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10800
___
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report and patch (I think SilentGhost’s version is better). Do
you have any pointer about those .nfs* files? Are there other (build) tools
that ignore them? Is it always safe to skip .nfs* files, or only .nfs?
(i.e. six
New submission from Raymond Hettinger rhettin...@users.sourceforge.net:
It would be great if the __pycache__ name could be set by an environment
variable. I would like to rename it to .pycache so that it doesn't pollute
my directory listings.
--
assignee: barry
messages: 128194
nosy:
Sandro Tosi sandro.t...@gmail.com added the comment:
On Tue, Feb 8, 2011 at 23:40, Éric Araujo rep...@bugs.python.org wrote:
Éric Araujo mer...@netwok.org added the comment:
Do you have any pointer about those .nfs* files? Are there other (build)
tools that ignore them? Is it always safe
Éric Araujo mer...@netwok.org added the comment:
The doc for %o only says it returns the “signed octal value”; __oct__ is not a
magic method (i.e. it’s not a name with special meaning), converting with oct()
actually uses __index__.
--
nosy: +eric.araujo
Éric Araujo mer...@netwok.org added the comment:
Remember that the types module is mostly obsolete now: a type like IntType is
described as alias for the builtin int, with a link to the comprehensive
document of said int.
(On an unrelated note, the types module may encourage type-checking,
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +alanmcintyre
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11152
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
stage: - test needed
type: crash - behavior
versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11152
Sandro Tosi sandro.t...@gmail.com added the comment:
Hi all,
I was looking at this issue and thought: ok the module documentation uses
send() not correctly, so we should fix that; the fastest solution is using
sendall().
But then searching fro some examples in the code on internet, I found
Kevin Le solno...@gmail.com added the comment:
confirmed, I'll take a closer look
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue940286
___
___
New submission from Erik Cederstrand e...@1calendar.dk:
In Python 2.6.6 on OSX:
import inspect
from multiprocessing import Queue
q = Queue()
print(inspect.getargspec(q.put))
ArgSpec(args=['self', 'obj', 'block', 'timeout'], varargs=None, keywords=None,
defaults=(True, None))
from Queue
Westley Martínez aniko...@gmail.com added the comment:
I've gone through Lib/multiproccing/queues.py and have replaced obj with item.
Here's the patch.
--
keywords: +patch
nosy: +anikom15
Added file: http://bugs.python.org/file20720/multiprocessing-11155.diff
Changes by Jonathan Beezley jon.beez...@gmail.com:
--
nosy: +jbeezley
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4681
___
___
Python-bugs-list
New submission from Yves Dorfsman y...@zioup.com:
email.encoders.encode_base64 returns a str of a single long line instead of
breaking it up into 76 chars line as per RFC 2045, and as implemented by
email.base64mime.
Solution:
In /usr/lib/python3.1/email/encoders.py, use encodebytes instead
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Here's a revised version of bz2-v3.diff, with docstrings that are more
consistent with the updated documentation.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5863
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Weird, the patch didn't upload...
--
Added file: http://bugs.python.org/file20721/bz2-v3b.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5863
New submission from Марк Коренберг socketp...@gmail.com:
socket.accept() should have optional argument flags. see 'man accept4'
It should use fcntl() if accept4() not supported.
This is performance issue.
--
components: IO, Library (Lib)
messages: 128205
nosy: mmarkk
priority: normal
50 matches
Mail list logo