Changes by Florian Weimer fwei...@redhat.com:
--
nosy: +fweimer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10441
___
___
Python-bugs-list
Changes by Florian Weimer fwei...@redhat.com:
--
nosy: +fweimer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1621
___
___
Python-bugs-list
Changes by Florian Weimer fwei...@redhat.com:
--
nosy: +fweimer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7672
___
___
Python-bugs-list
Changes by Florian Weimer fwei...@redhat.com:
--
nosy: +fweimer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8106
___
___
Python-bugs-list
Changes by Florian Weimer fwei...@redhat.com:
--
nosy: +fweimer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10852
___
___
Python-bugs-list
Changes by Florian Weimer fwei...@redhat.com:
--
nosy: +fweimer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13647
___
___
Python-bugs-list
Changes by Florian Weimer fwei...@redhat.com:
--
nosy: +fweimer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13655
___
___
Python-bugs-list
Changes by Florian Weimer fwei...@redhat.com:
--
nosy: +fweimer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13747
___
___
Python-bugs-list
Changes by Florian Weimer fwei...@redhat.com:
--
nosy: +fweimer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13403
___
___
Python-bugs-list
Florian Weimer added the comment:
OpenSSL cross-version updates are sometimes difficult because they invalidate
certifications. Updating Python to SSLv23 with SSL_OP_NO_SSLv2 is
comparatively easy and also much less riskier.
Shall I submit a patch which changes the default? I would also
Vinay Sajip added the comment:
I'm not sure it's related to #11557 - it's more likely to be my changes last
week to fix #17313, where I changed those tests to add
self.addCleanup(os.remove, 'test.log')
There's also an addCleanup that closes the handler which opens the file, which
should
Roundup Robot added the comment:
New changeset 85325bce9982 by Vinay Sajip in branch 'default':
Issue #17384: Consolidated cleanup operations in tests.
http://hg.python.org/cpython/rev/85325bce9982
--
nosy: +python-dev
___
Python tracker
Antoine Pitrou added the comment:
Florian this was already handled in issue #13636 (changeset f9122975fd80).
--
resolution: - out of date
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 76be5efa0d86 by Eli Bendersky in branch '3.2':
Issue #17378: ctypes documentation fix.
http://hg.python.org/cpython/rev/76be5efa0d86
New changeset 2cd2d8f8f72f by Eli Bendersky in branch '3.3':
Issue #17378: ctypes documentation fix.
Roundup Robot added the comment:
New changeset 2dd77a12e7bf by Eli Bendersky in branch '2.7':
Closing #17378: ctypes documentation fix.
http://hg.python.org/cpython/rev/2dd77a12e7bf
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
Roundup Robot added the comment:
New changeset ca9a85c36e09 by Benjamin Peterson in branch 'default':
fix warning (closes #17327)
http://hg.python.org/cpython/rev/ca9a85c36e09
--
resolution: - fixed
status: open - closed
___
Python tracker
Amaury Forgeot d'Arc added the comment:
The return value for error conditions should be -1.
- typeobject.c checks with 0
- in _iomodule.c, there is == -1
- and pygobject/gobject/gobjectmodule.c just does::
if (...tp_init(...))
PyErr_Print();
--
nosy: +amaury.forgeotdarc
Zbyszek Jędrzejewski-Szmek added the comment:
On Fri, Mar 08, 2013 at 02:30:18PM +, Amaury Forgeot d'Arc wrote:
Amaury Forgeot d'Arc added the comment:
The return value for error conditions should be -1.
- typeobject.c checks with 0
- in _iomodule.c, there is == -1
- and
Changes by karl karl+pythonb...@la-grange.net:
--
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17376
___
___
Python-bugs-list
Éric Araujo added the comment:
Users of the TAR format usually come from UNIX,
so using the same command line options should not be so surprising.
Not sure about that: they could be Python users wanting to unpack a tarball
sdist. That said, there is no harm in being compatible, and I like
Henrik Heimbuerger added the comment:
Brought the ElementTree docs for find(), findtext() and findall() in line with
the default branch (now they are just referencing the methods from Element).
Made the same changes in the method comments of the implementation.
Separate patches for 2.7 and
Henrik Heimbuerger added the comment:
Patch for 3.2.
--
Added file: http://bugs.python.org/file29350/issue11367_branch32.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11367
___
Éric Araujo added the comment:
Text sounds correct to me. It says that imports should happen at the beginning
of a module, and that the names of imported modules are placed in the module
namespace. There is an implicit logical link between the two sentences, and
the wording of “symbol
Éric Araujo added the comment:
Are you offering the module for inclusion in the stdlib?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15873
___
Jeff Knupp added the comment:
I think Piotr's point is the wording of the last sentence is ambiguous. The
second statement reads It is customary *but not required* to place all import
statements at the beginning of a module The third seems to state that
regardless of whether or not you
Piotr Kuchta added the comment:
Jeff, thank you: that was exactly what I wanted to point out. The three
sentences read in order imply that it doesn't matter whether you import a
module at the top level of a script/module or in a function, because the effect
is the same, namely the imported
Éric Araujo added the comment:
It is customary *but not required* to place all import statements at the
beginning of a module The third seems to state that regardless of
whether or not you followed the custom, module names are always placed in
the global symbol table
Yes. Not following
Éric Araujo added the comment:
Ah, we have it: the tutorial distinguishes between “it’s customary to put
imports near the top of the file” vs. “later in the file”, and you interpret it
as “it’s customary to put imports at the module top level” vs. “import in any
scope e.g. functions”. These
Jeff Knupp added the comment:
Of the two different things, the first (the scope of imported names) is never
covered in the documentation. As a result, the text in question seems to imply
an import statement can *only* be in module scope.
From the reader's perspective: If I wanted to import
Éric Araujo added the comment:
Did you get all the review comments? Some of them were made on older versions
of the patch, and don’t seem to be addressed in the latest version. Thanks.
Ankur, could you submit a contributor agreement?
http://www.python.org/psf/contrib/contrib-form/
Piotr Kuchta added the comment:
Eric, when you say 'the tutorial distinguishes between “it’s customary to put
imports near the top of the file” vs. “later in the file”' the last bit is just
your interpretation. The tutorial doesn't say later in the file. Anyway,
'later in the file' does not
Ankur Ankan added the comment:
I am still unclear about the outcomes of the discussion. I am confused which
features need to be kept and which are to be removed.
Ankur, could you submit a contributor agreement?
I will submit it today.
--
___
Chris Adams added the comment:
Ah, that explains it - I'd been hoping based on the re.DEBUG output that the
explicit unicode ranges were preserved.
I found #3511 before opening this one but don't believe the decision should be
the same since this isn't a mixed numeric/alphabetic range.
Giampaolo Rodola' added the comment:
Because offsets can be negative
On Linux (and presumably on all POSIX platforms) passing a negative offset
results in EINVAL.
In that case, there's a problem with the patch, since select can block
arbitrarily long because it doesn't take the socket
Giampaolo Rodola' added the comment:
A much larger patch which should address all issues is in attachment.
Updates:
- use poll() instead of select() whenever possible
- take socket timeout into account
- take SSL/FTPS into account
- when using select() look for EMFILE in case num fds
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13564
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
Removed file: http://bugs.python.org/file18647/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9686
___
Ismail Donmez added the comment:
We are now hitting this on openSUSE 12.3, here is the relevant log (ignore the
timestamps) :
[ 1041s] ==
[ 1041s] FAIL: test_close_fds (test.test_subprocess.POSIXProcessTestCase)
[ 1041s]
Todd Rovito added the comment:
Dirk,
I think this issue is already documented as an issue but I will have to find
it in the tracker.
--
nosy: +Todd.Rovito
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17382
karl added the comment:
Ok after comments and review by Eric Araujo on the previous patch.
See issue-747320-3.patch
I have ran
→ ./python.exe Lib/test/test_httpservers.py
[…]
--
Ran 39 tests in 3.734s
OK
[137158 refs]
That
Terry J. Reedy added the comment:
I am closing this because there is no identified, fixable implementation bug in
any particular Python module. The fix for the asyncore *design* will be a new,
re-designed module.
--
nosy: +terry.reedy
resolution: - invalid
status: open - closed
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9686
___
___
Terry J. Reedy added the comment:
Teodor or Gavin: is the (mis)behavior the same in 3.3?
Giampaolo: has the OP identified a fixable misbehavior relative to the
documented behavior, making this a valid behavior issue?
Or is this instead an enhancement request, possibly superseded by #1641?
Giampaolo Rodola' added the comment:
I'm not sure what the OP and Gavin are complaining about in their last
messages. Could you guys be more clear and/or provide a code sample which
reproduces the problem?
--
___
Python tracker
Terry J. Reedy added the comment:
Where does this issue stand now? Did the applied sched patch supersede the
proposed asyncore patch? Is enhancing asyncore still on the table given Guido's
proposed new module?
--
nosy: +terry.reedy
versions: +Python 3.4 -Python 3.3
Guido van Rossum added the comment:
A new implementation is part of Tulip (tulip/selectors.py); once Tulip
is further along it will be a candidate for inclusion in the stdlib
(as socket.py) regardless of whether tulip itself will be accepted. I
have no plans to work on asyncore.
On Fri, Mar 8,
Giampaolo Rodola' added the comment:
I'm not sure how many users asyncore has out there nowadays, but if it has to
stay in the stdlib then I see some value in adding a scheduler to it because it
is an essential component.
If this is still desirable I can restart working on a patch, although
Terry J. Reedy added the comment:
As near as I can tell, the tcl/tk distributed with Windows is not upgraded in
bugfix releases. I presume it is a matter of testing and stability and not
introducing any new features in the new tcl/tk. In any case, on Windows, this
is fixed in 3.3 (and
Terry J. Reedy added the comment:
You did not explain why it is *impossible* for you to use any of the other
solutions. In any case, I looked at the C code. It defines delimiter (as well
as quotechar and escapechar) as a single unicode char. This is different from
Python which does not have a
Terry J. Reedy added the comment:
Quoting from msg179101 on #16823, which I turned into a doc issue:
'''
What you are doing appears to be unsupported (invalid). From
http://www.astro.washington.edu/users/rowen/TkinterSummary.html
all Tkinter access must be from the main thread (or more
New submission from Zachary Ware:
I have found Doc/make.bat to be very useful, but I have hit a few of its
limitations now and then. Thus, I have made extensive modifications to bring
it much closer to the way Doc/Makefile works. Among the things changed in the
attached patch:
- Use
Terry J. Reedy added the comment:
I have somewhat arbitrary selected #16823 as the issue turned into a tkinter
and threads doc issue. I added a note there about mentioning the use of queue.
--
resolution: - duplicate
status: open - closed
superseder: - Python quits on running tkinter
Terry J. Reedy added the comment:
From #11029: Doc about tkinter and treads should also give the alternative of
using queue.queue to feed data from multiple threads.
See msg127316
--
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
It is not safe to call graphic primitives in event callbacks.
Martin, do you agree that this is (or should be) the case?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7074
Roundup Robot added the comment:
New changeset 56b74b9c81c3 by Vinay Sajip in branch '2.7':
Issue #17376: Clarified documentation for TimedRotatingFileHandler weekday
rotation.
http://hg.python.org/cpython/rev/56b74b9c81c3
New changeset 83f07e3a53f4 by Vinay Sajip in branch '3.2':
Issue
Éric Araujo added the comment:
Tests would be great, especially given that we can add them in 3.2 and when
merging 3.2 into 3.3 and then default, it ensures that the new code has no
regression.
(A minor thing: I would use “attribute” instead of “variable” in the
docstrings.)
There are also
Terry J. Reedy added the comment:
I am somewhat puzzled by the claim that tkinter *is* thread safe (as opposed to
*intended to be*), in the sense of accessing the gui from multiple threads.
First, http://www.astro.washington.edu/users/rowen/TkinterSummary.html
all Tkinter access must be from
Demian Brecht added the comment:
@B. Kyven: What are you trying to achieve?
LWP is intended to be used with libwww-perl libary, which is not known to be
compatible with any browsers (not sure whether or not this has any bearing on
what you're doing).
Really, IMHO, this entire module is in
Terry J. Reedy added the comment:
I re-ran in 2.7.3. First time, B froze at 81, second time neither froze for a
few minutes until I used task manager to stop. I then remembered that accessing
the gui from a 2nd thread is not supported.
Quoting from msg179101 on #16823, which I turned into a
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17343
___
___
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17337
___
___
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +pje, tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17349
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
assignee: docs@python - terry.reedy
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17332
___
Roundup Robot added the comment:
New changeset 9bd2fc35f311 by Terry Jan Reedy in branch '2.7':
Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey.
http://hg.python.org/cpython/rev/9bd2fc35f311
New changeset 55fd9810c9ab by Terry Jan Reedy in branch '3.2':
Issue #17332:
Terry J. Reedy added the comment:
Thanks for the report.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
type: enhancement - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17332
New submission from Alex Orange:
The documentation at
http://docs.python.org/2/c-api/typeobj.html#PySequenceMethods is missing
sq_slice between sq_item and sq_ass_item. This will mess up anyone trying to
use anything after sq_item (that isn't using designated initializers).
--
Terry J. Reedy added the comment:
On Windows, both the command prompt interpreter and IDLE ignore special
meanings and print prompt as is. Line wrap to physical next line occurs at 80
chars and movable edge of window respectively.
Michael, in light of your last post, do you still believe a
Terry J. Reedy added the comment:
Code behaving as documented is not a bug for tracker purposes. Adding a
parameter to allow new behavior is an enhancement for a future release.
Who is responsible for the invalid cookie. Pardon my ignorance, but if tornado
re-sets the cookie, why cannot it
Terry J. Reedy added the comment:
I personally would have changed both str.split and os.walk to return iterators
in 3.0, like many other builtins. The rationale for os.walk continuing to
produce a list is that there would be little time saving as the list is not
*that* long and most uses look
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +mark.dickinson, meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17345
___
___
Terry J. Reedy added the comment:
I do not see any bug. Unicode chars do not have an encoding (except internally)
The .encode() method encodes the the unicode string to a byte string. It does
*not* mutate the string. Since you do not bind the byte string to anything, it
disappears. Compare
Terry J. Reedy added the comment:
(Peter, the OP claims this issue is similar to a subprocess issue you fixed. I
hope you can comment.)
Nearly identical versions of your example run from IDLE on both 2.7.3 and 3.3.0.
Please rerun on 2.7.3 to make sure you have the problem with current Python.
Terry J. Reedy added the comment:
In 3.3+ the u prefix is ignored in the lexer stage and I am sure that is tested
in the string literal syntax tests. It has nothing to do with printing. The
commented out tests you appropriately removed were testing the printing of
unicode instead of byte
Mike Hoy added the comment:
Considering that the docs have changed does this issue still need to be open?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12067
___
Terry J. Reedy added the comment:
I think you are, in effect, asking for expansion of the 'PEP Header Preamble'
section of PEP-0001. I have added some of the PEP editors listed in the PEP as
nosy. I will let them decide if this should be discussed elsewhere.
--
nosy: +barry,
Ramchandra Apte added the comment:
I have posted on python-ideas.
On 9 March 2013 03:14, Terry J. Reedy rep...@bugs.python.org wrote:
Terry J. Reedy added the comment:
You did not explain why it is *impossible* for you to use any of the other
solutions. In any case, I looked at the C
keakon added the comment:
Terry, say that a user's cookie is ,BRIDGE_R=; a=b; right now.
When he login, the server sends Set-Cookie: user_id=1; Path=/ header to him.
Then his cookie is ,BRIDGE_R=; a=b; user_id=1; now.
The next time he sends cookie to the server, Cookie.SimpleCookie.load() tries
Changes by Mike Hoy mho...@gmail.com:
--
nosy: +mikehoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17387
___
___
Python-bugs-list mailing list
Terry J. Reedy added the comment:
keakon, changing the headers after a developer sets them is insulting,
annoying, a waste of my time to change them back again, and a distraction from
the issue.
--
type: behavior - enhancement
versions: +Python 3.4 -Python 2.7
Roundup Robot added the comment:
New changeset e0ef2bde35c3 by Raymond Hettinger in branch '2.7':
Issue #17375: Add docstrings to the threading module.
http://hg.python.org/cpython/rev/e0ef2bde35c3
--
nosy: +python-dev
___
Python tracker
Terry J. Reedy added the comment:
Dirk, sorry; in my email, I should have suggested searching for existing idle
debugger issues before posting.
--
nosy: +terry.reedy
resolution: - duplicate
status: open - closed
superseder: - IDLE: source line in editor doesn't highlight when
Terry J. Reedy added the comment:
I closed #17382 as a duplicate of this. The OP, Dirk, only had problem on
Windows xp, not on Ubuntu 3.2 and 3.3. I see the same problem on 3.3 win 7.
Roger, do you think this is a windows, tkinter, or idle problem?
--
versions: +Python 3.3, Python 3.4
keakon added the comment:
Terry, I think that's the standard process of web applications.
1. The user agent send cookie via HTTP headers to the web server.
2. The web server parse its cookie. If the server fails to find something
proves the user has logged in from his cookie, redirect him to
Changes by Ned Deily n...@acm.org:
--
resolution: out of date -
status: closed - open
title: test_subprocess.test_close_fds() sporadic failures on Mac OS X Tiger -
sporadic failures of test_close_fds() and test_pass_fds in test_subprocess
versions: +Python 3.3
Mike Hoy added the comment:
Looking through Include/object.h I see that sq_slice is now:
void *was_sq_slice. Can anyone provide any clarification as to where I can find
info about sq_slice?
--
___
Python tracker rep...@bugs.python.org
Changes by Ned Deily n...@acm.org:
--
title: sporadic failures of test_close_fds() and test_pass_fds in
test_subprocess - sporadic failures of test_close_fds and test_pass_fds in
test_subprocess
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
The respective howto and examples authors should give their OK for deleting
'(object)' in case they are trying to keep one text compatible across 2 and 3.
I added the other two to the nosy list.
Doc/howto/descriptor.rst -- Raymond H.
Doc/howto/sorting.rst --
Alex Orange added the comment:
If you look at the 2.7.3 version of that file:
http://hg.python.org/cpython/file/70274d53c1dd/Include/object.h it has more
information. It is a ssizessizeargfunc. I assume it passes the lower and upper
bound and expects back a subsequence.
--
Alex Orange added the comment:
Just to clarify though, that is entirely an assumption as to how it's supposed
to be used.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17387
___
Changes by Brian Kearns bdkea...@gmail.com:
--
nosy: +brian.kearns
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16389
___
___
Python-bugs-list
karl added the comment:
Just a quick note that the new specification for HTTP State Mechanism (aka
cookies) is http://tools.ietf.org/html/rfc6265
keakon, Do you know why her cookie was ',BRIDGE_R=;'
--
nosy: +karlcow
___
Python tracker
keakon added the comment:
karl, I don't know the exact reason.
BRIDGE_R is a cookie name set by Baidu Bridge. I don't know why there is a
comma before it.
The Baidu Bridge is an external JavaScript resource. It can do anything like:
document.cookie = ,BRIDGE_R=;;
I think Baidu Bridge set the
Roundup Robot added the comment:
New changeset 258028711466 by Terry Jan Reedy in branch '3.3':
Issue #16642: sched.scheduler timefunc initial default is time.monotonic.
http://hg.python.org/cpython/rev/258028711466
--
___
Python tracker
Roundup Robot added the comment:
New changeset ca56baa46d35 by Terry Jan Reedy in branch 'default':
Merge: closes issue 16643 (not 2 as in last commit message)
http://hg.python.org/cpython/rev/ca56baa46d35
--
nosy: +python-dev
resolution: - fixed
stage: patch review -
Terry J. Reedy added the comment:
3.3 was changed also, but with misdirected message
--
assignee: docs@python - terry.reedy
nosy: +terry.reedy
resolution: fixed -
stage: committed/rejected - patch review
status: closed - open
___
Python tracker
Changes by Terry J. Reedy tjre...@udel.edu:
--
Removed message: http://bugs.python.org/msg183801
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16642
___
Vinay Sajip added the comment:
I'm OK with changing the logging cookbook to remove explicit subclassing from
object in the examples.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17351
Terry J. Reedy added the comment:
Carl, do you know if the (2 year old) draft better reflect actual usage than
2965? Is there much change other than deprecates the use of the Cookie2 and
Set-Cookie2 header fields.?
--
___
Python tracker
Terry J. Reedy added the comment:
I guess I should have taken the assignment before pushing ;-)
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Vinay Sajip added the comment:
Closing, as the errors seem to have gone away after the cleanup update.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17384
1 - 100 of 101 matches
Mail list logo