New submission from david db.pub.m...@gmail.com:
Please by default enforce ssl certificate checking in modules that can have
user's which *depend* on the security of the ssl connection.
See https://bugs.launchpad.net/ubuntu/+source/offlineimap/+bug/675120
http://bugs.python.org/issue10274
New submission from david db.pub.m...@gmail.com:
Please by default enforce ssl certificate checking in modules that can have
user's which *depend* on the security of the ssl connection.
See https://bugs.launchpad.net/ubuntu/+source/offlineimap/+bug/675120
http://bugs.python.org/issue10274
Changes by Ned Deily n...@acm.org:
--
resolution: - duplicate
status: open - closed
superseder: - Please by default enforce ssl certificate checking in modules
that can have user's which *depend* on the security of the ssl connection.
___
Python
Lars Gustäbel l...@gustaebel.de added the comment:
This behaviour is intentional. A tar archive does not contain a central
directory structure, it is just a chain of files. As a side-effect it is
possible to have multiple files with the same name in one archive, e.g. when
append mode was
Changes by Ned Deily n...@acm.org:
--
nosy: +pitrou
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10441
___
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1589
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10441
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10274
___
___
Python-bugs-list
david db.pub.m...@gmail.com added the comment:
Sorry, I don't remember seeing the change-set /commit showing that is now on by
default. (for those modules).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10441
david db.pub.m...@gmail.com added the comment:
Are you referring to
http://code.python.org/hg/branches/py3k/rev/86f97255bfc8
where there is now
2.29 + .. warning::
2.30 + If neither *cafile* nor *capath* is specified, an HTTPS request
2.31 + will not do any
Antoine Pitrou pit...@free.fr added the comment:
Are you referring to
http://code.python.org/hg/branches/py3k/rev/86f97255bfc8
where there is now
2.29 + .. warning::
2.30 + If neither *cafile* nor *capath* is specified, an HTTPS
request
2.31 + will not do any
Brian Quinlan br...@sweetapp.com added the comment:
Looks good but you forgot to actually use your new Waiter ;-)
Committed as r86491.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Georg Brandl ge...@python.org added the comment:
Please mention the issue number in the commit message when applying patches or
bugfixes.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10432
Andreas Stührk andy-pyt...@hammerhartes.de added the comment:
Note that getkey() is broken, too. I attached a simple script to demonstrate
that. If you run it and enter some non-ascii input, you can see that getkey()
returns an utf-8 encoded str (in my utf-8 environment at least, I haven't
Scott Dial sc...@scottdial.com added the comment:
Good catch. I suppose it was inevitable when I transferred my changes into a
SVN checkout that I missed something. Nevertheless, your changeset in r86491
matches my own. Thanks!
--
___
Python
Antoine Pitrou pit...@free.fr added the comment:
Well, what are the usual paths for windows and linux?
Just try those(by default) and if this fails (no ca's paths work) then
raise an exception and have a parameter to disable this behaviour.
That's a possible resolution, but it needs a patch.
Stefan Krah stefan-use...@bytereef.org added the comment:
Fixed the hash in r86492, excluding the TypeError fix.
Should I fix the TypeError in both 2.7 and 3.2?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10356
New submission from Antoine Pitrou pit...@free.fr:
SSL_CTX_set_default_verify_paths allows to select the system-wide CA
certificates on an SSL context, if OpenSSL was built with the right options.
We could also try to expose those default paths by calling
X509_get_default_cert_file() /
Antoine Pitrou pit...@free.fr added the comment:
Actually, it seems OpenSSL is often built with the paths to system
certificates, which can be enabled by an undocumented function. See issue10443.
--
___
Python tracker rep...@bugs.python.org
david db.pub.m...@gmail.com added the comment:
Interesting but you may want to ask the openssl developers about this first.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10441
___
Changes by Robert Collins robe...@robertcollins.net:
--
keywords: +patch
Added file: http://bugs.python.org/file19624/rusage-thread.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10440
New submission from Michael Hughes michaelahug...@gmail.com:
We use the Python interpreter embedded in our application, and would prefer to
not block an exit of our application waiting for non-daemon threads to finish.
I would like a mechanism exposed that queries for whether or not to wait.
Michael Hughes michaelahug...@gmail.com added the comment:
I have a patch here.
It is to allow for a callback to be set on the main thread which gets called
when there are non-daemon threads still alive on exit.
The callback returns True or False indicating whether or not it wants to block.
By
Changes by Michael Hughes michaelahug...@gmail.com:
Removed file: http://bugs.python.org/file19625/threadingchange.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10444
___
Michael Hughes michaelahug...@gmail.com added the comment:
Scratch that last patch. It was missing part of the fix.
I've removed the old patch now, and submitted the proper one.
--
Added file: http://bugs.python.org/file19626/real.patch
___
Python
New submission from Emile Anclin emile.anc...@logilab.fr:
For Python3x, in the tree generated by _ast, for the args node (representing
an argument of a function), the lineno (and the col_offset) information
disappeared from those nodes.
It would be nice to have them back (for instance for
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
How do you use it?
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10444
___
Michael Hughes michaelahug...@gmail.com added the comment:
To use the callback, you can do this:
import threading
def threadendcallback():
# return False to indicate that we don't
# want to wait for any threads before exiting
return False
Skip Montanaro s...@pobox.com added the comment:
Why is setting your threads as daemons not an option?
--
nosy: +skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10444
___
Jeff Hull jsh2...@gmail.com added the comment:
I also have this problem with text getting replaced with the exclamation point.
I am using this class.
from email.MIMEText import MIMEText
Perhaps it didn't work for you because you didn't send it via email.
try this code
msgAlternative
David Nesting da...@fastolfe.net added the comment:
Thanks, Lars. And this does make complete sense to me in retrospect.
Better documentation here would help a lot. I'm happy to take a stab at this.
Short of labeling methods as safe for streaming versus unsafe for
streaming, it occurs to
R. David Murray rdmur...@bitdance.com added the comment:
Perhaps.
You can help narrow this down by doing the following: In your program do a
'print msg.as_string()' and see if you see the ! problem there.
If not, try using several different SMTP servers to send your email. If the !
problem
Antoine Pitrou pit...@free.fr added the comment:
Thank you! I've committed the patch in r86493.
--
nosy: +pitrou
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
New submission from Alexander Belopolsky belopol...@users.sourceforge.net:
$ pydoc3.1 pydoc
Help on module pydoc:
NAME
pydoc - Generate Python documentation in HTML or text for interactive use.
FILE
/opt/local/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/pydoc.py
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
nosy: +d...@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10446
___
Antoine Pitrou pit...@free.fr added the comment:
Here is a patch.
--
keywords: +patch
stage: - patch review
Added file: http://bugs.python.org/file19627/default_verify_paths.patch
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Pushed in 2c5c6d3f399b, thanks.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10411
Antoine Pitrou pit...@free.fr added the comment:
Woops, sorry, wrong issue.
--
resolution: fixed -
stage: committed/rejected - patch review
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10411
Antoine Pitrou pit...@free.fr added the comment:
Pushed in 2c5c6d3f399b, thanks.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10412
Antoine Pitrou pit...@free.fr added the comment:
Pushed in 92088733aade and 8dd7a860a2fa, thanks.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Marc-Andre Lemburg m...@egenix.com added the comment:
Alexander Belopolsky wrote:
If you have time, please take a look at
PyUnicode_As{En,De}codedObject() and
PyUnicode_As{En,De}DecodedUnicode() documentation in the attached
patch.
Thanks. I'll try to have a look later tonight.
Stefan Behnel sco...@users.sourceforge.net added the comment:
I agree that this is annoying, we get the same thing in Cython's test suite all
over the place. Any foreign warning that doesn't get triggered helps in
debugging your own code. And this one is easy to avoid.
--
nosy:
Changes by Kapil Thangavelu kapil.f...@gmail.com:
--
nosy: +hazmat
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4111
___
___
Python-bugs-list
Georg Brandl ge...@python.org added the comment:
+1 to all. What about the best of both worlds: MODULE REFERENCE?
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10446
Jesús Cea Avión j...@jcea.es added the comment:
Dave, we need some kind of documentation, if we expect to ship this in Python
3.2. The deadline is only 10-15 days away.
Could you write something able to be in the standard documentation?.
--
___
Terry J. Reedy tjre...@udel.edu added the comment:
I presume you mean this:
if self._is_special:
if self.is_snan():
-raise TypeError('Cannot hash a signaling NaN value.')
+raise ValueError('Cannot hash a signaling NaN value.')
My
New submission from Sridhar Ratnakumar sridh...@activestate.com:
When extracting a zip file containing deep hierarchy files, `extractall` throws
IOError on Windows - perhaps due to limitation in Windows max path length.
Ideally it should be throwing an instance of zipfile.ZipError - so that
Sridhar Ratnakumar sridh...@activestate.com added the comment:
It appears that there is no base class (zipfile.ZipError) for zipfile errors.
Maybe there should be? At the moment, I do:
try:
[...]
except zipfile.BadZipFile, zipfile.LargeZipFile:
[...]
.. which is of course unreliable.
New submission from Bobby Impollonia bob...@gmail.com:
The Benchmark Suite currently contains two template benchmarks (Django and
Spitfire) for Python 2.x, but none that support 3.x.
The attached patch adds a benchmark using Mako (http://www.makotemplates.org/),
a popular, pure-Python,
Antoine Pitrou pit...@free.fr added the comment:
Uh, after translation I get a SystemError when trying to run the Mako bench
under the current py3k SVN:
$ PYTHONPATH=lib/mako/ /home/antoine/py3k/py3k/python ./performance/bm_mako.py
-n 25
Traceback (most recent call last):
File
Antoine Pitrou pit...@free.fr added the comment:
Committed in r86498.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10443
Bobby Impollonia bob...@gmail.com added the comment:
Did you convert the project using make_perf3.sh? This benchmark is in the 2to3
group and not the 2n3 group because it won't work without conversion.
Using the attached patch, the following sequence of commands works for me to
run the
Antoine Pitrou pit...@free.fr added the comment:
This looks ok to me.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9518
___
___
Antoine Pitrou pit...@free.fr added the comment:
Did you convert the project using make_perf3.sh?
Yes. But given the error (SystemError) I guess this is a regression in
py3k. I'll apply your patch and open a separate issue to try and make
sense of the regression.
--
Éric Araujo mer...@netwok.org added the comment:
+1 to Georg. Note that there are people that feel uncomfortable with calling
packages modules, but not me.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Dave Malcolm dmalc...@redhat.com added the comment:
Fix committed to py3k as r86499
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9518
___
___
Marc-Andre Lemburg m...@egenix.com added the comment:
Thanks for your work on this.
Please see my comments below:
--- Include/unicodeobject.h (revision 86478)
+++ Include/unicodeobject.h (working copy)
@@ -737,7 +737,7 @@
const char *errors /* error handling */
);
Éric Araujo mer...@netwok.org added the comment:
Nearly all classes in threading uses this function/class indirection, which I
don’t understand (except for RLock, which is a factory function).
--
assignee: d...@python -
nosy: +eric.araujo
versions: +Python 3.2 -Python 2.6, Python 3.0
Éric Araujo mer...@netwok.org added the comment:
Patch looks good.
By the way, the logger argument is not documented in shutil.rst.
--
nosy: +eric.araujo
stage: - patch review
versions: -Python 2.6, Python 3.3
___
Python tracker
Changes by Éric Araujo mer...@netwok.org:
--
versions: +Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7325
___
___
Changes by Éric Araujo mer...@netwok.org:
--
versions: -Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7325
___
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
How would you implement this? And would you turn a disk full error, for
example, into a ZipError as well?
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
versions: +Python 3.1, Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10447
___
Sridhar Ratnakumar sridh...@activestate.com added the comment:
How would you implement this? And would you turn a disk full error, for
example, into a ZipError as well?
I see your point. I am not sure what a reliable way to do this would be. For
the record, this is how I workaround it:
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
The attached patch, issue10446.diff, makes help(sys) look as follows:
NAME
sys
MODULE REFERENCE
http://docs.python.org/release/3.2/library/sys
The following documentation is automatically generated from
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10446
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I think you did the right thing already. The choice of which errors to catch
and which ones to let throw really depends on the usage
(what about permission or lock errors? other limitations due to a USB stick?
why is disk full
New submission from Éric Araujo mer...@netwok.org:
Bug title is a warning I get when running test_httpservers under regrtest with
3.1.
--
components: Tests
messages: 121393
nosy: eric.araujo, orsenthil
priority: low
severity: normal
stage: needs patch
status: open
title: “os.environ
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10384
___
___
Python-bugs-list
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
assignee: d...@python - belopolsky
nosy: +belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7828
___
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
nosy: +belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9738
___
___
Éric Araujo mer...@netwok.org added the comment:
Looks good. Some remarks:
1) I assume you have checked that this code does not produce two newlines (one
in the string, one from the print function or write method):
+[snip], consult the module reference at the location listed above.
+)
2) “If
Ron Adam ron_a...@users.sourceforge.net added the comment:
I just noticed I used depreciated in place of deprecated in one of the doc
strings. I can upload a new patch with that fixed.
Before I do that, is there any thing else I can do?
Do you agree that the browse function should be public?
Changes by Éric Araujo mer...@netwok.org:
--
keywords: -easy
versions: -Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2775
___
Éric Araujo mer...@netwok.org added the comment:
Adding our esteemed Windows experts for review.
--
components: +Windows
nosy: +brian.curtin, eric.araujo, tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5717
Éric Araujo mer...@netwok.org added the comment:
The reversed call was added by Brett in r60537. Brett, can you comment?
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4010
Changes by Éric Araujo mer...@netwok.org:
--
keywords: -easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4010
___
___
Python-bugs-list mailing
Éric Araujo mer...@netwok.org added the comment:
Hello Jan. Can you give us a status update on this one?
Iztok: There is a lot of code out there, written in anything from Python to awk
to shell, that splits on “:”. Perhaps it’s okay to just not support “:” in
directory names.
--
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Wed, Nov 17, 2010 at 7:28 PM, Éric Araujo rep...@bugs.python.org wrote:
Éric Araujo mer...@netwok.org added the comment:
Looks good. Some remarks:
1) I assume you have checked that this code does not produce two
Éric Araujo mer...@netwok.org added the comment:
I think Tools/scripts/which.py is obsoleted by the upcoming shutil.which
function.
--
nosy: +eric.araujo
resolution: - duplicate
stage: unit test needed - committed/rejected
status: open - closed
superseder: - Finding programs in PATH,
Brett Cannon br...@python.org added the comment:
When I did the patch they were coming in reversed, so I reversed the reversal.
Obviously something changed so now the manual reversal is not necessary anymore.
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Anatoly: Please open a feature request for distutils2. Thanks in advance.
Craig: This seems to have fallen out of the radar, sorry. Someone may propose
a patch during the upcoming bug week-end, or we’ll do it.
--
nosy: +eric.araujo
Éric Araujo mer...@netwok.org added the comment:
I don’t think there can be a unit test for that, so do we agree on just
removing the reversed call?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4010
Éric Araujo mer...@netwok.org added the comment:
The bug reported by Skip looks like something to be done with ./configure.
When this is solved, I think this bug with its original title should be kept
open. Let’s refactor setup.py into something manageable and testable.
--
Éric Araujo mer...@netwok.org added the comment:
For this particular bug, we could add a check for the shebang line in
distutils1’ build_scripts, so that a second run can detect it should rebuild
the scripts even though the source has not changed. Or is there a rule that
says build_* command
Éric Araujo mer...@netwok.org added the comment:
(Side note: Specifying optional/required extensions from the command line may
be an interesting new feature in distutils2.)
--
nosy: +eric.araujo
versions: -Python 2.6, Python 2.7, Python 3.1
___
Éric Araujo mer...@netwok.org added the comment:
We need to add a test for this behavior, to make sure it is fixed and to
prevent regressions.
--
components: +Distutils2
nosy: +eric.araujo
versions: +3rd party
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Not reading .pydistutils.cfg during CPython’s build seems a good idea to me. I
would like confirming opinions.
--
components: +Build
nosy: +barry, eric.araujo, loewis
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6
Brett Cannon br...@python.org added the comment:
On Wed, Nov 17, 2010 at 17:19, Éric Araujo rep...@bugs.python.org wrote:
Éric Araujo mer...@netwok.org added the comment:
I don’t think there can be a unit test for that, so do we agree on just
removing the reversed call?
As long as the
Changes by Éric Araujo mer...@netwok.org:
--
components: +Distutils2
keywords: +easy
resolution: accepted -
title: python setup.py MYCOMMAND --verbose does not yield an unrecognized
option error but also does not set the verbosity - python setup.py cmd
--verbose does not set
Éric Araujo mer...@netwok.org added the comment:
Sridhar, can you test with the envvar PYTHONIOENCODING set to UTF-8?
--
nosy: +eric.araujo
versions: +Python 2.7 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6166
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: +Python 3.2 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8406
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
stage: unit test needed - needs patch
versions: -Python 2.6, Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7713
Changes by Éric Araujo mer...@netwok.org:
--
components: +Distutils2
keywords: +easy
title: distutils, better error message for setup.py upload -sign without
identity. - improve error message for setup.py upload --sign without --identity
versions: +3rd party -Python 2.6
Éric Araujo mer...@netwok.org added the comment:
See #4655. (Not sure which one is the superseder.)
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6138
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Committed in r86504 (3.2) and r86504 (3.1).
--
resolution: - accepted
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
The regex is still the same. I’ll try changing the version string in sqlite
and trigger the bug.
--
assignee: ghaering -
nosy: +eric.araujo, tarek
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
s/r86504 (3.1)/r86505 (3.1)/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10446
___
Éric Araujo mer...@netwok.org added the comment:
A question about process: Should every import bug be reported against core and
library, so that importlib gets patched too?
--
nosy: +eric.araujo
versions: -Python 2.7
___
Python tracker
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Committed in r86504 (3.2) and r86505 (3.1).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10446
___
1 - 100 of 140 matches
Mail list logo