Zbyszek Szmek zbys...@in.waw.pl added the comment:
What system and version are you running?
Linux (debian amd64), Python is compiled from hg (1ea8b7233fd7).
The error directly comes from textwrap. In the other hand,
textwrap.wrap works with widths down to 1 (on 3.2.2), which suggests
Terry J. Reedy tjre...@udel.edu added the comment:
I am not setting columns, so that might be the important difference.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13720
___
Zbyszek Szmek zbys...@in.waw.pl added the comment:
I am not setting columns, so that might be the important difference.
Yeah, the whole example with IDLE is moot: argparse only checks
$COLUMNS and defaults to 80, so if COLUMNS is not set, you are only
checking if the code works with 80 columns.
Ronald Oussoren ronaldousso...@mac.com added the comment:
He's probably referring to this fragment in setup.py:
if platform == 'darwin':
# This should work on any unixy platform ;-)
# If the user has bothered specifying additional -I and -L flags
#
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13724
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
Now I get error, even with Window actually about 100 columns wide.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13720
___
New submission from Erno Tukia erno.tu...@iki.fi:
./python -m test --help
-d/--debug -- print traceback for failed tests
./python -m test -d test_imaplib
option -d not recognized
Use --help for usage
Patch included.
--
components: Tests
files: regrtest-debug.patch
keywords: patch
Nick Coghlan ncogh...@gmail.com added the comment:
I believe the current check_chown could be passed by a no-op (since the file
will be owned by the current user even *before* the call to chowntree). Testing
this properly is actually rather difficult (since the only uid and gid we can
rely on
New submission from Erno Tukia erno.tu...@iki.fi:
./python -m test --help
-S/--slow -- print the slowest 10 tests
-S is used to continue running tests after an aborted run. It will
maintain the order a standard run (ie, this assumes -r is not used).
This is useful after the tests have
Georg Brandl ge...@python.org added the comment:
I would make comments out of the XXX, and if a whole section is just that XXX,
remove the section as well.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
Hynek Schlawack h...@ox.cx added the comment:
What's the current state here? Anyone working on a solution or are we waiting
how http://hg.python.org/features/pathlib/ will work out?
If the consensus is to add a generic walker method, wouldn't be appropriate to
open a new bug and add it as
Marc-Andre Lemburg m...@egenix.com added the comment:
Paul McMillan wrote:
I'll upload a patch that demonstrates the collisions counting
strategy to show that detecting the problem is easy. Whether
just raising an exception is a good idea, is another issue.
I'm in cautious agreement that
New submission from Amaury Forgeot d'Arc amaur...@gmail.com:
All objects of the datetime module have macros to access their properties,
except timedelta.
This simple patch adds the macros PyDateTime_DELTA_GET_DAYS,
PyDateTime_DELTA_GET_SECONDS, PyDateTime_DELTA_GET_MICROSECONDS; module
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report, but 3.1 does not get bug fixes any more. Maybe Benjamin
would like to add a regression test for this, so I’m leaving the decision to
close this report to him.
--
nosy: +benjamin.peterson, eric.araujo
Éric Araujo mer...@netwok.org added the comment:
These are the XXX:
XXX true? does ANSI say anything about this?
XXX defaults to what?
XXX see also.
XXX see also.
XXX see also.
XXX see also.
XXX see also.
The first two are questions that can be answered, and when I research them
Éric Araujo mer...@netwok.org added the comment:
I’m interested in this, so I’m taking assignment. If a contributor is
interested in making a patch I’ll review it, otherwise I’ll say when I start on
a patch.
--
assignee: - eric.araujo
keywords: +easy
Georg Brandl ge...@python.org added the comment:
Agreed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13716
___
___
Python-bugs-list mailing
Florent Xicluna florent.xicl...@gmail.com added the comment:
The proposed solution is ok.
It sounds like unfinished documentation when you hit an XXX.
For the /dev/ documentation, it's OK, but for the released version, we should
avoid it.
--
___
New submission from Sandro Tosi sandro.t...@gmail.com:
Hi,
looking at http://mail.python.org/pipermail/docs/2011-December/006672.html I
tried to replicate what the user said, and *it seems* that -c and -m doesn't
add the current directory to the start of sys.path:
$ echo -e import sys\nprint
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12989
___
___
Python-bugs-list
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13692
___
Charles-François Natali neolo...@free.fr added the comment:
Alright, Nick agreed on python-dev to remove the logging hack.
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13550
New submission from Sandro Tosi sandro.t...@gmail.com:
Hello, following up
http://mail.python.org/pipermail/docs/2011-December/006782.html , I'm opening
this issue to have others confirmation of what's happening:
echo -e def ev(r):\nprint(r)\nreturn r\n\n{ev(1): ev(2), ev(3):
ev(4)}
Éric Araujo mer...@netwok.org added the comment:
haypo’s threading_note_global looks good to me. The only thing I’m not sure
about is the signature change from X(verbose, *args, **kwargs) to X(*args,
**kwargs): is it okay?
(BTW you probably want to delete the obsolete reference to ihooks in
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13609
___
___
Python-bugs-list
Aaron Maenpaa aa...@maenpaa.ca added the comment:
This patch fixes the rzinfo typo as well as the GMT2 issue (GMT +2 should
behave exactly the same as GMT +1 with regards to DST, it's base offset should
simply be +2 hours instead of +1).
This does not; however, address the comment about the
Aaron Maenpaa aa...@maenpaa.ca added the comment:
Looks like the issue of the first line of utcoffsect was also raised in issue
8810.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13666
Stephen Kelly steve...@gmail.com added the comment:
Patch looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13666
___
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset eb39d862a250 by Charles-François Natali in branch '3.2':
Issue #13502: threading: Fix a race condition in Event.wait() that made it
http://hg.python.org/cpython/rev/eb39d862a250
New changeset 0fe63bb20e74 by
Antoine Pitrou pit...@free.fr added the comment:
What's the current state here? Anyone working on a solution or are we
waiting how http://hg.python.org/features/pathlib/ will work out?
Well, I am not working on that one, so waiting for it to work out might
be optimistic :)
I don't know what
Aaron Maenpaa aa...@maenpaa.ca added the comment:
Here is a patch that adds an explination for the difference in the behaviour to
the FAQ section of the Decimal documentation.
--
keywords: +patch
nosy: +zacherates
Added file: http://bugs.python.org/file24162/issue12005.diff
Charles-François Natali neolo...@free.fr added the comment:
I noticed that if bind() fails (in this case with EADDRINUSE), the
socket isn't closed (FD leak).
Here's a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file24163/connection_error.diff
New submission from Aaron Maenpaa aa...@maenpaa.ca:
In the sentance: In contrast, numbers like 1.1 and 2.2 do not have an exact
representations in binary floating point. there is a mismatch in number
between an and representations. I suggest removing an to make the whole
thing plural.
A
New submission from Aaron Maenpaa aa...@maenpaa.ca:
The paragraph: The exactness carries over into arithmetic. In decimal floating
point, 0.1 + 0.1 + 0.1 - 0.3 is exactly equal to zero. In binary floating
point, the result is 5.5511151231257827e-017. While near to zero, the
differences
Changes by Charles-François Natali neolo...@free.fr:
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13502
Benjamin West bew...@gmail.com added the comment:
Thanks Eric. I was thrown by this document: http://wiki.python.org/moin/Git
which describes fetching the sources from SVN using git. I'm comfortable doing
either, but it doesn't resolve my confusion.
The version of argparse in the python
Benjamin West bew...@gmail.com added the comment:
Thanks Eric. I was thrown by this document: http://wiki.python.org/moin/Git
which describes fetching the sources from SVN using git. I'm comfortable doing
either, but it doesn't resolve my confusion.
The version of argparse in the python
New submission from Charles-François Natali neolo...@free.fr:
Commit 57295c4d81ac879dd2d804190b38b2e91f934acd broke Windows buildbots:
==
ERROR: test_rotator (test.test_logging.RotatingFileHandlerTest)
Aaron Maenpaa aa...@maenpaa.ca added the comment:
Here's a patch that makes the WWW-Authenticate headers in howto/urllib2 agree
with rfc2617.
--
keywords: +patch
nosy: +zacherates
Added file: http://bugs.python.org/file24166/issue13587.diff
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: docs@python - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13731
___
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
I'm sorry but I think the current wording is better that your proposed revision.
When I get a chance, I'll revisit it to see if I can find another way to
improve the text.
--
priority: normal - low
Benjamin West bew...@gmail.com added the comment:
Ok, here's a rough attempt at stubbing this out against a python checkout.
Will try to look at adding tests.
(BTW, subsequent GETs should not modify the bug tracker... this seems like a
bug since GET should be idempotent, but SFTN from the
Benjamin West bew...@gmail.com added the comment:
Ok, here's a rough attempt at stubbing this out against a python checkout.
Will try to look at adding tests.
(BTW, subsequent GETs should not modify the bug tracker... this seems like a
bug since GET should be idempotent, but SFTN from the
Eric Snow ericsnowcurren...@gmail.com added the comment:
see http://docs.python.org/library/sys.html#sys.path
As initialized upon program startup, the first item of this list, path[0], is
the directory containing the script that was used to invoke the Python
interpreter. If the script
Aaron Maenpaa aa...@maenpaa.ca added the comment:
That's fine. I'm not particularly attached to that phrasing.
The one thing I would push for is to add a comma to ... decimal is preferred
in accounting applications which have strict equality invariants.
... since, as far as I can tell, which
Aaron Maenpaa aa...@maenpaa.ca added the comment:
Here is a patch that adds an note about using Locks, RLocks, Conditions, and
Semaphores as context managers to each of their descriptions as well as a link
to the Using locks, conditions, and semaphores in the with statement section.
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
If you can't ascertain the meaning of the sentence, I'll consider making a
change. Itherwise, this appears to have degenerated into trivial
micro-wordsmithing and I'll close this as not being worth consuming any more of
my
Aaron Maenpaa aa...@maenpaa.ca added the comment:
I can understand what was meant. You're welcome to close the issue.
Sorry for the nitpick.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13731
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
No problem. Thanks for showing an interest in the quality of the documentation.
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
This edit looks reasonable.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13050
___
Tim Peters tim.pet...@gmail.com added the comment:
[Marc-Andre]
BTW: I wonder how long it's going to take before
someone figures out that our merge sort based
list.sort() is vulnerable as well... its worst-
case performance is O(n log n), making attacks
somewhat harder.
I wouldn't worry
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 870f8fdfbada by Vinay Sajip in branch 'default':
Closes #13732: now use os.linesep instead of a literal newline.
http://hg.python.org/cpython/rev/870f8fdfbada
--
nosy: +python-dev
resolution: - fixed
stage:
New submission from Paul Smedley p...@smedley.id.au:
Python 2.7.2 fails during compilation on OS/2 with:
File ./setup.py, line 1154, in detect_modules
for arg in sysconfig.get_config_var(CONFIG_ARGS).split()]
AttributeError: 'NoneType' object has no attribute 'split'
make: *** [sharedmods]
Martin gzl...@googlemail.com added the comment:
I built random-2.patch on my windows xp box (updating the project and fixing
some compile errors in random.c required), and initialising crypto has a
noticeable impact on startup time. The numbers vary a fair bit naturally, two
representative
Hynek Schlawack h...@ox.cx added the comment:
What's the current state here? Anyone working on a solution or are we
waiting how http://hg.python.org/features/pathlib/ will work out?
Well, I am not working on that one, so waiting for it to work out might
be optimistic :)
I don't know
New submission from Hynek Schlawack h...@ox.cx:
This is an offspring of #4489 (which is a security bug). The method is AFAIU
intended to be private.
As shown in the discussion of the mentioned #4489, there is a whole family of
attacks that exploit the time window between gathering path names
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
Given Martin's comment (msg150832) I guess I should add my suggestion to this
issue, at least for the record.
Rather than change hash functions, randomization could be added to those dicts
that are subject to attack by wanting to store
Alex Gaynor alex.gay...@gmail.com added the comment:
You're seriously underestimating the number of vulnerable dicts. It has
nothing to do with the module, and everything to do with the origin of the
data. There's tons of user code that's vulnerable too.
--
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
Alex, I agree the issue has to do with the origin of the data, but the modules
listed are the ones that deal with the data supplied by this particular attack.
Note that changing the hash algorithm for a persistent process, even though
Nick Coghlan ncogh...@gmail.com added the comment:
I'm working on a library of general directory walking tools that will hopefully
make their way back into the stdlib at some point
(http://walkdir.readthedocs.org).
They're designed to filter and transform the output of os.walk (and similar
Antoine Pitrou pit...@free.fr added the comment:
I think OS/2 portability fixes should probably target 3.3 instead.
--
nosy: +eric.araujo, loewis, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13733
Paul McMillan p...@mcmillan.ws added the comment:
Alex, I agree the issue has to do with the origin of the data, but the
modules listed are the ones that deal with the data supplied by this
particular attack.
They deal directly with the data. Do any of them pass the data
further, or does
New submission from Kay Hayen kayha...@gmx.de:
Hello,
I am implementing a Python compiler (Nuitka) that is testing if when it
compiles itself, it gives the same output.
I have been using protocol = 0 ever since with pickle module for historic
reasons (gcc bug with raw strings lead me to
Martin v. Löwis mar...@v.loewis.de added the comment:
Paul, can you please elaborate on the patch? The original code looks better to
me than the new code. Why do you think this change is right?
--
___
Python tracker rep...@bugs.python.org
Paul Smedley p...@smedley.id.au added the comment:
I'm building OS/2 python here using configure, etc - without the changes
attached, python would not complete the build.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13733
Benjamin Peterson benja...@python.org added the comment:
Here is a patch. I only dealt with case mappings and not titlecase. Doing
titlecase properly requires word segmentation, which I think should be another
patch/issue. This patch fixes swapcase(), capitalize(), upper(), and lower().
It
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Has there already been done any work? Ross mentioned he wanted to take a stab?
Unfortunately, I'm rather busy at the moment but when I get some free time and
if no one else wants to work on it then I'll take a look.
--
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
[offlist]
Paul, thanks for the enumeration and response. Some folks have more
experience, but the rest of us need to learn. Having the proposal in
the ticket, with an explanation of its deficiencies is not all bad,
however, others can
Christian Heimes li...@cheimes.de added the comment:
Glenn, you have reached a point where you stop bike-shedding and start to troll
by attacking people. Please calm down. I'm sure that you are just worried about
the future of Python and all the bad things, that might be introduced by a fix
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
I don't find a way to delete my prior comment, so I'll add one more
(only). The prior comment was intended to go to one person, but I didn't
notice the From, having one person's name, actually went back to the
ticket (the email address
Changes by Ross Lagerwall rosslagerw...@gmail.com:
--
dependencies: +Add a generic directory walker method to avoid symlink attacks
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4489
___
New submission from Jyotirmoy Bhattacharya jyotir...@jyotirmoy.net:
The documentation for urlopen says that it raises URLError on error.
But there exist error conditions such as a socket timeout or a bad HTTP status
line under which the exception from the underlying library leaks through
Jyotirmoy Bhattacharya jyotir...@jyotirmoy.net added the comment:
A patch to fix this issue. Catches exceptions from underlying libraries and
reraises them as URLError.
I put the class name of the underlying exception in the reason to make it more
descriptive.
--
keywords: +patch
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 26389e9efa9c by Ross Lagerwall in branch '3.2':
Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor.
http://hg.python.org/cpython/rev/26389e9efa9c
New changeset 25f879011102 by Ross Lagerwall in
New submission from Bithin A bithin2...@gmail.com:
I am getting an Django error when I was trying to review a patch. This error
has occurred in the site as the DEBUG mode in the Django settings file is set
to True. It is a security issue and should be set to false. I am attaching the
screen
75 matches
Mail list logo