Senthil Kumaran orsent...@gmail.com added the comment:
FWIW, it should also be noted that RFC asserts square brackets to be
valid characters in the hostname portion only and that too when it is
a IPv6 url.
In the example given, at the query portion, it should be quoted (or
percent-encoded)
Changes by Lars Gustäbel l...@gustaebel.de:
--
assignee: - lars.gustaebel
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8633
___
___
Mark Dickinson dicki...@gmail.com added the comment:
Committed in r81196. Thanks, everyone!
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8692
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
I've filed an issue for this in the Tcl/Tk tracker:
https://sourceforge.net/tracker/?func=detailaid=3002320group_id=10894atid=110894
(Assuming that this is the canonical tracker for the Tcl/Tk project, it was the
first hit in google
Ronald Oussoren ronaldousso...@mac.com added the comment:
BTW. Another way of testing, assuming you have two accounts: use 'su -
otheraccount' to get a shell session as another user then try to start tk using:
import Tkinter
root = Tkinter.Tk()
This will currently crash the interpreter due to
Ronald Oussoren ronaldousso...@mac.com added the comment:
The attached patch is a first start at working around the crash. With this
patch I can use Tk without a crash:
import Tkinter
Tkinter.Tk()
Sun May 16 12:11:08 Rivendell.local python.exe[55984] Error: kCGErrorFailure:
Set a breakpoint
Ronald Oussoren ronaldousso...@mac.com added the comment:
Something I forgot to mention: the patch introduces _tkinter.m to enable
compiling the _tkinter extension as Objective-C code. The compiler also
supports passing -x objective-c to compile _tkinter.c in Objective-C mode,
but this flag
Changes by Ronald Oussoren ronaldousso...@mac.com:
--
assignee: - ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5766
___
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
One way to fix this: is to always recreate MANIFEST when an explicit
MANIFEST.in file exists, as in the attached patch.
(The patch is not perfect: I'd rename template_newer before committing)
--
keywords: +needs review, patch
Antoine Pitrou pit...@free.fr added the comment:
Since SSLv2 is insecure, could you at least add a warning for that
protocol? I think there was a separate issue for removing it
altogether, but could a warning be added here?
I think it should be a separate issue (since it also applies to the
Tarek Ziadé ziade.ta...@gmail.com added the comment:
The same problem occurs without a manifest template: you can have options or
imports in setup.py that will change the MANIFEST file.
For example : if setup() has:
packages=['foo']
And if you add a subpackage bar in foo with some
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
priority: normal - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8688
___
___
://bugs.python.org/file17361/python-trunk-20100516-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Python-bugs-list mailing list
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Common to all platforms part of patches lets call it build modules with
system python is moved to issue 3754.
--
Added file: http://bugs.python.org/file17362/python-trunk-20100516-MINGW.patch
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Removed file: http://bugs.python.org/file14539/python-trunk-20090722-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Removed file: http://bugs.python.org/file15260/python-trunk-20091104-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Removed file: http://bugs.python.org/file15415/python-trunk-20091129-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Removed file: http://bugs.python.org/file15464/python-trunk-20091206-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Removed file: http://bugs.python.org/file15724/python-trunk-20100103-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Removed file: http://bugs.python.org/file15987/python-trunk-20100124-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Daniel Urban urban.dani...@gmail.com added the comment:
In this new patch, __eq__ compares also the __dict__ of the two partial
instances.
--
Added file: http://bugs.python.org/file17363/partial_eq_hash_4.diff
___
Python tracker
New submission from Ronald Oussoren ronaldousso...@mac.com:
Output of test_distutils on a older SuSE Linux system:
FAILED (errors=1, skipped=5)
Traceback (most recent call last):
File ../Lib/test/test_distutils.py, line 18, in module
test_main()
File ../Lib/test/test_distutils.py, line
New submission from Roumen Petrov bugtr...@roumenpetrov.info:
PEP 11 describe BeOS support as : Python 2.7 (edit configure to reenable)
--
components: Build
files: python-2.7-beos-unsupported.patch
keywords: patch
messages: 105863
nosy: rpetrov
priority: normal
severity: normal
status:
Tarek Ziadé ziade.ta...@gmail.com added the comment:
ouch, what a bad practice...
The compress feature is going away anyway.
Could you tell me what compress --version says ?
Maybe we can use that output to discard this fake command when looking for the
compress program.
--
Tarek Ziadé ziade.ta...@gmail.com added the comment:
This is now defined in PEP 345 and implemented in Distutils2.
--
components: +Distutils2 -Distutils
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3686
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8731
___
___
Python-bugs-list mailing
Ronald Oussoren ronaldousso...@mac.com added the comment:
$ compress --version
compress - sharutils 4.2c
And yes, this is jucky behavior. Most systems shouldn't be affected by this
because sharutils isn't used a lot these days.
--
___
Python
Changes by Florent Xicluna florent.xicl...@gmail.com:
Removed file: http://bugs.python.org/file17291/issue1285086_fast_quote.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1285086
___
Changes by Florent Xicluna florent.xicl...@gmail.com:
Removed file: http://bugs.python.org/file17295/issue1285086_using_translate.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1285086
___
Changes by Florent Xicluna florent.xicl...@gmail.com:
Removed file: http://bugs.python.org/file17298/issue1285086_using_rstrip.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1285086
___
Changes by Florent Xicluna florent.xicl...@gmail.com:
Removed file: http://bugs.python.org/file17299/urllib_quote_speed_test.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1285086
___
Dave Abrahams d...@boostpro.com added the comment:
New data point: in some contexts on Windows (not sure of the exact cause but I
was dealing with multiple drives), even this workaround isn't enough. I ended
up having to do something like this (i.e. manually search the path) on win32:
Florent Xicluna florent.xicl...@gmail.com added the comment:
Updated script for benchmarks (on 2.x and 3.x).
Inspired by the Tools/iobench script.
It benchmarks various quote/unquote implementations on 2.x and 3.x.
On 2.7 the fastest implementation is something like:
def quote(s):
Changes by Florent Xicluna florent.xicl...@gmail.com:
Added file: http://bugs.python.org/file17366/issue1285086_using_rstrip_v2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1285086
___
Florent Xicluna florent.xicl...@gmail.com added the comment:
Proposed patches for quote and unquote on 2.7 and 3.2.
--
Added file: http://bugs.python.org/file17367/issue1285086_using_rstrip_py3k.diff
___
Python tracker rep...@bugs.python.org
New submission from Dave Abrahams d...@boostpro.com:
According to the RFC, the server is allowed to send back any encoding it likes
when no Accept-Encoding header is supplied, but all the examples I can find of
urllib2.urlopen usage assume they're getting plain text back. I think it would
be
Antoine Pitrou pit...@free.fr added the comment:
Here is a patch addressing Heikki's and Jean-Paul's review comments (including
additional documentation and a test for capath).
--
Added file: http://bugs.python.org/file17368/sslcontext4.patch
___
Changes by alon horev alo...@gmail.com:
--
components: Extension Modules
nosy: alonho
priority: normal
severity: normal
status: open
title: list type and UserList do not call super in __init__ and therefore, they
cannot be parents in a multiple inheritence scheme
type: behavior
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4931
___
___
Python-bugs-list mailing
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue808129
___
___
Python-bugs-list mailing
New submission from Pascal Chambon chambon.pas...@gmail.com:
In python trunk, _set_invalid_parameter_handler() has been dropped and replaced
by custom checking functions, but in msvcrt.get_osfhandle() these checks aren't
present, so providing a bad FD leads to a crash.
Here is the little fix
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8523
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
I've committed the patch in r81233. I'm going to watch the buildbots and close
the issue if everything's fine.
--
assignee: - pitrou
resolution: - accepted
stage: patch review - committed/rejected
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7969
___
___
Python-bugs-list mailing
Changes by Nir Aides n...@winpdb.org:
Added file: http://bugs.python.org/file17370/nir-ccbench-linux.log
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7946
___
Nir Aides n...@winpdb.org added the comment:
A link to ccbench results comparing old GIL, old GIL with long check interval,
new GIL and BFS:
http://bugs.python.org/file17370/nir-ccbench-linux.log
Summary:
Results for ccbench latency and bandwidth test run on Ubuntu Karmic 64bit,
q9400
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +d...@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6916
___
___
Python-bugs-list
New submission from John W. Shipman j...@nmt.edu:
optparse's .parse_args() method has a 'values=...' keyword argument
that is documented as:
'object to store option arguments in (default: a new instance of
optparse.Values)'
There is no description of what types this argument may have.
Ronald Oussoren ronaldousso...@mac.com added the comment:
Tk has a different tracker than tcl itself, the upstream issue is now
https://sourceforge.net/tracker/?func=detailaid=3002484group_id=12997atid=112997
--
___
Python tracker
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing
Changes by Daniel Stutzbach dan...@stutzbachenterprises.com:
--
assignee: stutzbach
components: Documentation
keywords: easy
nosy: stutzbach
priority: normal
severity: normal
stage: needs patch
status: open
title: *= is undocumented for lists
versions: Python 2.7, Python 3.2
Antoine Pitrou pit...@free.fr added the comment:
A couple of buildbot failures led to fixes in r81234 and r81235. Everything
should be fine now.
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Nick Coghlan ncogh...@gmail.com:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7946
___
___
Python-bugs-list mailing
STINNER Victor victor.stin...@haypocalc.com added the comment:
I commited the fix on _ssl._test_decode_cert() as r81237 (py3k, blocked in 3.1:
r81238). Issue #8550 got accepted and uses PyUnicode_FSConverter for the
filenames (except _ssl._test_decode_cert() which is now fixed).
--
New submission from STINNER Victor victor.stin...@haypocalc.com:
PySSL_RAND_add() uses PyArg_ParseTuple(args, s#d:RAND_add, ...) and so
converts implicitly str to bytes using UTF-8. I would prefer that this function
only accepts bytes: the user will have to encode str to bytes *explicitly*.
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, I forgot to patch RAND_egd()! Fixed: r81239 (py3k, blocked in 3.1: r81240).
The whole ssl module should now be fully str+surrogates/bytes filenames
compliant :-)
--
___
Python
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This function is here to add entropy to the random numbers generator.
the kind of data is not important, and no matter which encoding is used, this
will not change the quality of the entropy.
--
nosy: +amaury.forgeotdarc
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8737
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oops, I forgot to add the new patch: subprocess_bytes_program-3.patch.
--
Added file: http://bugs.python.org/file17372/subprocess_bytes_program-3.patch
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
I think Amaury is right. You could add a test that bytes are also accepted,
though.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8737
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - fixed
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8665
___
Antoine Pitrou pit...@free.fr added the comment:
Here is an updated patch, following checkin of the new SSL contexts. Options
can be specified as an `options` property on SSL contexts.
--
nosy: +exarkun, heikki
Added file: http://bugs.python.org/file17373/sslopts3.patch
Andrew Bennetts s...@users.sourceforge.net added the comment:
Antoine: Thanks for the updated benchmark results! I should have done that
myself earlier.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8685
Changes by Antoine Pitrou pit...@free.fr:
Removed file: http://bugs.python.org/file17373/sslopts3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4870
___
Changes by Antoine Pitrou pit...@free.fr:
Added file: http://bugs.python.org/file17374/sslopts3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4870
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
the kind of data is not important, and no matter which encoding
is used, this will not change the quality of the entropy.
Ok, you are right :-)
--
resolution: - invalid
status: open - closed
Antoine Pitrou pit...@free.fr added the comment:
Updated patch adds a couple of words about SSLv2 in the security
considerations paragraph. Reviewing is welcome.
--
Added file: http://bugs.python.org/file17375/sslopts3.patch
___
Python tracker
Changes by Antoine Pitrou pit...@free.fr:
Removed file: http://bugs.python.org/file17374/sslopts3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4870
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
I asked on #python-dev about os.get_exec_path() result type. As expected, the
answer was It's a really bad idea.
So here is a new version of my patch. Summary of the patch version 4:
- subprocess.Popen() and os._execvpe() support
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file17372/subprocess_bytes_program-3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8513
___
Antoine Pitrou pit...@free.fr added the comment:
It turns out SSL_CTX_clear_options() is not available before OpenSSL 0.9.8m. I
adapted my patch to raise a ValueError when trying to clear options on older
versions of OpenSSL. Setting additional options still works, though.
--
Added
STINNER Victor victor.stin...@haypocalc.com added the comment:
I forgot to update test_os: patch version 5.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8513
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Added file: http://bugs.python.org/file17378/subprocess_bytes_program-4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8513
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file17376/subprocess_bytes_program-4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8513
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file17240/issue8513_partA.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8513
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file17261/issue8513_partA-fsencode.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8513
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file17378/subprocess_bytes_program-4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8513
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Added file: http://bugs.python.org/file17379/subprocess_bytes_program-5.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8513
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Ok, everything is ready for this issue: os.environb and os.fsencode() are
commited, and test_os is prepared to test os._execvpe() change. I'm just
waiting for a review.
Execpt the change on os.get_exec_path(), the patch is now
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file:
http://bugs.python.org/file16442/object_pyunicode_asstring-py3k.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6697
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file16502/unicode_fromformat_U.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6697
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
pymain.patch commited as r81250. Wait for the buildbot before backporting it to
3.1.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6697
82 matches
Mail list logo