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

2011-05-19 Thread Ameya Lokare
Ameya Lokare lokare.am...@gmail.com added the comment: I've attached a proposed doc patch. I figured I'd move the Error argument format in the description of shutil.copytree, since the format is different for other functions (shutil.move, for example). -- keywords: +patch nosy:

[issue4934] tp_del and tp_version_tag undocumented

2011-05-19 Thread Martin von Gagern
Changes by Martin von Gagern martin.vgag...@gmx.net: -- nosy: +gagern ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4934 ___ ___ Python-bugs-list

[issue12068] test_logging failure in test_rollover

2011-05-19 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: It's not the same error, but there's no point opening another issue for it. The earlier error occurred more frequently, and was specifically due to some changes I made, whereas this error hasn't occurred before and appears to be due to

[issue11969] Can't launch multiproccessing.Process on methods

2011-05-19 Thread Ram Rachum
Ram Rachum cool...@cool-rr.com added the comment: Test attached. -- Added file: http://bugs.python.org/file22027/test.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11969 ___

[issue1746656] IPv6 Interface naming/indexing functions

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Here's a patch: - those functions now accept and return str, not bytes arrays You use UTF-8 encoding: +Is, ni[i].if_index, ni[i].if_name); +if (!PyArg_ParseTuple(args, s:if_nametoindex, ifname)) You should

[issue1746656] IPv6 Interface naming/indexing functions

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Example with a non-ASCII interface name: $ sudo tunctl -u haypo -t unicodeé Set 'unicodeé' persistent and owned by uid 1000 $ sudo ifconfig -a|grep unicode|hexdump -C 75 6e 69 63 6f 64 65 c3 a9 20 4c 69 6e 6b 20 65

[issue12107] TCP listening sockets created without FD_CLOEXEC flag

2011-05-19 Thread Christophe Devriese
New submission from Christophe Devriese christophe.devri...@gmail.com: The specific issue this is creating is that a malicious user could use this socket in a subprocess which is started from a library (ie. I'm using a .so, which calls fork/exec). A second failure mode is starting a daemon

[issue12107] TCP listening sockets created without FD_CLOEXEC flag

2011-05-19 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12107 ___ ___

[issue12108] test_packaging monkeypatches httplib

2011-05-19 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: pitrou priority: normal severity: normal status: open title: test_packaging monkeypatches httplib ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12108

[issue12109] test_packaging monkeypatches httplib

2011-05-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: == ERROR: test_https (test.test_urllib2_localnet.TestUrlopen) -- Traceback (most recent call last): File

[issue12110] test_packaging monkeypatches httplib

2011-05-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: == ERROR: test_https (test.test_urllib2_localnet.TestUrlopen) -- Traceback (most recent call last): File

[issue12111] email's use of __setitem__ is highly counterintuitive

2011-05-19 Thread Toni Mueller
New submission from Toni Mueller tonimuel...@users.sourceforge.net: email's usage of __setitem__ is highly counterintuitive to the point of being dangerous. The documented behaviour is (quote): __setitem__(name, val) Add a header to the message with field name name and value val. The

[issue12110] test_packaging monkeypatches httplib

2011-05-19 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - duplicate status: open - closed superseder: - test_packaging monkeypatches httplib ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12110

[issue12108] test_packaging monkeypatches httplib

2011-05-19 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12108 ___

[issue12109] test_packaging monkeypatches httplib

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: $ grep -r https_conn_wrapper * Lib/packaging/tests/test_command_upload_docs.py:146:def https_conn_wrapper(*args): Lib/packaging/tests/test_command_upload_docs.py:152: upload_docs_mod.http.client.HTTPSConnection =

[issue12109] test_packaging monkeypatches httplib

2011-05-19 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 56aa0aca7186 by Tarek Ziade in branch 'default': Issue #12109 fixing typo in packaging's test_command_upload_docs http://hg.python.org/cpython/rev/56aa0aca7186 -- nosy: +python-dev ___

[issue12111] email's use of __setitem__ is highly counterintuitive

2011-05-19 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This is a long-standing design choice in the email package. If you want to advocate for changing it, please join the email-sig mailing list (see mail.python.org). We are in the process of developing a new version, which will at least

[issue12112] The new packaging module should not use the locale encoding

2011-05-19 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: The locale encoding is not portable, packaging should use UTF-8 instead. Attached patch is a draft to workaround LANG=C ./python -m test test_packaging failures. I'm not sure that my test in Metadata.write_file() of

[issue12112] The new packaging module should not use the locale encoding

2011-05-19 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- components: +Library (Lib) nosy: +eric.araujo, tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12112 ___

[issue12112] The new packaging module should not use the locale encoding

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also issue #9561 (distutils: set encoding to utf-8 for input and output files) and #6011 (python doesn't build if prefix contains non-ascii characters). If you are curious, read also #8611 (Python3 doesn't support locale

[issue12112] The new packaging module should not use the locale encoding

2011-05-19 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Looks good, please commit this -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12112 ___ ___

[issue12113] test_packaging fails when run twice

2011-05-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: $ ./python -m test -Fv -unetwork test_packaging [...] == ERROR: test_download (packaging.tests.test_pypi_dist.TestDistInfo)

[issue12109] test_packaging monkeypatches httplib

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Looks good here, thank you :) -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12109

[issue12113] test_packaging fails when run twice

2011-05-19 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 3e0500881003 by Tarek Ziade in branch 'default': Issue #12113: make sure generated module is not reused on a second run http://hg.python.org/cpython/rev/3e0500881003 -- nosy: +python-dev

[issue12114] packaging.util._find_exe_version(): potential deadlock

2011-05-19 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: The following code does deadlock if the subprocess writes a lot of output to stdout and stderr: pipe = Popen(cmd, shell=True, stdout=PIPE, stderr=PIPE) try: stdout, stderr = pipe.stdout.read(), pipe.stderr.read()

[issue12115] some tests need to be skipped on threadless systems

2011-05-19 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: == ERROR: packaging.tests.test_command_upload_docs (unittest.loader.ModuleImportFailure) -- Traceback

[issue12113] test_packaging fails when run twice

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Still fails on test_download. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12113 ___ ___

[issue10419] distutils command build_scripts fails with UnicodeDecodeError

2011-05-19 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset cc5cfeaa4a8d by Victor Stinner in branch 'default': Issue #10419, issue #6011: port 6ad356525381 fix from distutils to packaging http://hg.python.org/cpython/rev/cc5cfeaa4a8d -- ___

[issue12112] The new packaging module should not use the locale encoding

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I ported a distutils fix (for non-ASCII path) into packaging: New changeset cc5cfeaa4a8d by Victor Stinner in branch 'default': Issue #10419, issue #6011: port 6ad356525381 fix from distutils to packaging

[issue12112] The new packaging module should not use the locale encoding

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: +if not isinstance(fileobject, StringIO): +encoding = codecs.lookup(fileobject.encoding).name IMO you should try to get the encoding attribute and silence the AttributeError instead. (also, I'm not even sure why you're

[issue12113] test_packaging fails when run twice

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Also, the hash value is different every time: packaging.pypi.errors.HashDoesNotMatch: got 043840092b5baf155fc94a77319c5f44 instead of fe18804c5b722ff024cabdf514924fc4 -- ___ Python tracker

[issue12115] some tests need to be skipped on threadless systems

2011-05-19 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 2c01bda139a7 by Tarek Ziade in branch 'default': Issue #12115: skipping all tests that need threading under a threadless environment http://hg.python.org/cpython/rev/2c01bda139a7 -- nosy: +python-dev

[issue12113] test_packaging fails when run twice

2011-05-19 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: my commit fixed only the first issue. the second one is a separate issue that needs more investigation -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12113

[issue12077] Harmonizing descriptor protocol documentation

2011-05-19 Thread Jay Parlar
Jay Parlar par...@gmail.com added the comment: Another problem is that the examples and text in the section Functions and Methods is no longer correct in 3.x. Namely the the references to unbound methods, and the example showing an unbound method being returned when accessing a method of a

[issue12112] The new packaging module should not use the locale encoding

2011-05-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12112 ___

[issue12113] test_packaging fails when run twice

2011-05-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12113 ___

[issue12114] packaging.util._find_exe_version(): potential deadlock

2011-05-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12114 ___

[issue12116] io.Buffer*.seek() doesn't seek if seeking leaves us inside the current buffer

2011-05-19 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: Example: with open(setup.py, rb) as f: # read smaller than the file size to fill the readahead buffer f.read(1) # seek doesn't seek f.seek(0) print(f pos=, f.tell()) print(f.raw pos=, f.raw.tell()) Output:

[issue12116] io.Buffer*.seek() doesn't seek if seeking leaves us inside the current buffer

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Note: _pyio.BufferedReader(), _pyio.BufferedWriter(), _pyio.BufferedRandom() don't use this optimization. They might be patched too. -- ___ Python tracker rep...@bugs.python.org

[issue12116] io.Buffer*.seek() doesn't seek if seeking leaves us inside the current buffer

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This is by design. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12116 ___

[issue12117] test_importlib failure

2011-05-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: I get the following failure under a fresh checkout: == ERROR: test_file_from_empty_string_dir (importlib.test.source.test_file_loader.SimpleTest)

[issue12118] test_imp failure

2011-05-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: I get the following failure under a fresh checkout: == ERROR: test_issue5604 (test.test_imp.ImportTests) --

[issue12119] test_distutils failure

2011-05-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: I get the following failure under a fresh checkout: == FAIL: test_package_data (distutils.tests.test_build_py.BuildPyTestCase)

[issue12119] test_distutils failure

2011-05-19 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +alexis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12119 ___ ___ Python-bugs-list mailing

[issue12120] test_packaging failure

2011-05-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: I get the following failure under a fresh checkout: == FAIL: test_package_data (packaging.tests.test_command_build_py.BuildPyTestCase)

[issue12121] test_packaging failure when ssl is not available

2011-05-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: I get the following failure when the ssl module is not available: == ERROR: test_https_connection (packaging.tests.test_command_upload_docs.UploadDocsTestCase)

[issue12122] test_runpy failure

2011-05-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: I get the following failures in a fresh checkout: == ERROR: test_explicit_relative_import (test.test_runpy.RunModuleTest)

[issue12123] test_import failures

2011-05-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: I get the following failures under a fresh checkout: == ERROR: test_file_to_source (test.test_import.ImportTests)

[issue12116] io.Buffer*.seek() doesn't seek if seeking leaves us inside the current buffer

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: And how can I seek the raw file to zero? Using buffer.raw.seek(0), buffer.tell() becomes inconsistent: $ ./python Python 3.2.1b1 (3.2:bd5e4d8c8080, May 15 2011, 10:22:54) buffer=open('setup.py', 'rb') buffer.read(1)

[issue1006238] cross compile patch

2011-05-19 Thread wrobell
wrobell wrob...@pld-linux.org added the comment: What is the current status of this patch? What is missing to apply it upstream? -- nosy: +wrobell ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1006238

[issue12120] test_packaging failure

2011-05-19 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: on it -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12120 ___ ___ Python-bugs-list mailing

[issue12116] io.Buffer*.seek() doesn't seek if seeking leaves us inside the current buffer

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Simple: you are not supposed to use the raw file if you wrapped it inside a buffered file. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12116

[issue12120] test_packaging failure

2011-05-19 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I cannot reproduce this. there's exactly the same test in distutils, so I am wondering why it passes there and not in packaging for you. Any special way to run the tests ? -- ___ Python tracker

[issue12120] test_packaging failure

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I cannot reproduce this. there's exactly the same test in distutils, so I am wondering why it passes there and not in packaging for you. It doesn't. Have you seen http://bugs.python.org/issue12119 ? Any special way to run the tests ? No.

[issue12112] The new packaging module should not use the locale encoding

2011-05-19 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset fe740c1cee02 by Victor Stinner in branch 'default': Issue #12112: packaging reads and writes setup.cfg using UTF-8 http://hg.python.org/cpython/rev/fe740c1cee02 New changeset 01d61096140a by Victor Stinner in branch 'default': Issue

[issue12112] The new packaging module should not use the locale encoding

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: What is the MainProgram.inspect_file() function in packaging.create? Which kind of file should it process? = What is the encoding of the input files? -- ___ Python tracker

[issue1298835] vendor-packages directory.

2011-05-19 Thread Danek Duvall
Danek Duvall duv...@comfychair.org added the comment: So this has come up again within the Solaris group. Since Rich's original request, we've been using a vendor-packages.pth file in the site-packages directory, which enables the vendor-packages directory. However, I have a concern that

[issue12112] The new packaging module should not use the locale encoding

2011-05-19 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: That's not used anymore, I am going to strip it -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12112 ___

[issue12122] test_runpy failure

2011-05-19 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: It still works fine for me (as do test_imp, test_import and test_importlib). Did you provide any arguments to ./configure, or provide any interesting options to regrtest to get it to fail? -- ___

[issue12122] test_runpy failure

2011-05-19 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Oh, that's the other question - is there any chance you are passing -B or have PYTHONDONTWRITEBYTECODE set? (I'm not sure that would affect make_legacy_pyc, but all the errors you posted relate to unexpectedly absent pyc files and

[issue12122] test_runpy failure

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Indeed, PYTHONDONTWRITEBYTECODE seems set by default on this Linux install... Ouch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12122

[issue12120] test_packaging failure

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This is due to PYTHONDONTWRITEBYTECODE being set. Not sure this is worth fixing. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12120 ___

[issue12123] test_import failures

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This is due to PYTHONDONTWRITEBYTECODE being set. Not sure this is worth fixing. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12123 ___

[issue12119] test_distutils failure

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This is due to PYTHONDONTWRITEBYTECODE being set. Not sure this is worth fixing. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12119 ___

[issue12118] test_imp failure

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This is due to PYTHONDONTWRITEBYTECODE being set. Not sure this is worth fixing. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12118 ___

[issue12117] test_importlib failure

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This is due to PYTHONDONTWRITEBYTECODE being set. Not sure this is worth fixing. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12117 ___

[issue12120] test_packaging failure

2011-05-19 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: a well, we can skip that pyc test in case PYTHONDONTWRITEBYTECODE is set, thanks ! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12120

[issue12120] test_packaging failure

2011-05-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: a well, we can skip that pyc test in case PYTHONDONTWRITEBYTECODE is set, thanks ! It's better to test sys.flags.dont_write_bytecode, actually. -- ___ Python tracker rep...@bugs.python.org

[issue12120] test_packaging failure

2011-05-19 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 9d1fb6a9104b by Tarek Ziade in branch 'default': Issue #12120, Issue #12119: tests were missing a sys.dont_write_bytecode check http://hg.python.org/cpython/rev/9d1fb6a9104b -- nosy: +python-dev

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-19 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Here's a patch adding O_CLOEXEC to the os module, with test. This patch makes it possible to open and set a FD CLOEXEC atomically. O_CLOEXEC is part of POSIX.1-2008, supported by the Linux kernel since 2.6.23 and has been committed

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Using spawn_python() to check that os.O_CLOEXEC flag is correctly set seems overkill. Why not just testing fcntl.fcntl(f.fileno(), fcntl.F_GETFL) FD_CLOEXEC)? I don't think that there are OSes with O_CLOEXEC but without

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-19 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: +1 for the patch! Note that fdopen is now a simple call to open(), so theses lines are equivalent: python2.7: open(filename, 're') python3.3: open(os.open(filename, os.O_RDONLY|os.O_CLOEXEC)) -- resolution: - accepted

[issue12112] The new packaging module should not use the locale encoding

2011-05-19 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset a636cb1b7f84 by Victor Stinner in branch 'default': Issue #12112: fix the encoding of setup.py in the packaging module http://hg.python.org/cpython/rev/a636cb1b7f84 -- ___ Python tracker

[issue12104] os.path.join('/some/path', '') adds extra slash at end of result

2011-05-19 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: This is intentional. See the implementation of join in Lib/posixpath.py and the Windows implementation in Lib/ntpath.py which also includes a comment explaining why. # path is not empty and does not end with a backslash, # but b is empty;

[issue6727] ImportError when package is symlinked on Windows

2011-05-19 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: MS Connect is apparently only for projects under active development, not mature, released products. I've posted to the MSDN forums, where with my MSDN account, I can expect priority support from MS personnel.

[issue12107] TCP listening sockets created without FD_CLOEXEC flag

2011-05-19 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +charles-francois.natali, gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12107 ___

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-19 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Using spawn_python() to check that os.O_CLOEXEC flag is correctly set seems overkill. Why not just testing fcntl.fcntl(f.fileno(), fcntl.F_GETFL) FD_CLOEXEC)? Because I couldn't find a place where the CLOEXEC flag was fully tested

[issue12124] python -m test test_packaging test_zipimport failure

2011-05-19 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: python -m test test_packaging test_zipimport fails with: == FAIL: testAFakeZlib (test.test_zipimport.CompressedZipImportTestCase)

[issue12124] python -m test test_packaging test_zipimport failure

2011-05-19 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12124 ___ ___

[issue12124] python -m test test_packaging test_zipimport failure

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: OMG! I understood why the bug was not seen before: python -m test test_zipimport test_zipimport succeed because test_zipimport REMOVES testAFakeZlib tests after the first run! New patch to remove this ugly hack (it is no more

[issue12124] python -m test test_packaging test_zipimport failure

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: test_zipimport REMOVES testAFakeZlib tests after the first run hack was introduced by a commit supposed to test zipimport a bit more :-) changeset: 36383:7b3d915b6e9d branch: legacy-trunk user:Neal Norwitz

[issue1449496] Python should use 3GB Address Space on Windows

2011-05-19 Thread Chad Austin
Chad Austin c...@imvu.com added the comment: IMVU's downloadable client is built atop CPython. 80% of our users use 32-bit Windows and 20% use 64-bit Windows. We do not intend to provide 64-bit builds of our application for many of the same reasons sketched out in

[issue4558] with_stdc89

2011-05-19 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: Issue with inline was resolved by configure macro. -- Added file: http://bugs.python.org/file22035/python3-20110520-c89.patch ___ Python tracker rep...@bugs.python.org

[issue3754] cross-compilation support for python build

2011-05-19 Thread Roumen Petrov
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file22036/python-py3k-20110520-CROSS.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3754 ___

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

2011-05-19 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: ...py3k-20110520...: with updates of integrated recently distutil2 (require patch from #3754 with same time-stamp). -- Added file: http://bugs.python.org/file22037/python-py3k-20110520-MINGW.patch

[issue12124] python -m test test_packaging test_zipimport failure

2011-05-19 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 52d9183b34f8 by Victor Stinner in branch '3.1': Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore http://hg.python.org/cpython/rev/52d9183b34f8 New changeset a043d8e168b3 by Victor Stinner in branch

[issue12107] TCP listening sockets created without FD_CLOEXEC flag

2011-05-19 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Hello Christophe, First and foremost, I think that the FD_CLOEXEC approach is terminally broken, as it should have been the default in Unix. Now, we're stuck with this bad design. But we can't simply change the default to FD_CLOEXEC,

[issue12125] test_sysconfig fails on OpenIndiana because of test_packaging

2011-05-19 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: It looks like a test of test_packaging removes some data from sysconfig._SCHEMES: http://www.python.org/dev/buildbot/all/builders/AMD64%20OpenIndiana%203.x/builds/1239/steps/test/logs/stdio

[issue12118] test_imp failure

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Duplicate of #12117. -- nosy: +haypo resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12118

[issue12119] test_distutils failure

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Duplicate of #12117. -- nosy: +haypo resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12119

[issue12123] test_import failures

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Duplicate of #12117. -- nosy: +haypo resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12123

[issue12122] test_runpy failure

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Duplicate of #12117. -- nosy: +haypo resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12122

[issue12120] test_packaging failure

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Duplicate of #12117. -- nosy: +haypo resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12120

[issue12117] test_importlib failure

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The following issues has been marked as a duplicate of this issue: - issue #12118 (test_imp) - issue #12119 (test_distutils) - issue #12120 (test_packaging) - issue #12122 (test_runpy) - issue #12123 (test_import) Tarek did the

[issue12117] test_importlib failure

2011-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Traceback of the duplicate issues: == ERROR: test_issue5604 (test.test_imp.ImportTests) --

[issue12117] test_importlib failure

2011-05-19 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +alexis, eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12117 ___ ___

[issue12117] Failures with PYTHONDONTWRITEBYTECODE: test_importlib, test_imp, test_distutils, test_packaging, test_runpy, test_import

2011-05-19 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- title: test_importlib failure - Failures with PYTHONDONTWRITEBYTECODE: test_importlib, test_imp, test_distutils, test_packaging, test_runpy, test_import ___ Python tracker

[issue12126] incorrect select documentation

2011-05-19 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone invalid@example.invalid: http://docs.python.org/py3k/howto/sockets.html#non-blocking-sockets And if you put a socket in more than one input list, it will only be (at most) in one output list. import socket s = socket.socket() s.connect(('localhost',

[issue12104] os.path.join('/some/path', '') adds extra slash at end of result

2011-05-19 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: See also #9921. -- nosy: +r.david.murray resolution: rejected - duplicate superseder: - os.path.join('x','') behavior ___ Python tracker rep...@bugs.python.org

[issue12127] Inconsistent leading zero treatment

2011-05-19 Thread Peter Wentworth
New submission from Peter Wentworth p.wentwo...@ict.ru.ac.za: In Python 3 we no longer have octal literals. The assignment x = 0050 gives an invalid token error. But the assignment y = int(0050) assigns the value 50 to y. I would advocate consistency in the two situations, and prefer that

  1   2   >