[issue8721] urlparse.urlsplit regression in 2.7

2010-05-16 Thread Senthil Kumaran

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)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8721
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8633] tarfile doesn't support undecodable filename in PAX format

2010-05-16 Thread Lars Gustäbel

Changes by Lars Gustäbel l...@gustaebel.de:


--
assignee:  - lars.gustaebel

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8633
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8692] Use divide-and-conquer for faster factorials

2010-05-16 Thread Mark Dickinson

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8716] test_tk fails on OS X if run from buildbot slave daemon -- crashes Python

2010-05-16 Thread Ronald Oussoren

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 for 'tk bug tracker').

--
nosy: +ronaldoussoren

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8716
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8716] test_tk fails on OS X if run from buildbot slave daemon -- crashes Python

2010-05-16 Thread Ronald Oussoren

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 an uncaught Objective-C 
exception (as seen in msg105735)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8716
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8716] test_tk fails on OS X if run from buildbot slave daemon -- crashes Python

2010-05-16 Thread Ronald Oussoren

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 @ CGErrorBreakpoint() to catch errors as they are logged.
_RegisterApplication(), FAILED TO establish the default connection to the 
WindowServer, _CGSDefaultConnection() is NULL.
Tkinter.Tk instance at 0x100592d88
 2010-05-16 12:11:08.771 python.exe[55984:903] setCanCycle: is deprecated.  
 Please use setCollectionBehavior instead
Unexpected Objective-C exception in Tk


This isn't ideal though, especially because the patch requires that you build 
using an SDK or explicitly specify a deployment target 
(MACOSX_DEPLOYMENT_TARGET=10.5) during build.

Another reason to dislike this: the errors are swallowed instead of propagated 
to Python code.

I haven't checked yet if this patch allows you to run the tests without 
crashing.

--
keywords: +patch
Added file: http://bugs.python.org/file17359/issue-8716.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8716
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8716] test_tk fails on OS X if run from buildbot slave daemon -- crashes Python

2010-05-16 Thread Ronald Oussoren

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 must be specified early on the GCC command-line and I haven't 
been able to trick distutils in passing the flags at the right place yet.

Just adding ['-x', 'objective-c'] to the extra_compile_args argument to 
Extension does not work: that appends the flags to the compiler command-line 
while the -x flag only works when it is before the name of the source file(s).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8716
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5766] Mac/scripts/BuildApplet.py reset of sys.executable during install can cause it to use wrong modules

2010-05-16 Thread Ronald Oussoren

Changes by Ronald Oussoren ronaldousso...@mac.com:


--
assignee:  - ronaldoussoren

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5766
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-05-16 Thread Ronald Oussoren

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
Added file: http://bugs.python.org/file17360/always-regen-manifest.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8688
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8550] Expose SSL contexts

2010-05-16 Thread Antoine Pitrou

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
legacy API). I agree it's reasonable to issue a warning. I don't think
we should remove it until OpenSSL itself does, though.

 The documentation should mention that verify_mode=CERT_REQUIRED is 
 recommended for security.

I think we should recommend CERT_OPTIONAL. A server running with
CERT_REQUIRED would refuse clients without a client certificate, which
is probably not common practice for most servers.

(CERT_OPTIONAL is SSL_VERIFY_PEER, and
 CERT_REQUIRED is SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT.
The OpenSSL doc says there's no different between both when in client
mode)

 I think you need to expose SSL_CTX_set_options(). Currently the code
 just sets all options, which means that the default protocol SSLv23
 will accept SSLv2 which is insecure. Most people would want to
 probably do something like ctx.set_options(SSL_OP_ALL |
 SSL_OP_NO_SSLv2).

There is a separate issue for it (whose patch I will update to use the
new context API when it is committed):
http://bugs.python.org/issue4870
Do note that OpenSSL 1.0.0 disables SSLv2 by default when using SSLv23,
by the way.

 Otherwise I could not see issues with the code, apart from the still
 #if 0'd out sections and commented out sections, which you are
 planning on doing something about, right?

Yes, there's a bit of cleanup work remaining.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8550
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-05-16 Thread Tarek Ziadé

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 modules, with an existing 
MANIFEST, they won't be added.

IOW, the MANIFEST file should be recalculated *everytime*. I am going to remove 
all the don't rebuilt MANIFEST code in Distutils *and* Distutils2.

--
components: +Distutils2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8688
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-05-16 Thread Tarek Ziadé

Changes by Tarek Ziadé ziade.ta...@gmail.com:


--
priority: normal - high

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8688
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3754] cross-compilation support for python build

2010-05-16 Thread Roumen Petrov

Roumen Petrov bugtr...@roumenpetrov.info added the comment:

As part of issue 8510 (update to autoconf2.65) configure script is modernized 
and most of  updates from patches attached to this issue now are in repository.

Starting from 16 may new patches will include in addition minimal updates of 
setup.py and Makefile.pre.in (moved from issue 3871) : 
- build modules with system python (from 3871).
- configure ctypes with same arguments as top configure (new)

--
title: minimal cross-compilation support for configure - cross-compilation 
support for python build
Added file: http://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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3871] cross and native build of python for mingw32 with distutils

2010-05-16 Thread Roumen Petrov

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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3871
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3754] cross-compilation support for python build

2010-05-16 Thread Roumen Petrov

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3754] cross-compilation support for python build

2010-05-16 Thread Roumen Petrov

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3754] cross-compilation support for python build

2010-05-16 Thread Roumen Petrov

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3754] cross-compilation support for python build

2010-05-16 Thread Roumen Petrov

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3754] cross-compilation support for python build

2010-05-16 Thread Roumen Petrov

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3754] cross-compilation support for python build

2010-05-16 Thread Roumen Petrov

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8699] Equality and hashing for functools.partial

2010-05-16 Thread Daniel Urban

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 rep...@bugs.python.org
http://bugs.python.org/issue8699
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8730] Spurious test failure in distutils

2010-05-16 Thread Ronald Oussoren

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 13, in test_main
test_support.run_unittest(distutils.tests.test_suite())
  File /home/xsupport/rtest/python-trunk/Lib/test/test_support.py, line 1038, 
in run_unittest
_run_suite(suite)
  File /home/xsupport/rtest/python-trunk/Lib/test/test_support.py, line 1021, 
in _run_suite
raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File 
/home/xsupport/rtest/python-trunk/Lib/distutils/tests/test_archive_util.py, 
line 167, in test_compress_deprecated
make_tarball(base_name, 'dist', compress='compress')
  File /home/xsupport/rtest/python-trunk/Lib/distutils/archive_util.py, line 
116, in make_tarball
spawn(cmd, dry_run=dry_run)
  File /home/xsupport/rtest/python-trunk/Lib/distutils/spawn.py, line 34, in 
spawn
_spawn_posix(cmd, search_path, dry_run=dry_run)
  File /home/xsupport/rtest/python-trunk/Lib/distutils/spawn.py, line 141, in 
_spawn_posix
(cmd[0], exit_status)
DistutilsExecError: command 'compress' failed with exit status 1


This system has a fake 'compress' command that only supports uncompress 
functionality:

$ compress --help
Usage: compress OPTION FILE
Dummy script for uncompressing legacy shar files.

with OPTION in:
  --help  display this help and exit
  --version   output version information and exit

  -d  uncompress

Use `gzip' for compressing files.

--
assignee: tarek
components: Distutils
messages: 105862
nosy: ronaldoussoren, tarek
priority: normal
severity: normal
stage: needs patch
status: open
title: Spurious test failure in distutils
type: behavior
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8730
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8731] BeOS for 2.7 - add to unsupported

2010-05-16 Thread Roumen Petrov

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: open
title: BeOS for 2.7 - add to unsupported
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file17364/python-2.7-beos-unsupported.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8731
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8730] Spurious test failure in distutils

2010-05-16 Thread Tarek Ziadé

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.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8730
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3686] PKG-INFO file should differentiate between authors and maintainers

2010-05-16 Thread Tarek Ziadé

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8731] BeOS for 2.7 - add to unsupported

2010-05-16 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
nosy: +loewis

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8731
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8730] Spurious test failure in distutils

2010-05-16 Thread Ronald Oussoren

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 tracker rep...@bugs.python.org
http://bugs.python.org/issue8730
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1285086] urllib.quote is too slow

2010-05-16 Thread Florent Xicluna

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1285086] urllib.quote is too slow

2010-05-16 Thread Florent Xicluna

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1285086] urllib.quote is too slow

2010-05-16 Thread Florent Xicluna

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1285086] urllib.quote is too slow

2010-05-16 Thread Florent Xicluna

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8557] subprocess PATH semantics and portability

2010-05-16 Thread Dave Abrahams

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:


def full_executable_path(invoked, environ):

if os.path.splitext(invoked)[1]:
return invoked

explicit_dir = os.path.dirname(invoked)

if explicit_dir:
path = [ explicit_dir ]
else:
path = environ.get('PATH').split(os.path.pathsep)

extensions = environ.get(
'PATHEXT',
# Use *something* in case the environment variable is
# empty.  These come from my machine's defaults
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1'
).split(os.path.pathsep)

for dir in path:
for ext in extensions:
full_path = os.path.join(dir, invoked+ext)
if os.path.exists( full_path ):
return full_path

return invoked # Not found; invoking it will likely fail

class Popen(subprocess.Popen):
def __init__(
self, args, bufsize=0, executable=None,
stdin=None, stdout=None, stderr=None,
preexec_fn=None, close_fds=False, shell=False, 
cwd=None, env=None, 
*args_, **kw):

if executable is None and not shell:
executable = full_executable_path(args[0], env or os.environ)

super(Popen,self).__init__(
args, bufsize, executable, stdin, stdout, stderr, 
preexec_fn, close_fds, shell, cwd, env, *args_, **kw)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8557
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1285086] urllib.quote is too slow

2010-05-16 Thread Florent Xicluna

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):
if not s or not s.rstrip(safe):
return s
return ''.join(map(safe_get, s))


On 3.2 the fastest implementation uses list comprehension:

def quote_from_bytes(s):
if not s:
return ''
if not s.rstrip(safe):
return s.decode()
return ''.join([quoter(c) for c in s])


Note: the regexp implementation is slower in both cases.

--
Added file: http://bugs.python.org/file17365/quotebench.py

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1285086
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1285086] urllib.quote is too slow

2010-05-16 Thread Florent Xicluna

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1285086] urllib.quote is too slow

2010-05-16 Thread Florent Xicluna

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
http://bugs.python.org/issue1285086
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8732] Should urrllib2.urlopen send an Accept-Encoding header?

2010-05-16 Thread Dave Abrahams

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 better to inject an Accept-Encoding header when none is explicitly supplied 
so that nobody else trips over this issue.

See http://support.github.com/discussions/site/1510

--
components: Library (Lib)
messages: 105870
nosy: dabrahams
priority: normal
severity: normal
status: open
title: Should urrllib2.urlopen send an Accept-Encoding header?
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8732
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8550] Expose SSL contexts

2010-05-16 Thread Antoine Pitrou

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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8550
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8733] list type and UserList do not call super in __init__ and therefore, they cannot be parents in a multiple inheritence scheme

2010-05-16 Thread alon horev

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
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8733
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4931] distutils does not show any error msg when can't build C module extensions due to a missing C compiler

2010-05-16 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +merwok

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4931
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue808129] Change --changelog to accept files

2010-05-16 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +merwok

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue808129
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8734] msvcrt get_osfhandle crash on bad FD

2010-05-16 Thread Pascal Chambon

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 + a test (added to test_fileio, because I can't find 
unit tests for the msvcrt builtin, and similar bad fd cases are treated 
there).

--
components: IO
files: msvcrt_crash.patch
keywords: patch
messages: 105872
nosy: pakal
priority: normal
severity: normal
status: open
title: msvcrt get_osfhandle crash on bad FD
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file17369/msvcrt_crash.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8734
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8523] shutil.rmtree and os.listdir cannot recover on error conditions

2010-05-16 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +merwok

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8523
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8550] Expose SSL contexts

2010-05-16 Thread Antoine Pitrou

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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8550
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7969] shutil.copytree error handling non-standard and partially broken

2010-05-16 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +merwok

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7969
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7946] Convoy effect with I/O bound threads and New GIL

2010-05-16 Thread Nir Aides

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7946] Convoy effect with I/O bound threads and New GIL

2010-05-16 Thread Nir Aides

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 2.6GHz, all Python versions built with computed gotos optimization.

Old GIL:
Hi level of context switching and reduced performance. 
~90ms IO latency with pure Python CPU bound background threads and low IO 
bandwidth results.

Old GIL with sys.setcheckinterval(2500) as done by Zope:
Context switching level back to normal.
IO latency shoots through the roof. ~950ms (avg) is the maximum recordable 
value in this test since CPU load duration is 2sec.

New GIL:
The expected 5ms wait related IO latency and low IO bandwidth.

BFS patch:
Behaves.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7946
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6916] Remove deprecated items from asynchat

2010-05-16 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +d...@python

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6916
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8735] optparse: parse_args(values=...) does not set up default values

2010-05-16 Thread John W. Shipman

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.
I was writing a class to digest the command line, and my bright
idea was to request that .parse_args deposit the attribute
values right into 'self' in the class constructor.

This works only for arguments that were actually specified; it
stores no attribute value at all for missing options that have
associated default options.

Below is a small script that demonstrates this behavior.  It
accepts one '-t' option, with default value 'DEFAULT'.  Here
is the output when the option is specified, and when it is not:

$ bad -t foo
foo
$ bad
Traceback (most recent call last):
  File bad, line 23, in module
main()
  File bad, line 13, in main
print args.test
AttributeError: Args instance has no attribute 'test'

Here is the test script:

#!/usr/bin/env python
#
# bad:  Demonstrate defect in optparse.
#   I want optparse to honor the .parse_args(values=...)
#  argument to store the attributes directly in self in the
#  constructor.  It works only for options actually specified;
#  default values are not copied into self.
#
import sys, optparse

def main():
args = Args()
print args.test

class Args:
def __init__(self):
parser = optparse.OptionParser()
parser.add_option ( -t, --test, dest=test,
type=string, default=DEFAULT )
discard, positionals = parser.parse_args(values=self)

if __name__ == __main__:
main()
--

--
components: Library (Lib)
messages: 105875
nosy: j...@nmt.edu
priority: normal
severity: normal
status: open
title: optparse: parse_args(values=...) does not set up default values
type: behavior
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8735
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8716] test_tk fails on OS X if run from buildbot slave daemon -- crashes Python

2010-05-16 Thread Ronald Oussoren

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 rep...@bugs.python.org
http://bugs.python.org/issue8716
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2010-05-16 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +merwok

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8736] *= is undocumented for lists

2010-05-16 Thread Daniel Stutzbach

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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8736
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8550] Expose SSL contexts

2010-05-16 Thread Antoine Pitrou

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
http://bugs.python.org/issue8550
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7946] Convoy effect with I/O bound threads and New GIL

2010-05-16 Thread Nick Coghlan

Changes by Nick Coghlan ncogh...@gmail.com:


--
nosy: +ncoghlan

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7946
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8477] _ssl: support surrogates in filenames, and bytes/bytearray filenames

2010-05-16 Thread STINNER Victor

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).

--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8477
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8737] ssl.RAND_add() should only accept bytes (not str)

2010-05-16 Thread STINNER Victor

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*.

Attached patch replace s# format by y# format.

--
components: Library (Lib)
files: ssl_rand_add_bytes.patch
keywords: patch
messages: 105879
nosy: haypo
priority: normal
severity: normal
status: open
title: ssl.RAND_add() should only accept bytes (not str)
versions: Python 3.2
Added file: http://bugs.python.org/file17371/ssl_rand_add_bytes.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8737
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8477] _ssl: support surrogates in filenames, and bytes/bytearray filenames

2010-05-16 Thread STINNER Victor

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 tracker rep...@bugs.python.org
http://bugs.python.org/issue8477
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8737] ssl.RAND_add() should only accept bytes (not str)

2010-05-16 Thread Amaury Forgeot d'Arc

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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8737
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8737] ssl.RAND_add() should only accept bytes (not str)

2010-05-16 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@haypocalc.com:


--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8737
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8513] subprocess: support bytes program name (POSIX)

2010-05-16 Thread STINNER Victor

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 rep...@bugs.python.org
http://bugs.python.org/issue8513
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8737] ssl.RAND_add() should only accept bytes (not str)

2010-05-16 Thread Antoine Pitrou

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8665] make pycremoval fails

2010-05-16 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
resolution:  - fixed
status: pending - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8665
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4870] ssl module is missing SSL_OP_NO_SSLv2

2010-05-16 Thread Antoine Pitrou

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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4870
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8685] set(range(100000)).difference(set()) is slow

2010-05-16 Thread Andrew Bennetts

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4870] ssl module is missing SSL_OP_NO_SSLv2

2010-05-16 Thread Antoine Pitrou

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4870] ssl module is missing SSL_OP_NO_SSLv2

2010-05-16 Thread Antoine Pitrou

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8737] ssl.RAND_add() should only accept bytes (not str)

2010-05-16 Thread STINNER Victor

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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8737
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4870] ssl module is missing SSL_OP_NO_SSLv2

2010-05-16 Thread Antoine Pitrou

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 rep...@bugs.python.org
http://bugs.python.org/issue4870
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4870] ssl module is missing SSL_OP_NO_SSLv2

2010-05-16 Thread Antoine Pitrou

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8513] subprocess: support bytes program name (POSIX)

2010-05-16 Thread STINNER Victor

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 bytes program name
 - os.get_exec_path() now supports b'PATH' key and bytes value
 - add os.supports_bytes_environ flag: True if the native OS type of the 
environment is bytes (eg. False on Windows)

Changes since the version 3:
 - document the new os.supports_bytes_environ flag
 - os.get_exec_path() result type is always str (decode bytes to str using 
sys.getfilesystemencoding() + surrogateescape)
 - path.supports_unicode_filenames is False on Windows 9x but Windows 9x native 
type is unicode and so fsencode() should not be defined on this OS: revert the 
fsencode() test (if not path.supports_unicode_filenames = if name != 'nt')

--
Added file: http://bugs.python.org/file17376/subprocess_bytes_program-4.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8513
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8513] subprocess: support bytes program name (POSIX)

2010-05-16 Thread STINNER Victor

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4870] ssl module is missing SSL_OP_NO_SSLv2

2010-05-16 Thread Antoine Pitrou

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 file: http://bugs.python.org/file17377/sslopts4.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4870
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8513] subprocess: support bytes program name (POSIX)

2010-05-16 Thread STINNER Victor

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8513] subprocess: support bytes program name (POSIX)

2010-05-16 Thread STINNER Victor

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8513] subprocess: support bytes program name (POSIX)

2010-05-16 Thread STINNER Victor

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8513] subprocess: support bytes program name (POSIX)

2010-05-16 Thread STINNER Victor

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8513] subprocess: support bytes program name (POSIX)

2010-05-16 Thread STINNER Victor

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8513] subprocess: support bytes program name (POSIX)

2010-05-16 Thread STINNER Victor

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8513] subprocess: support bytes program name (POSIX)

2010-05-16 Thread STINNER Victor

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8513] subprocess: support bytes program name (POSIX)

2010-05-16 Thread STINNER Victor

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 simple.

--
keywords: +needs review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8513
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6697] Check that _PyUnicode_AsString() result is not NULL

2010-05-16 Thread STINNER Victor

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6697] Check that _PyUnicode_AsString() result is not NULL

2010-05-16 Thread STINNER Victor

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6697] Check that _PyUnicode_AsString() result is not NULL

2010-05-16 Thread STINNER Victor

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com