Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +daniel.urban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16832
___
___
Serhiy Storchaka added the comment:
New changeset 3738d270c54a by Brian Curtin in branch 'default':
st_dev/st_rdev should be unsigned long as dwVolumeSerialNumber, which it is
set to, is a DWORD. This was fixed in #11939 and the overflow was
mentioned in #10657 and seen by me on some
New submission from Benno Leslie:
he http.client HTTPConnection._send_output method has an optimization for
avoiding bad interactions between delayed-ack and the Nagle algorithm:
http://hg.python.org/cpython/file/f32f67d26035/Lib/http/client.py#l884
Unfortunately this interacts rather poorly
Serhiy Storchaka added the comment:
I don't install Tcl/Tk 8.6 yet, but looks as pack info call returns a new
type of Tcl data (perhaps DictType) which doesn't detected in FromObj().
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
I'm not sure this is a desirable feature in the stdlib, but regardless, your
solution isn't very scalable: a new argument will have to be added each time
someone wants to avoid sending a given header.
Another possibility would be to allow passing None in
Antoine Pitrou added the comment:
Thanks for the patch. Perhaps our MSS value should be an upper bound of common
values? Apparently for a localhost connection TCP_MAXSEG gives 16384 here (but
I don't know if the http.client optimization is important for localhost
connections).
Also, it would
Changes by Antoine Pitrou pit...@free.fr:
--
priority: normal - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16828
___
___
Python-bugs-list
New submission from Yuval Weinbaum:
In fcntl module, the documentation states the following regarding the
mutate_flag in ioctl method:
***
If it is false, the buffer’s mutability is ignored and behaviour is as for a
read-only buffer, except that the 1024 byte limit mentioned above is avoided
Charles-François Natali added the comment:
Thanks for the patch. Perhaps our MSS value should be an upper bound of
common values? Apparently for a localhost connection TCP_MAXSEG gives 16384
here (but I don't know if the http.client optimization is important for
localhost connections).
Roundup Robot added the comment:
New changeset 2eddf7c2efe6 by Charles-François Natali in branch 'default':
Issue #16787: Increase asyncore and asynchat default output buffers size, to
http://hg.python.org/cpython/rev/2eddf7c2efe6
--
nosy: +python-dev
Charles-François Natali added the comment:
Closing!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16787
Eli Bendersky added the comment:
Other thoughts.
I'm not sure why you're surprised the C-Python pickle/unpickle works. You've
changed the type name from Element to _elementtree.Element, so I would guess
Python always uses the C version to unpickle as well. Can you debug to verify
what
Changes by Meador Inge mead...@gmail.com:
--
nosy: +meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16733
___
___
Python-bugs-list
Ezio Melotti added the comment:
I just came across the problem described here while reviewing #16694.
The idiom I used for the JSON tests[0] (and possibly a couple of other tests)
when I rewrote them was to have something like:
class FooTest:
# all the test methods here
class
Roundup Robot added the comment:
New changeset a5b49db3383d by Richard Oudkerk in branch '3.2':
Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.
http://hg.python.org/cpython/rev/a5b49db3383d
New changeset a70db584e897 by Richard Oudkerk in branch '3.3':
Issue #9586: Merge
Roundup Robot added the comment:
New changeset 61bada808b34 by Brian Curtin in branch 'default':
Set st_dev on Windows as unsigned long to match its DWORD type, related to the
change to fix #11939.
http://hg.python.org/cpython/rev/61bada808b34
--
Serhiy Storchaka added the comment:
Now the code is wrong on non-Windows without PY_LONG_LONG and with signed
st_dev.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11939
___
Bryan Bishop added the comment:
On Tue, Jan 1, 2013 at 5:41 AM, Antoine Pitrou wrote:
Another possibility would be to allow passing None in values of the `headers`
dict, in which case the given header wouldn't be send at all.
I agree that your solution is more scaling-friendly than the patch
Brian Curtin added the comment:
Backed out the changeset. If you have a solution, feel free to fix it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11939
___
Antoine Pitrou added the comment:
On Tue, Jan 1, 2013 at 5:41 AM, Antoine Pitrou wrote:
Another possibility would be to allow passing None in values of the
`headers` dict, in which case the given header wouldn't be send at
all.
I agree that your solution is more scaling-friendly than the
Senthil Kumaran added the comment:
The patch seems good to me. Please commit it.
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16819
___
Stefan Krah added the comment:
Yes, currently the C version is also used for unpickling. Actually
this problem was one of the reasons why _decimal sets its name to
decimal.
from test.support import import_fresh_module
import pickle, sys
C = import_fresh_module('xml.etree.ElementTree',
Senthil Kumaran added the comment:
Hello Zachary, What'wrong with referencing :class:`file` for iterable? I find
it as OK. Also if it needs to be corrected, the reference could be made for
:ref:`bltin-file-objects`
Re grammatical fixes, you could point out which were made as with the reflow
R. David Murray added the comment:
senthil: the file type doesn't exist any more in python3.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16747
___
New submission from Brett Cannon:
Don't have the base tests inherit from TestCase else they will be discovered by
unittest and run even though they are not fully defined.
See http://bugs.python.org/issue16748 as the trigger for this issue.
--
messages: 178748
nosy: brett.cannon
Brett Cannon added the comment:
I created http://bugs.python.org/issue16835 to remind me to update PEP 399.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16748
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - ezio.melotti
components: +Documentation
nosy: +ezio.melotti
stage: - needs patch
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16835
Christian Boos added the comment:
I think that reverting to a read_single() when the read_multi() fails could do
the trick here. At least this approach seems to work for uploading .mht files.
See also http://trac.edgewall.org/ticket/9880.
--
nosy: +cboos
Ezio Melotti added the comment:
Here's a patch:
1) the base class doesn't inherit from TestCase anymore -- the subclasses do;
2) added a skipUnless() decorator on the C subclass;
3) used the modern if __name__ == '__main__': unittest.main() idiom;
4) renamed the AcceleratedExampleTest to
Roundup Robot added the comment:
New changeset de82da4b04cd by Serhiy Storchaka in branch '2.7':
Issue #16819: IDLE method completion now correctly works for unicode literals.
http://hg.python.org/cpython/rev/de82da4b04cd
New changeset 99a06886b258 by Serhiy Storchaka in branch '3.2':
Issue
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16819
Senthil Kumaran added the comment:
I find, cd Doc easy to remember as well. If make tricks can be used then I
hope readers note it rather than be exposed via Documentation. Chris's
patch is helpful to me, but still I may not vote a +1 for it to be in
Documentation. thanks.
On Sun, Dec 30, 2012
Senthil Kumaran added the comment:
Oh Okay, Thanks! I was checking it against 2.7!
On Tue, Jan 1, 2013 at 11:48 AM, R. David Murray rep...@bugs.python.orgwrote:
R. David Murray added the comment:
senthil: the file type doesn't exist any more in python3.
--
nosy: +r.david.murray
Łukasz Langa added the comment:
This is a fair point. Stay tuned.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16820
___
___
Python-bugs-list
Changes by Richard Oudkerk shibt...@gmail.com:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9586
___
STINNER Victor added the comment:
The switch --disable-ipv6 is supported and works as intended. It is not the
intention of the switch to disable lookups. Instead, it disables support
for IPv6 sockets.
I just think that this definition is not exact. Do you seriously expect IPv6 to
work
Serhiy Storchaka added the comment:
The simplest fix probably is just wrap self.tk.call() with str() (I have not
tested it yet). However the problem is more serious (tkinter doesn't support
fully even 8.5 and subtle bugs are possible) and I'll spend some more time on
its research.
--
Serhiy Storchaka added the comment:
I'll wait for some time, perhaps a Christian wants to say something.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16320
___
Roundup Robot added the comment:
New changeset f580342b63d8 by Łukasz Langa in branch '3.3':
configparser: preserve section order when using `__setitem__` (issue #16820)
http://hg.python.org/cpython/rev/f580342b63d8
New changeset a758f561a280 by Łukasz Langa in branch 'default':
Merged section
Ralf Schmitt added the comment:
socket getaddrinfo returns garbage:
socket.getaddrinfo(python.org, 80)
[(2, 1, 6, '', ('82.94.164.162', 80)), (2, 2, 17, '', ('82.94.164.162', 80)),
(2, 3, 0, '', ('82.94.164.162', 80)), (10, 1, 6, '', (10,
'\x00P\x00\x00\x00\x00 \x01\x08\x88 \x00\x00\r')),
STINNER Victor added the comment:
socket.getaddrinfo(python.org, 80)
This is a different issue: it's #7735.
Do you really think that this is not a bug?
#7735 is a bug but it was decided that it will not be fixed. You may reopen
#7735 if you disagree.
--
New submission from Ralf Schmitt:
The configure script uses a runtime check to determine if IPv6 is working. If
IPv6 is disabled system-wide via a kernel option on linux, the resulting python
interpreter is compiled as if --disable-ipv6 had been passed to the configure
script.
This causes
Antoine Pitrou added the comment:
Indeed, I think the runtime check is misguided. If the system provides the
required APIs for AF_INET6, then IPv6 support should be enabled regardless of
whether the current system config allows to create an IPv6 socket or not.
Would you want to provide a
Martin v. Löwis added the comment:
The data returned is not bogus; this is the correct result. If the system's
getaddrinfo returns an unsupported address family, Python returns a bytes
object (the system's sockaddr buffer) to the application. This should be
documented, though (either in the
Roundup Robot added the comment:
New changeset 479fca0adbf6 by Victor Stinner in branch '3.2':
Issue #9644: Fix the encoding used by os.statvfs(): use the filesystem encoding
http://hg.python.org/cpython/rev/479fca0adbf6
New changeset b0cc0b9e2472 by Victor Stinner in branch '3.3':
Issue #9644:
Roundup Robot added the comment:
New changeset dbe607fdc271 by Victor Stinner in branch 'default':
(Merge 3.3) Issue #9644: Add a test on os.statvfs() for the PEP 383
http://hg.python.org/cpython/rev/dbe607fdc271
--
___
Python tracker
STINNER Victor added the comment:
@baikie: Thanks for the fix, I applied it to Python 3.2 and I added a test. I
also added the patch to Python 3.3 and 3.3. You may migrate to Python 3.3, it
has a better support for undecodable filenames ;-)
--
resolution: - fixed
status: open -
Ralf Schmitt added the comment:
Given the fact that the bytes object is rather surprising and probaby useless
for the caller I wouldn't call this a correct result.
(sorry, I lost too much time on this issue, I had to put another comment here).
--
Meador Inge added the comment:
I don't think the current patch is correct. It breaks the usage of `freeze.py
-p $path` since LIBDIR and LIBRARY are blindly used.
Maybe something like the attached that respects -p and -P can be used instead?
As for the testing, I think a reasonable solution
Eli Bendersky added the comment:
Thank you for the input Stefan. I was actually glancing at _decimal as an
example of implementing pickling and inter-compatibility between the C and Py
versions of pickles.
You've chosen compatibility by having the same class name and __reduce__
returning the
Meador Inge added the comment:
As mentioned, the ABI issues are being handled in issue11824. I believe the
linking problems in this issue have to do with the changes that were made in
3.3 to bootstrap importlib into Python. I will look into it more.
--
assignee: - meador.inge
Martin v. Löwis added the comment:
It's not at all useless: it enables the application to bypass limitations in
Python, i.e. process the sockaddr on its own (very much in the same way as you
have to do for ioctl/fcntl).
Whether it's surprising or not depends on what you expected to happen.
Roundup Robot added the comment:
New changeset 6f0cee62f0c6 by Łukasz Langa in branch '3.2':
configparser: preserve section order when using `__setitem__` (issue #16820)
http://hg.python.org/cpython/rev/6f0cee62f0c6
New changeset 2f5320497017 by Łukasz Langa in branch '3.3':
Null-merged 3.2
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
--
nosy: +belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16818
___
___
Ralf Schmitt added the comment:
The TypeError error happened when using gevent. I've already written in that
other issue that this information was wrong and I get a bad family error.
Sorry, about that.
But this also demonstrates my point here. The Type error was raised exactly
because the
Łukasz Langa added the comment:
Breaking section order when using `__setitem__` was a bug and as such was fixed
in 3.2.4 and 3.3.1.
In the DEFAULTSECT case above someone could potentially use the broken
behaviour as a feature so that change was only made for 3.3.1+. In the section
order case
Zachary Ware added the comment:
Hi folks,
Sorry it's taken me so long to get back to this, it's been a busy month :)
Here's the non-reflowed diff. In retrospect, I should have just specifically
mentioned the grammatical changes I made in the first place; they were merely
to change 'and'
Daniel Shahaf added the comment:
Eli Bendersky wrote on Tue, Jan 01, 2013 at 15:54:00 +:
Why did you change the class name, by the way, I don't think it's
a valid change at least for 3.3 in terms of backwards compatibility.
With unmodified tip of 3.4:
import pickle,
Zachary Ware added the comment:
Sorry, I misunderstood Éric's suggestions regarding the tests; v6 is useless.
v7 forthcoming.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16694
___
Changes by Zachary Ware zachary.w...@gmail.com:
Removed file: http://bugs.python.org/file28391/py_operator.v6.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16694
___
Ralf Schmitt added the comment:
AFAIK pypi.python.org disallows uploads of .msi files. That means I've lost
interest in this issue.
Feel free to close it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13719
Ezio Melotti added the comment:
Yes, that would have been better.
I actually prefer reflowing text, but pointing out the changes makes reviewing
the patch easier.
--
assignee: docs@python - ezio.melotti
stage: - commit review
type: - enhancement
Benno Leslie added the comment:
I've updated the patch based on Charles-François and Antoine's feedback.
Primarily this increase the estimated MSS value to 16KiB.
Additionally tests are added and comments improved.
Thanks for the feedback.
--
Added file:
Daniel Shahaf added the comment:
Eli Bendersky wrote on Tue, Jan 01, 2013 at 00:32:51 +:
1. Why did you choose to implement __reduce__ and not __getstate__?
Maybe I was simply imitating what some other extension module was doing ;)
By using __reduce__ with the type as first return value,
Domen Kožar added the comment:
According to talk at 29c3:
http://events.ccc.de/congress/2012/Fahrplan/events/5152.en.html
Quote: We also describe a vulnerability of Python's new randomized hash,
allowing an attacker to easily recover the 128-bit secret seed. As a reliable
fix to
New submission from Alexander Belopolsky:
According to the reference manual, None of the types defined in [numbers]
module can be instantiated. However,
from numbers import *
Number()
numbers.Number object at 0x1005e5080
This can probably be fixed by making Number.__hash__ an abstract
Chris Jerdonek added the comment:
Changed lines should still be reflowed to respect the column limit. I was just
referring to the unchanged lines before and afterwards that shouldn't be
reflowed.
Not reflowing makes it easier for people viewing diffs on python-checkins and
hg.python.org,
Zachary Ware added the comment:
Ok, I believe the attached v7 properly addresses Éric's concerns about test
discovery, and has no other changes unrelated to that compared to v5.
Thank you very much to Ezio for directing me towards the json tests for an
example to work from.
--
nosy:
Daniel Shahaf added the comment:
Also, the class inheritance in the tests should be amended to follow #16835.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16076
___
Martin v. Löwis added the comment:
schmir: your information on msi support is probably outdated; pypi.python.org
does support MSI files, see for example
http://pypi.python.org/pypi/Twisted/12.3.0
--
___
Python tracker rep...@bugs.python.org
Martin v. Löwis added the comment:
schmir: your information on msi support is probably outdated; pypi.python.org
does support MSI files, see for example
http://pypi.python.org/pypi/Twisted/12.3.0
--
___
Python tracker rep...@bugs.python.org
Changes by Martin v. Löwis mar...@v.loewis.de:
--
Removed message: http://bugs.python.org/msg178791
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16208
___
Martin v. Löwis added the comment:
(sorry, wrong issue)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16208
___
___
Python-bugs-list mailing
Changes by Martin v. Löwis mar...@v.loewis.de:
--
Removed message: http://bugs.python.org/msg178789
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16208
___
Roundup Robot added the comment:
New changeset d5c45089df2d by Łukasz Langa in branch '3.3':
Misc/NEWS updated to tell about #14590 and #16820
http://hg.python.org/cpython/rev/d5c45089df2d
New changeset 7938847b2641 by Łukasz Langa in branch '3.2':
Misc/NEWS updated to tell about #16820
Roundup Robot added the comment:
New changeset d5c45089df2d by Łukasz Langa in branch '3.3':
Misc/NEWS updated to tell about #14590 and #16820
http://hg.python.org/cpython/rev/d5c45089df2d
--
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16835
___
___
Ezio Melotti added the comment:
Fixed in http://hg.python.org/peps/rev/90a9e083933b.
I also made a few more fixes in http://hg.python.org/peps/rev/eb668670ad0e.
--
assignee: - ezio.melotti
nosy: +barry, ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open -
Ezio Melotti added the comment:
Attached patch fixes Lib/test/test_heapq.py.
I also replaced the test_main() with unittest.main() and got rid of the code
previously used to test reference leaks. As it is the patch can be applied
on 3.3/default. If you think it should be backported to 2.7/3.2
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
type: - enhancement
versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14393
___
Changes by Ramchandra Apte maniandra...@gmail.com:
--
title: httpc.lient delayed ack / Nagle algorithm optimisation performs badly
for large messages - http.client delayed ack / Nagle algorithm optimisation
performs badly for large messages
___
Changes by Zachary Ware zachary.w...@gmail.com:
Added file: http://bugs.python.org/file28524/py_operator.v8.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16694
___
Changes by Zachary Ware zachary.w...@gmail.com:
Added file: http://bugs.python.org/file28525/issue16747.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16747
___
Changes by Zachary Ware zachary.w...@gmail.com:
Removed file: http://bugs.python.org/file28520/iterable_glossary_no-reflow.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16747
___
Changes by Zachary Ware zachary.w...@gmail.com:
Removed file: http://bugs.python.org/file28392/iterable_glossary.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16747
___
Senthil Kumaran added the comment:
I reviewed the patch. Changes LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16747
___
___
I think, the the URLs on this page are correct ( or have been corrected
since the opening of this issue) -
http://hg.python.org/devguide/file/20333d160f4e/documenting.rst
If anything needs to be changed, then a patch would be helpful.
On Sat, Dec 29, 2012 at 8:48 AM, Tshepang Lekhonkhobe
Christian Heimes added the comment:
Thanks for the information! I'm working on a PEP for the issue at hand.
--
assignee: - christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14621
Changes by Eiro Neemous dr.neem...@gmail.com:
--
components: 2to3 (2.x to 3.x conversion tool)
nosy: Cravix
priority: normal
severity: normal
status: open
title: fail to import locale module when there
versions: Python 3.3
___
Python tracker
New submission from Eiro Neemous:
as title said, what's the problem?
--
title: fail to import locale module when there - fail to import locale
module when there's a dir named locale in pwd
type: - compile error
___
Python tracker
Changes by Eiro Neemous dr.neem...@gmail.com:
--
title: fail to import locale module when there's a dir named locale in pwd
- fail to import locale when there's a dir named locale in current dir
___
Python tracker rep...@bugs.python.org
Nick Coghlan added the comment:
Bob, the hash invariant isn't a mere implementation detail, it is critical to
making hash based data structures work properly - if two equal objects (say the
integer zero and the float zero) ever end up in different hash bins, then the
uniqueness property of
Christian Heimes added the comment:
I'm not able to reproduce the issue. Please provide a step by step description
of what you did. Does the locale directory contain any files?
--
nosy: +christian.heimes
type: compile error - behavior
___
Python
93 matches
Mail list logo