[issue17076] shutil.copytree failing on xattr-less filesystems (like NFS)

2013-02-05 Thread Hynek Schlawack
Hynek Schlawack added the comment: The buildbots look happy, thank you for spotting the patch Thomas! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17076

[issue17131] subprocess.Popen.terminate can raise exception on Posix

2013-02-05 Thread S Arrowsmith
New submission from S Arrowsmith: Compare this with the script in #14252: p = Popen(['/bin/sleep', '1']) time.sleep(1) p.terminate() print p.poll() p.terminate() Output is: 0 Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/python2.6/subprocess.py, line 1269,

[issue13829] exception error in _scproxy.so

2013-02-05 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've once again reviewed the _scproxy code and that code seems correct (although that doesn't say too much for subtle bugs because I wrote the initial version of the module). Dan: is it possible to tell moviegrabber to use another python installation (in

[issue13829] exception error in _scproxy.so

2013-02-05 Thread Ronald Oussoren
Ronald Oussoren added the comment: If it is the moviegrabber I linked to: that's a 100% python script using some other opensource libraries. It does use multiprocessing, and that might mean this is the same problem as issue9405. That issue should be fixed in the repository (for a long time,

[issue15730] Silence unused value warnings under Mac OS X 10.8/clang

2013-02-05 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is an alternate patch, it replaces the PyObject_INIT and PyObject_INIT_VAR macros by inline functions with macro wrappers for compatibility (the macros are used to suppress type warnings). I don't particularly like my patch, but it might be a better way

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 'Mon Jan 1 -01:00:00 2011\n' This is obviously wrong because trailing '\n' was not dropped. The issue is not about what is more wrong. The issue is about Python crash. At least we should add a warning in the documentation that incorrect data may crash

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: A new patch uses asctime_s() on Windows (this crash was observed only on Windows). This should prevent a crash. In additional it drops '\n' from a result even if the result is longer than usually (this happened on Linux when an invalid time is used).

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2013-02-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file28958/asctime_s.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16137 ___

[issue12983] byte string literals with invalid hex escape codes raise ValueError instead of SyntaxError

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12983 ___ ___ Python-bugs-list mailing list

[issue17128] OS X system openssl deprecated - installer should build local libssl

2013-02-05 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17128 ___ ___

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2013-02-05 Thread STINNER Victor
STINNER Victor added the comment: asctime_s.patch: you should catch ValueError on each call to self.assertNotIn(). You can use PyString_FromStringAndSize() instead of writing the NUL character, it may be safer (to not modify the output of asctime). 2013/2/5 Serhiy Storchaka

[issue17128] OS X system openssl deprecated - installer should build local libssl

2013-02-05 Thread Christian Heimes
Christian Heimes added the comment: On Windows urllib.request.urlopen(http://www.google.com;, cadefault=True) fails with certificate verify failed. (tested with Python 3.3 64bit) -- ___ Python tracker rep...@bugs.python.org

[issue17118] Add tests for testing Python-Tcl interaction

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I missed existing test_tcl. Patches updated, now they add new tests into test_tcl. -- Added file: http://bugs.python.org/file28959/tkinter_test_passing_values_2.patch Added file:

[issue17118] Add tests for testing Python-Tcl interaction

2013-02-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file28946/tkinter_test_passing_values.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17118 ___

[issue17118] Add tests for testing Python-Tcl interaction

2013-02-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file28946/tkinter_test_passing_values.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17118 ___

[issue17118] Add tests for testing Python-Tcl interaction

2013-02-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file28947/tkinter_test_passing_values-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17118 ___

[issue17118] Add tests for testing Python-Tcl interaction

2013-02-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file28959/tkinter_test_passing_values_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17118 ___

[issue17118] Add tests for testing Python-Tcl interaction

2013-02-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file28960/tkinter_test_passing_values-2.7_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17118 ___

[issue17128] OS X system openssl deprecated - installer should build local libssl

2013-02-05 Thread Ronald Oussoren
Ronald Oussoren added the comment: It doesn't raise an exception on OSX (close to the tip of the default branch), both for http://www.google.com/ and https://www.google.com/ -- ___ Python tracker rep...@bugs.python.org

[issue17118] Add tests for testing Python-Tcl interaction

2013-02-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file28961/tkinter_test_passing_values_2.patch Added file: http://bugs.python.org/file28962/tkinter_test_passing_values-2.7_2.patch ___ Python tracker rep...@bugs.python.org

[issue6696] Profile objects should be documented

2013-02-05 Thread Tom Pinckney
Tom Pinckney added the comment: Thanks for the feedback! I'll incorporate it this weekend and make a new patch, though also feel free to just go ahead and make the changes yourself if you'd rather not wait for me. -- ___ Python tracker

[issue17043] Invalid read in test_codecs

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17043 ___ ___ Python-bugs-list mailing list

[issue16723] io.TextIOWrapper on urllib.request.urlopen terminates prematurely

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Senthil, Antoine, anyone, what you think about this patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16723 ___

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for comments, Victor. Here is an updated patch. -- Added file: http://bugs.python.org/file28963/asctime_s_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16137

[issue10557] Malformed error message from float()

2013-02-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10557 ___ ___

[issue17132] yield_arg missing from symbol.sym_name

2013-02-05 Thread Josh Lee
New submission from Josh Lee: symbol.sym_name[337] Traceback (most recent call last): File stdin, line 1, in module KeyError: 337 It should be 'yield_arg'. -- components: Library (Lib) messages: 181440 nosy: Josh.Lee priority: normal severity: normal status: open title: yield_arg

[issue14910] argparse: disable abbreviation

2013-02-05 Thread Ugra Dániel
Changes by Ugra Dániel daniel.u...@gmail.com: -- nosy: +daniel.ugra ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14910 ___ ___ Python-bugs-list

[issue17132] yield_arg missing from symbol.sym_name

2013-02-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 23850c3899e8 by Benjamin Peterson in branch '3.3': update symbol.py for yield from grammar changes (closes #17132) http://hg.python.org/cpython/rev/23850c3899e8 New changeset 0fcd975765a7 by Benjamin Peterson in branch 'default': merge 3.3 (#17132)

[issue17133] ssl.wrap_socket doesn't take server_hostname as a kwarg

2013-02-05 Thread Vinay Sajip
New submission from Vinay Sajip: The wrap_socket function in ssl.py (unlike the method of the same name in SSLContext) doesn't accept a server_hostname argument, despite the fact that it's a one-liner calling SSLSocket, which does take that argument. It it like this for a reason, or just an

[issue16811] email.message.Message flatten dies of list index out of range

2013-02-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4553dfcafac7 by R David Murray in branch '3.3': News item for issue #16811 fix. http://hg.python.org/cpython/rev/4553dfcafac7 New changeset 68be406e76e1 by R David Murray in branch 'default': Merge: News item for issue #16811 fix.

[issue17129] Include CA bundle and provide access to system's CA

2013-02-05 Thread Christian Heimes
Christian Heimes added the comment: Yes, it's a duplicate of #13665. Sorry, I didn't make a proper search. Although this is a new feature it's a fundament for cert validation. -- ___ Python tracker rep...@bugs.python.org

[issue17134] Use Windows' certificate store for CA certs

2013-02-05 Thread Christian Heimes
New submission from Christian Heimes: I found a recipe how to access the Windows certificate store and dump its content as PEM. The code doesn't look complicated and could be added to _ssl.c http://fixunix.com/openssl/254866-re-can-openssl-use-windows-certificate-store.html --

[issue17134] Use Windows' certificate store for CA certs

2013-02-05 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: Added file: http://bugs.python.org/file28964/certstore.cpp ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17134 ___

[issue17129] Include CA bundle and provide access to system's CA

2013-02-05 Thread Christian Heimes
Christian Heimes added the comment: I found a recipe to retrieve CA certs from Window's cert store, see #17134. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17129 ___

[issue3754] cross-compilation support for python build

2013-02-05 Thread Greg Hellings
Greg Hellings added the comment: I'm trying to cross-compile the latest default out of Mercurial based on the status of this. Currently it fails with the following invocation: $ ../configure --host=i686-w64-mingw32 --build=x86_64-redhat-linux-gnu --target=i686-w64-mingw32

[issue17073] Integer overflow in sqlite module

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here are tests for some bugs. -- assignee: - serhiy.storchaka Added file: http://bugs.python.org/file28965/sqlite_int_overflow_tests.patch ___ Python tracker rep...@bugs.python.org

[issue3754] cross-compilation support for python build

2013-02-05 Thread Ray Donnelly
Ray Donnelly added the comment: Yes, patches are still required. Mainly Roumen's big patch [1] and then a load more too. Matthias Klose has merged a few cross compilation patches. Here my project with patches for 3.3.0 and an emphasis on cross:

[issue17135] imp doc should direct to importlib

2013-02-05 Thread Éric Araujo
New submission from Éric Araujo: Title says it all. -- assignee: docs@python components: Documentation messages: 181450 nosy: docs@python, eric.araujo priority: normal severity: normal status: open title: imp doc should direct to importlib versions: Python 3.1, Python 3.3, Python 3.4

[issue16203] Proposal: add re.fullmatch() method

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I did not analyze the patch deeply, only left on Rietveld comments on first sight. Need to update the documentation. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16203

[issue6696] Profile objects should be documented

2013-02-05 Thread Éric Araujo
Éric Araujo added the comment: There is no rush, even if this doesn’t get into the docs distributed with the releases that are due next week-end, people will see it in the online docs a day after it’s committed. -- assignee: docs@python - eric.araujo

[issue17133] ssl.wrap_socket doesn't take server_hostname as a kwarg

2013-02-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: The reason is that wrap_socket() is there only for compatibility reasons, and I'd like people to switch to SSLContext instead. 12-argument functions are only good for LISPers ;-) As for SSLSocket, its constructor isn't a public API. -- resolution: -

[issue17134] Use Windows' certificate store for CA certs

2013-02-05 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17134 ___ ___ Python-bugs-list mailing

[issue17136] ctypes tests fail with clang on non-OS X

2013-02-05 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman: I recently filed http://llvm.org/bugs/show_bug.cgi?id=15153, prompted by https://bugs.gentoo.org/show_bug.cgi?id=427338 (for 2.7, and https://bugs.gentoo.org/show_bug.cgi?id=427330 for 3.2), for which I found http://bugs.python.org/issue9852. Similar

[issue10557] Malformed error message from float()

2013-02-05 Thread Mark Dickinson
Mark Dickinson added the comment: Sure, this can be closed as far as I'm concerned. -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10557 ___

[issue10557] Malformed error message from float()

2013-02-05 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10557 ___ ___

[issue16948] email.mime.text.MIMEText: QP encoding broken with charset!=ISO-8859-1

2013-02-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 801cb3918212 by R David Murray in branch '3.2': #16948: Fix quopri encoding of non-latin1 character sets. http://hg.python.org/cpython/rev/801cb3918212 New changeset e644058e8e7b by R David Murray in branch '3.3': Merge: #16948: Fix quopri encoding

[issue3754] cross-compilation support for python build

2013-02-05 Thread Greg Hellings
Greg Hellings added the comment: Bummer, the patches in that issue do not apply cleanly to either the 3.3.0 released tarball nor to the 3.3 branch from hg. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3754

[issue16948] email.mime.text.MIMEText: QP encoding broken with charset!=ISO-8859-1

2013-02-05 Thread R. David Murray
R. David Murray added the comment: Fixed. I'm glad you caught this before the final release of 3.2. This is a bit of an embarrassing bug :(. -- resolution: - fixed stage: - committed/rejected status: open - closed type: - behavior ___ Python

[issue17129] Include CA bundle and provide access to system's CA

2013-02-05 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - Python SSL stack doesn't have a default CA Store ___ Python tracker rep...@bugs.python.org

[issue17134] Use Windows' certificate store for CA certs

2013-02-05 Thread Éric Araujo
Éric Araujo added the comment: Isn’t this part of #13655? One feature is usually discussed for all platforms in one bug report. (Sorry for all the bureaucracy in your recent reports, but it helps keep things manageable :) -- nosy: +eric.araujo

[issue13655] Python SSL stack doesn't have a default CA Store

2013-02-05 Thread Éric Araujo
Éric Araujo added the comment: Copy of a message by Christian Heimes on a duplicate report: For effective SSL server cert validation a bundle of trustworthy CA certs is required. Most system ship such a bundle but it's not always possible to access the bundle from Python / OpenSSL. Windows

[issue17136] ctypes tests fail with clang on non-OS X

2013-02-05 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +meador.inge, ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17136 ___ ___

[issue14263] switch_index_if_fails fails on py2

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Should it be closed? -- nosy: +serhiy.storchaka status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14263 ___

[issue14263] switch_index_if_fails fails on py2

2013-02-05 Thread Éric Araujo
Éric Araujo added the comment: Right, I probably kept this open for the packaging backport, so now it’s moot. BTW, there are many distutils2 bugs that I haven’t closed, as they will still be useful for the successors of d2. -- resolution: - fixed stage: - committed/rejected status:

[issue17134] Use Windows' certificate store for CA certs

2013-02-05 Thread Christian Heimes
Christian Heimes added the comment: I like to split up tasks in small subtasks. It's true that #13655 benefits from this feature but it can be implemented without this ticket. This enhancement also requires some addition to API and bindings to Windows' crypt32.dll. It might be inappropriate

[issue12177] re.match raises MemoryError

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue9669. -- nosy: +serhiy.storchaka resolution: - duplicate stage: needs patch - committed/rejected status: open - closed superseder: - regexp: zero-width matches in MIN_UNTIL ___ Python

[issue17137] Malfunctioning compiled code in Python 3.3 x64

2013-02-05 Thread Jan Lachnitt
New submission from Jan Lachnitt: Python 3.3 64-bit seems to compile one of my files incorrectly. Specifically, os.path.isdir returns True for a nonexistent folder. The important point is that the code works correctly when it is performed step-by-step in pdb. Python version: Python 3.3.0

[issue15359] Sockets support for CAN_BCM

2013-02-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset f714af60508d by Charles-François Natali in branch 'default': Issue #15359: Add CAN_BCM protocol support to the socket module. Patch by Brian http://hg.python.org/cpython/rev/f714af60508d -- nosy: +python-dev

[issue17134] Use Windows' certificate store for CA certs

2013-02-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sounds promising. Do you think this should be hooked into SSLContext.set_default_verify_paths, or be exposed as a separate method? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17134

[issue16203] Proposal: add re.fullmatch() method

2013-02-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch doesn't seem to include failure cases for fullmatch (i.e. cases where fullmatch returns None where match or search would return a match). -- ___ Python tracker rep...@bugs.python.org

[issue16800] tempfile._get_default_tempdir() leaves files behind when HD is full

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In general it looks good to me. But we can get rid of Python file and use only os.open/os.write/os.close. Here is an updated patch which carefully close a file descriptor and remove a file even if write or close failed. Amir Szekely, can you please submit a

[issue16800] tempfile._get_default_tempdir() leaves files behind when HD is full

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In general it looks good to me. But we can get rid of Python file and use only os.open/os.write/os.close. Here is an updated patch which carefully close a file descriptor and remove a file even if write or close failed. Amir Szekely, can you please submit a

[issue16800] tempfile._get_default_tempdir() leaves files behind when HD is full

2013-02-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- Removed message: http://bugs.python.org/msg181470 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16800 ___

[issue16800] tempfile._get_default_tempdir() leaves files behind when HD is full

2013-02-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file28967/fix_tempfile_leaving_files_behind_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16800 ___

[issue16800] tempfile._get_default_tempdir() leaves files behind when HD is full

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And here are patches for 2.7 and 3.2 (there are some peculiarities, i.e. in exception handling). -- Added file: http://bugs.python.org/file28968/fix_tempfile_leaving_files_behind_2-2.7.patch Added file:

[issue15359] Sockets support for CAN_BCM

2013-02-05 Thread Charles-François Natali
Charles-François Natali added the comment: Committed. Brian, thanks for the patch! -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15359

[issue17138] XPath error in xml.etree.ElementTree

2013-02-05 Thread Gutzwiller
New submission from Gutzwiller: $ python3 Python 3.3.0 (default, Jan 25 2013, 09:38:18) [GCC 4.4.5] on linux Type help, copyright, credits or license for more information. import xml.etree.ElementTree as ET xml = ET.fromstring(rooth11/h1ph12/h1/p/root) result = xml.find(.//h1[2])

[issue16723] io.TextIOWrapper on urllib.request.urlopen terminates prematurely

2013-02-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: This looks ok to me. I am slightly surprised that isclosed() isn't documented anywhere (but perhaps it's better). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16723

[issue2840] Expat parser locks XML source file if ContentHandler raises an exception

2013-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue15388. Parser doesn't close an input source's stream if an exception raised. -- nosy: +serhiy.storchaka resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - SAX parse (ExpatParser)

[issue17122] Fix and cleanup test_functools

2013-02-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2a369c32f1f1 by Serhiy Storchaka in branch 'default': Issue #17122: Fix and cleanup test_functools.py. http://hg.python.org/cpython/rev/2a369c32f1f1 -- nosy: +python-dev ___ Python tracker

[issue17107] test_sni in test_urllib2net could be enabled

2013-02-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset f74a12e23aaa by Antoine Pitrou in branch 'default': Issue #17107: Test client-side SNI support in urllib.request thanks to the new server-side SNI support in the ssl module. http://hg.python.org/cpython/rev/f74a12e23aaa -- nosy:

[issue17107] test_sni in test_urllib2net could be enabled

2013-02-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I've tweaked the patch a bit and committed it. Thank you! -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed versions: -Python 3.5 ___ Python tracker rep...@bugs.python.org

[issue16038] ftplib: unlimited readline() from connection

2013-02-05 Thread Michał Jastrzębski
Michał Jastrzębski added the comment: Hello, I've made patch which address this issue. -- keywords: +patch nosy: +inc0 Added file: http://bugs.python.org/file28970/ftplib_maxline.patch ___ Python tracker rep...@bugs.python.org

[issue17135] imp doc should direct to importlib

2013-02-05 Thread Eric Snow
Eric Snow added the comment: Agreed. It should also link to the new import section in the language reference rather than to the import statement. -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17135

[issue17137] Malfunctioning compiled code in Python 3.3 x64

2013-02-05 Thread Mark Dickinson
Mark Dickinson added the comment: Reminds me of this question on StackOverflow: http://stackoverflow.com/questions/14135846/string-concatenation-with-python-33-isdir-always-returns-true-3-hours-head -- nosy: +mark.dickinson ___ Python tracker

[issue17137] Malfunctioning compiled code in Python 3.3 x64

2013-02-05 Thread Georg Brandl
Georg Brandl added the comment: The SO post is scary. Maybe a non-normalized (smallest representation) PEP393 string is escaping into the wild? -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17137

[issue17137] Malfunctioning compiled code in Python 3.3 x64

2013-02-05 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17137 ___ ___ Python-bugs-list mailing

[issue17136] ctypes tests fail with clang on non-OS X

2013-02-05 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: The changes in CPython mentioned by you are in bundled copy of libffi for OS X (Modules/_ctypes/libffi_osx). You probably should report the problem to libffi upstream. Gentoo ebuilds of CPython use --with-system-ffi option, so any fixes in

[issue17137] Malfunctioning compiled code in Python 3.3 x64

2013-02-05 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- keywords: +3.3regression nosy: +flox, haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17137 ___

[issue17137] Malfunctioning compiled code in Python 3.3 x64

2013-02-05 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17137 ___ ___ Python-bugs-list

[issue17139] dateTime.now() return format missing decimal seconds.

2013-02-05 Thread STINNER Victor
STINNER Victor added the comment: I believe the datetime.now() should always return the same format. It's now how it was implemented: http://docs.python.org/dev/library/datetime.html#datetime.datetime.__str__ and http://docs.python.org/dev/library/datetime.html#datetime.datetime.isoformat

[issue17139] dateTime.now() return format missing decimal seconds.

2013-02-05 Thread Dave
New submission from Dave: Calling datetime.datetime.now() will return only the Date and time to the second w/o the decimal portion when the second increments when also running firefox w/shockwave flash enabled on a windows 7 machine. Example output: counter1 is: 23360 time is: 2013-02-05

[issue17139] dateTime.now() return format missing decimal seconds.

2013-02-05 Thread Mark Dickinson
Mark Dickinson added the comment: See also issue #1074462 -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17139 ___ ___

[issue17138] XPath error in xml.etree.ElementTree

2013-02-05 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +eli.bendersky, flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17138 ___ ___

[issue17137] Malfunctioning compiled code in Python 3.3 x64

2013-02-05 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- components: +Unicode, Windows nosy: +ezio.melotti versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17137 ___

[issue17139] dateTime.now() return format missing decimal seconds.

2013-02-05 Thread Mark Dickinson
Mark Dickinson added the comment: This is a feature request rather than a bug report; changing fields accordingly. Also, given the discussion leading to the rejection of issue 1074462, and the fact that you can now use %f in strftime as an easy way to get consistent output (issue 1158), I'm

[issue17137] Malfunctioning compiled code in Python 3.3 x64

2013-02-05 Thread STINNER Victor
STINNER Victor added the comment: On Windows, os.path.isdir calls nt._isdir(). Core of this C function: wchar_t *wpath = PyUnicode_AsUnicode(po); if (wpath == NULL) return NULL; attributes = GetFileAttributesW(wpath); if (attributes ==

[issue13655] Python SSL stack doesn't have a default CA Store

2013-02-05 Thread Ian Cordasco
Ian Cordasco added the comment: Éric's suggestion is also implemented in python-requests if I remember correctly. It allows for user-specified PEM files and tries to find the operating system bundle. This would be a wonderful inclusion in the standard library. -- nosy: +icordasc

[issue17139] dateTime.now() return format missing decimal seconds.

2013-02-05 Thread Dave
Dave added the comment: Point was/is that I'd be willing to fix this so that others don't have to. It's for OTHERS SAKE that I submitted this issue as my system is already bullet proof from this defect/lack of feature situation. This is also my first attempt to get involved with the

[issue17139] dateTime.now() return format missing decimal seconds.

2013-02-05 Thread Dave
Dave added the comment: I appreciate you guys looking into this so quickly, but let's dig a little deeper. 1. STINNER Victor, you claim this is already fixed in 3.4 by the link, however this doesn't really help since I'm not even up to 3.3 yet (though I'm considering it, I meant to select

[issue16991] Add OrderedDict written in C

2013-02-05 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: Added file: http://bugs.python.org/file28971/cleanup-test-collections.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16991 ___

[issue16991] Add OrderedDict written in C

2013-02-05 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: Added file: http://bugs.python.org/file28972/odict.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16991 ___

[issue17139] dateTime.now() return format missing decimal seconds.

2013-02-05 Thread R. David Murray
R. David Murray added the comment: I think Victor meant not instead of now. It doesn't only occur when your run particular programs, it occurs whenever the microseconds are zero. It is possible that your particular combination of programs produces a timing pattern that means you see

[issue16991] Add OrderedDict written in C

2013-02-05 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: Removed file: http://bugs.python.org/file28971/cleanup-test-collections.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16991 ___

[issue16991] Add OrderedDict written in C

2013-02-05 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: Removed file: http://bugs.python.org/file28972/odict.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16991 ___

[issue16991] Add OrderedDict written in C

2013-02-05 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16991 ___ ___ Python-bugs-list

[issue17139] dateTime.now() return format missing decimal seconds.

2013-02-05 Thread Dave
Dave added the comment: Thanks David Murry for clearing up STINNER Victor comments. I already feel like I work here;) So it's not broke if there exists a workaround. In that case it's time to update the documents (which often takes longer than the code to update) to reflect this

[issue17139] dateTime.now() return format missing decimal seconds.

2013-02-05 Thread R. David Murray
R. David Murray added the comment: No, it is not it's not broke because there's a workaround, it is not broken because it is *working as designed*. The str of any object in python is intended to be a convenient representation of that object. Note that this applies to *all* objects in Python,

[issue17140] Provide a more obvious public ThreadPool API

2013-02-05 Thread Nick Coghlan
New submission from Nick Coghlan: The multiprocessing module currently provides the multiprocessing.dummy.ThreadPool API that exposes the same API as the public multiprocessing.Pool, but is implemented with threads rather than processes. (This is sort of documented - it's existence is implied

[issue16203] Proposal: add re.fullmatch() method

2013-02-05 Thread Matthew Barnett
Matthew Barnett added the comment: 3 of the tests expect None when using 'fullmatch'; they won't return None when using 'match'. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16203 ___

  1   2   >