[issue46625] timeout option of socket.create_connection is not respected

2022-02-03 Thread Nicolas SURRIBAS
New submission from Nicolas SURRIBAS : When passing to socket.create_connection a timeout option above (approximately) 127 seconds, the timeout is not respected. Code to reproduce the issue : import socket from time import monotonic print(socket.getdefaulttimeout()) start = monotonic() try

[issue46284] DirEntry returns invalid values for is_dir and is_file on NFS

2022-01-06 Thread Nicolas SURRIBAS
New submission from Nicolas SURRIBAS : Hello, I bumped into this strange behavior several times when using os.scandir on mounted NFS shares. I'm using Python 3.9.1 >>> path = b'/mnt/nfs_share/sdb1/System Volume Information/' >>> l = list(os.scandir(path)) &

[issue39632] variadic function call broken on armhf when passing a float argument

2021-07-23 Thread Nicolas Dessart
Nicolas Dessart added the comment: I've just rebased this PR but the CI builds failed (for unrelated reasons?). That being said I think that this particular issue should mostly be resolved by bpo-41100 and PR-22855 in particular. My PR 18560 still brings the support for Ellipsis/... inside

[issue36207] robotsparser deny all with some rules

2020-10-25 Thread Nicolas
Nicolas added the comment: Sorry, I meant https://www.meridigital.com -- ___ Python tracker <https://bugs.python.org/issue36207> ___ ___ Python-bugs-list mailin

[issue36207] robotsparser deny all with some rules

2020-10-25 Thread Nicolas
Nicolas added the comment: Seems like we have the same issue with http://meridigital.com/robots.txt -- nosy: +nico702 -matthieuhemea ___ Python tracker <https://bugs.python.org/issue36

[issue40664] Documentation error: itertools.dropwhile(is_even, itertools.count()) output

2020-05-17 Thread Nicolas Gimenez
Nicolas Gimenez added the comment: Relase: 0.32 Lang: English Python version: 3.8.3 -- ___ Python tracker <https://bugs.python.org/issue40664> ___ ___ Python-bug

[issue40664] Documentation error: itertools.dropwhile(is_even, itertools.count()) output

2020-05-17 Thread Nicolas Gimenez
New submission from Nicolas Gimenez : On this page: https://docs.python.org/3/howto/functional.html The example: "itertools.dropwhile(is_even, itertools.count()) => 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ..." is wrong. It should be: "itertools.dropwhile(is_even, itertools.count(

[issue39632] variadic function call broken on armhf when passing a float argument

2020-02-20 Thread Nicolas Dessart
Nicolas Dessart added the comment: As I said in the associated PR, the build is failing on macOS because ctypes uses an obsolete libffi version bundled into Modules/_ctypes/libffi_osx for this platform. This old version of libffi is missing ffi_prep_cif_var. There is an open issue

[issue39632] variadic function call broken on armhf when passing a float argument

2020-02-19 Thread Nicolas Dessart
Change by Nicolas Dessart : -- versions: +Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue39

[issue39632] variadic function call broken on armhf when passing a float argument

2020-02-19 Thread Nicolas Dessart
Change by Nicolas Dessart : -- pull_requests: +17940 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18560 ___ Python tracker <https://bugs.python.org/issu

[issue39632] variadic function call broken on armhf when passing a float argument

2020-02-14 Thread Nicolas Dessart
Change by Nicolas Dessart : Removed file: https://bugs.python.org/file48895/ctypes_variadic_function_tests.diff ___ Python tracker <https://bugs.python.org/issue39

[issue39632] variadic function call broken on armhf when passing a float argument

2020-02-14 Thread Nicolas Dessart
Change by Nicolas Dessart : Added file: https://bugs.python.org/file48896/ctypes_variadic_function_tests.diff ___ Python tracker <https://bugs.python.org/issue39

[issue39632] variadic function call broken on armhf when passing a float argument

2020-02-14 Thread Nicolas Dessart
New submission from Nicolas Dessart : On armhf and for variadic functions (and contrary to non-variadic functions), the VFP co-processor registers are not used for float argument parameter passing. This specificity is apparently completely disregarded by ctypes which always uses

[issue34155] email.utils.parseaddr mistakenly parse an email

2019-04-19 Thread Nicolas Évrard
Change by Nicolas Évrard : -- nosy: +nicoe ___ Python tracker <https://bugs.python.org/issue34155> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34798] pprint ignores the compact parameter for dicts

2018-09-25 Thread Nicolas Hug
Nicolas Hug added the comment: Thanks for the link, But I don't see any justification for this behavior*? Why should lists be compacted but not dicts (even when explicitly asked)? At the very least it should be made clear in the documentation that dicts are not compacted. * Maybe there's

[issue34798] pprint ignores the compact parameter for dicts

2018-09-25 Thread Nicolas Hug
Nicolas Hug added the comment: Sorry: [2] https://github.com/scikit-learn/scikit-learn/pull/11705/files#diff-f83e8d9362766b385472f1be7fed9482R96 -- ___ Python tracker <https://bugs.python.org/issue34

[issue34798] pprint ignores the compact parameter for dicts

2018-09-25 Thread Nicolas Hug
Nicolas Hug added the comment: Thank you for the feedback! I'll try the python-ideas mail list. I posted a message on Python-list [1] a few weeks ago but it didn't get much traction. I'm not sure about what the final solution could be (if any), but I had to hack pprint myself [2

[issue34798] pprint ignores the compact parameter for dicts

2018-09-25 Thread Nicolas Hug
Change by Nicolas Hug : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker <https://bugs.python.org/issue34798> ___ ___ Python-bugs-list mailing list Unsub

[issue34798] pprint ignores the compact parameter for dicts

2018-09-25 Thread Nicolas Hug
New submission from Nicolas Hug : Dict representations that exceed the line width are printed with one line per key-value pair, ignoring the compact=True parameter: >>> pprint.pprint({i: 0 for i in range(15)}, compact=True) {0: 0, 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8:

[issue33934] locale.getlocale() seems wrong when the locale is yet unset (python3 on linux)

2018-06-24 Thread Nicolas Hainaux
Nicolas Hainaux added the comment: I understand that the statement "when python starts, it runs using the C locale..." should not be correct anymore (and the doc should then be updated), but in fact this statement is still true on the systems I tested; only, the output of locale

[issue33934] locale.getlocale() seems wrong when the locale is yet unset (python3 on linux)

2018-06-23 Thread Nicolas Hainaux
Nicolas Hainaux added the comment: Sorry, I did not realize that using the word "unset" was completely misleading: I only meant "before any use of locale.setlocale() in python". So I'll rephrase this all, and add details about the python versions and platforms in this me

[issue33934] locale.getlocale() seems wrong when the locale is yet unset (python3 on linux)

2018-06-21 Thread Nicolas Hainaux
New submission from Nicolas Hainaux : Expected behaviour: When unset, the locale in use is `C` (as stated in python documentation) and `locale.getlocale()` returns `(None, None)` on Linux with python2.7 or on Windows with python2.7 and python 3.6 (at least): $ python2 Python 2.7.15

[issue33911] [EASY] test_docxmlrpc fails when run with -Werror

2018-06-21 Thread Nicolas Noé
Change by Nicolas Noé : -- keywords: +patch pull_requests: +7457 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33911> ___ ___ Python-

[issue33911] [EASY] test_docxmlrpc fails when run with -Werror

2018-06-21 Thread Nicolas Noé
Nicolas Noé added the comment: I'm willing to try solving this! -- nosy: +niconoe ___ Python tracker <https://bugs.python.org/issue33911> ___ ___ Python-bug

[issue28969] fnmatch is not threadsafe

2016-12-14 Thread Nicolas Savoire
New submission from Nicolas Savoire: With python3.5, fnmatch appears not to be thrad safe. It fails with the following exception: Traceback (most recent call last): File "test.py", line 18, in f.result() File "/opt/anaconda3/lib/python3.5/concurrent/futures/_bas

[issue26552] Failing ensure_future still creates a Task

2016-03-13 Thread Damien Nicolas
New submission from Damien Nicolas: When calling asyncio.ensure_future() on a coroutine, and if the loop is closed, ensure_future() will raise a RuntimeError. However, it still creates a Task, which will generate a RuntimeWarning that we can’t fix since there is no way to cancel the Task

[issue26097] 2.7 documentation about TextTestRunner do not specify all the arguments

2016-01-13 Thread Nicolas Évrard
New submission from Nicolas Évrard: Some of the arguments although specified further in the documentation do not appear in the signature of TextTestRunner. Here's a simple patch to include them. -- assignee: docs@python components: Documentation files: unittest_doc_bug.diff keywords

[issue25675] doc for BaseEventLoop.run_in_executor() says its a coroutine, but it is not

2015-11-19 Thread Nicolas Demarchi
Changes by Nicolas Demarchi <m...@gilgamezh.me>: -- nosy: +gilgamezh ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25675> ___ _

[issue25358] Unexpected behaviour when converting large float to int

2015-10-09 Thread Nicolas Primeau
New submission from Nicolas Primeau: Converting arbitrarily large float type numbers to integer type number results in a non trivially different number. This can be repeated in all Python versions, same with Python 2 with longs. Expected behaviour would be an integer representation of 1e+44

[issue19084] No way to use TLS-PSK from python ssl

2015-08-21 Thread Nicolas Jouanin
Changes by Nicolas Jouanin n...@beerfactory.org: -- nosy: +njouanin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19084 ___ ___ Python-bugs-list

[issue11943] Add TLS-SRP (RFC 5054) support to ssl, _ssl, http, and urllib

2015-08-21 Thread Nicolas Jouanin
Changes by Nicolas Jouanin n...@beerfactory.org: -- nosy: +njouanin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11943 ___ ___ Python-bugs-list

[issue24875] pyvenv doesn´t install PIP inside a new venv with --system-site-package

2015-08-15 Thread Nicolas Demarchi
New submission from Nicolas Demarchi: When Envbuilder creates a new virtualenv with system_site_packages=True, in the process of installing pip itself it actually doesn't install it inside the virtualenv because it is already there in the system. However when you do it manually using

[issue21828] added/corrected containment relationship for networks in lib ipaddress

2014-06-23 Thread Nicolas Limage
New submission from Nicolas Limage: The current version of the ipaddress library implements containment relationship in a way that a network is never contained in another network : from ipaddress import IPv4Network,IPv4Address IPv4Network(u'192.168.22.0/24') in IPv4Network(u'192.168.0.0/16

[issue21828] added/corrected containment relationship for networks in lib ipaddress

2014-06-23 Thread Nicolas Limage
Changes by Nicolas Limage nicolas.lim...@gmail.com: -- nosy: -Nicolas.Limage resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21828

[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2013-11-02 Thread Nicolas Frattaroli
Nicolas Frattaroli added the comment: I had the same issue. It wouldn't just crash, it would crash sometimes, and not other times. About 50% of the time. The solution to remove msvcr as suggested by Marek did work. I didn't apply his patch, however, because I'm using a MinGW64Compiler

[issue14223] curses addch broken on Python3.3a1

2012-09-03 Thread Nicolas Schodet
Changes by Nicolas Schodet nico-pyt...@ni.fr.eu.org: -- nosy: -schodet ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14223 ___ ___ Python-bugs

[issue15785] curses.get_wch() returns keypad codes incorrectly

2012-09-03 Thread Nicolas Schodet
Changes by Nicolas Schodet nico-pyt...@ni.fr.eu.org: -- nosy: -schodet ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15785 ___ ___ Python-bugs

[issue13946] readline completer could return an iterable

2012-02-05 Thread Nicolas
New submission from Nicolas nicolas-gau...@laposte.net: The function set by readline.set_completer must return one completion per call. This should be great if we can return an iterable, because with current implementation I have to write a wrapper: cache = None def completer(text, state

[issue6774] socket.shutdown documentation: on some platforms, closing one half closes the other half

2012-01-12 Thread Nicolas Dumazet
Nicolas Dumazet nicd...@gmail.com added the comment: It's the other end which decides to return ENOTCONN upon shutdown(SHUT_RD) on OS X, which is questionable (not sure it's against the BSD socket API, since shutdown(SHUT_RD) doesn't have any counterpart in the TCP layer). Exactly

[issue13525] Tutorial: Example of Source Code Encoding triggers error

2011-12-03 Thread Nicolas Goutte
New submission from Nicolas Goutte nicolas.gou...@extragroup.de: Current Behaviour The tutorial of Python 3.2.x has an example to set an encoding in a source file: http://docs.python.org/py3k/tutorial/interpreter.html#source-code-encoding It explains to set the following line at the start

[issue13525] Tutorial: Example of Source Code Encoding triggers error

2011-12-03 Thread Nicolas Goutte
Changes by Nicolas Goutte nicolas.gou...@extragroup.de: Added file: http://bugs.python.org/file23841/windows_1252ok.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13525

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2011-11-09 Thread Nicolas Bareil
Nicolas Bareil n...@chdir.org added the comment: Hello, Your patch about SSLContext is great! But what can we do about python 2.x? I understand that we have to keep backward compatibility but something has to be done for improving current situation, even Paypal API (*) recommends using

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2011-11-09 Thread Nicolas Bareil
Nicolas Bareil n...@chdir.org added the comment: Martin v. Löwis rep...@bugs.python.org writes: what do you think about a DeprecationWarning at runtime? What API exactly should this deprecate? Ooops, lapsus. I was thinking about a RuntimeWarning raised on HTTPS request

[issue13283] removal of two unused variable in locale.py

2011-10-28 Thread Nicolas Évrard
New submission from Nicolas Évrard ni...@no-log.org: While using pyflake on some of my file I noticed in a copied version of _group two unused variables. The attached patch fixed that very little annoyance. -- components: Library (Lib) files: locale.diff keywords: patch messages

[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-07-04 Thread Nicolas Estibals
Nicolas Estibals nicolas.estib...@gmail.com added the comment: Thanks for your help and the interesting discussion with this issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12147

[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-06-28 Thread Nicolas Estibals
Nicolas Estibals nicolas.estib...@gmail.com added the comment: Sorry for the late, my week-end was more busy than expected. Here is the corrected version of the patch. -- Added file: http://bugs.python.org/file22511/send_message_rfc2822_v2.patch

[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-06-20 Thread Nicolas Estibals
Nicolas Estibals nicolas.estib...@gmail.com added the comment: Hi, Treating this as a bug is a good news, if we don't user of the function will ask for python 3.3 I also think the part concerning the Sender header is pretty clear and we can fix it easily. About the Resent-* fields, I'm

[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-06-20 Thread Nicolas Estibals
Nicolas Estibals nicolas.estib...@gmail.com added the comment: I wasn't aware of the problem of guessing which are the correct Resent-* field, tthis does not seem to be that easy, however taking only the first one should be a good heuristic for next release. I think we now agree

[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-05-22 Thread Nicolas Estibals
New submission from Nicolas Estibals nicolas.estib...@gmail.com: smtplib.send_message permits to send messages that are in python Message representation by selecting smtp's from and to in the message headers. Most of the time the implementation is correct but if the message is bounced (Resent

[issue12000] SSL certificate verification failed if no dNSName entry in subjectAltName

2011-05-07 Thread Nicolas Bareil
Nicolas Bareil n...@chdir.org added the comment: Hello Mads Until now Python failed to the safe side by not matching on subjectAltName iPAddress but also not falling back to commonName if they were specified. AFAICS, with this change it is possible to create strange certificates

[issue12000] SSL certificate verification failed if no dNSName entry in subjectAltName

2011-05-06 Thread Nicolas Bareil
Nicolas Bareil n...@chdir.org added the comment: Hello Antoine, Steffen, You are absolutely right about removing the 'not san' part. Here is the new patch, with tests : diff -r c22d5b37f6a4 Lib/ssl.py --- a/Lib/ssl.pyFri May 06 09:31:02 2011 +0300 +++ b/Lib/ssl.pyFri May 06 12

[issue12000] SSL certificate verification failed if no dNSName entry in subjectAltName

2011-05-04 Thread Nicolas Bareil
New submission from Nicolas Bareil n...@chdir.org: When connecting to a SSL server, the certificate verification failed if it has a subjectAltName extension without any dNSName entry inside: it should fallback to the Common Name. Example: cert = conn.getpeercert() cert {'notAfter

[issue11225] getcwd fix for NetBSD to handle ERANGE errno

2011-02-16 Thread Nicolas Joly
New submission from Nicolas Joly nj...@pasteur.fr: NetBSD do require the very same fix from issue 9185, to handle ERANGE errno returned when the size argument is greater than zero but smaller than the length of the pathname plus 1. Without it, the testsuite do indeed loops indefinitely

[issue10664] xml.sax.expatreader should support namespace prefixes

2011-02-04 Thread Nicolas Delaby
Nicolas Delaby delaby.nico...@gmail.com added the comment: the PyXML sax parser support this feature. May be it can be backported into stdlib ? -- nosy: +Nicolas.Delaby ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10664

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Nicolas Dumazet
Nicolas Dumazet nicd...@gmail.com added the comment: Hello, 1) Can you please avoid putting several statements in the same line? 2) wouldnt it be better to compute only once the contents of methods()? I'm not sure that module-initialization time is okay for CPython, but at the very least you

[issue10475] hardcoded compilers for LDSHARED/LDCXXSHARED on NetBSD

2010-12-21 Thread Nicolas Joly
Nicolas Joly nj...@pasteur.fr added the comment: I do not tested it extensively, but seems so. nj...@petaure [temp/python27] ./python Python 2.7.1+ (release27-maint:87432M, Dec 22 2010, 01:10:26) [GCC 4.1.3 20080704 prerelease (NetBSD nb2 20081120)] on netbsd5 Type help, copyright, credits

[issue10475] hardcoded compilers for LDSHARED/LDCXXSHARED on NetBSD

2010-11-20 Thread Nicolas Joly
New submission from Nicolas Joly nj...@pasteur.fr: The configure script do hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD, which should be avoided. [...] checking for gcc... gcc checking whether gcc accepts -g... yes [...] checking SO... .so checking LDSHARED... cc -shared checking

[issue10324] Modules/binascii.c: simplify expressions

2010-11-06 Thread Nicolas Kaiser
Nicolas Kaiser ni...@nikai.net added the comment: Sorry, found it - with patched builds of Python 2.6.5 and 3.1.2: python2.6 test_binascii.py test_base64invalid (__main__.BinASCIITest) ... ok test_base64valid (__main__.BinASCIITest) ... ok test_crc32 (__main__.BinASCIITest) ... ok

[issue10324] Modules/binascii.c: simplify expressions

2010-11-05 Thread Nicolas Kaiser
New submission from Nicolas Kaiser ni...@nikai.net: Hi there! I noticed two expressions that can be simplified like: (a || (!a b)) = (a || b) Best regards, Nicolas Kaiser --- --- a/Modules/binascii.c2010-11-05 13:21:22.075303326 +0100 +++ b/Modules/binascii.c2010-11-05 13:24

[issue10324] Modules/binascii.c: simplify expressions

2010-11-05 Thread Nicolas Kaiser
Changes by Nicolas Kaiser ni...@nikai.net: -- keywords: +patch Added file: http://bugs.python.org/file19504/python-binascii.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10324

[issue10324] Modules/binascii.c: simplify expressions

2010-11-05 Thread Nicolas Kaiser
Nicolas Kaiser ni...@nikai.net added the comment: That's ./Lib/test/test_unittest.py? With patched builds of Python 2.6.5 and 3.1.2: -- Ran 126 tests in 0.015s OK

[issue6755] Patch: new method get_wch for ncurses bindings: accept wide characters (unicode)

2010-10-13 Thread Nicolas Schodet
Changes by Nicolas Schodet nico-pyt...@ni.fr.eu.org: -- nosy: +schodet ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6755 ___ ___ Python-bugs-list

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2010-07-06 Thread Nicolas Dumazet
Nicolas Dumazet nicd...@gmail.com added the comment: Hello folks. (stumbling on this bug with Python2.7 release, noting that a few Mercurial tests broke with 2.7) I have no problem whatsoever with the fix itself (you know emails better than me), but you broke backwards compatibility

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2010-07-06 Thread Nicolas Dumazet
Nicolas Dumazet nicd...@gmail.com added the comment: Sure, where was my head. So, a simple patch like this one: _oldheaderinit = email.Header.Header.__init__ def _unifiedheaderinit(self, *args, **kw): # override continuation_ws kw['continuation_ws'] = ' ' _oldheaderinit(self, *args

[issue6715] xz compressor support

2010-04-09 Thread Nicolas Dumazet
Changes by Nicolas Dumazet nicd...@gmail.com: -- nosy: +nicdumz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___ ___ Python-bugs-list

[issue6005] Bug in socket example

2009-08-24 Thread Nicolas Dumazet
Nicolas Dumazet nicd...@gmail.com added the comment: I'm including a patch which replaces send by sendall in the examples in both socket and socketserver. -- keywords: +patch nosy: +nicdumz Added file: http://bugs.python.org/file14776/socket.patch

[issue6774] socket.shudown documentation: on some platforms, closing one half closes the other half

2009-08-24 Thread Nicolas Dumazet
New submission from Nicolas Dumazet nicd...@gmail.com: I had a bad time understanding what happens in Mac OS X after a shutdown call: after calling shutdown(SH_WR) on side A, a corresponding shutdown(SH_RD) on side B would raise a socket.error: socket is not connected. It is quite surprising

[issue6775] readme: correct python.org/community/lists url

2009-08-24 Thread Nicolas Dumazet
New submission from Nicolas Dumazet nicd...@gmail.com: README shows http://www.python.org/community/lists.html as an URL for mailing list details, but it should be http://www.python.org/community/lists/ Attaching a patch. -- assignee: georg.brandl components: Documentation files

[issue6776] A few tests are failing when zlib is not supported

2009-08-24 Thread Nicolas Dumazet
New submission from Nicolas Dumazet nicd...@gmail.com: test_distutils, test_zipfile, test_gzip and test_zimport are not completely safe when zlib module is not available. I've uploaded a patch on Rietveld which solves the issue here: http://codereview.appspot.com/111041 Those are my first steps

[issue6026] test_(zipfile|zipimport|gzip|distutils|sqlite) fail if zlib is not available

2009-08-24 Thread Nicolas Dumazet
Nicolas Dumazet nicd...@gmail.com added the comment: Great, I don't know how I missed that bug. It looks really similar to the patch I had written at http://codereview.appspot.com/111041 So your patch looks correct to me, and does solve the issue locally. -- nosy: +nicdumz

[issue5851] Add a stream parameter to gc.set_debug

2009-08-24 Thread Nicolas Dumazet
Nicolas Dumazet nicd...@gmail.com added the comment: Sure, I'd be happy to contribute a patch. I uploaded a patch on Rietveld, at http://codereview.appspot.com/110078 Let me know how it looks. -- ___ Python tracker rep...@bugs.python.org http

[issue6723] csv.writer: example does not work

2009-08-18 Thread Nicolas Goutte
New submission from Nicolas Goutte nicolas.gou...@extragroup.de: In the documentation for csv.writer, the example spamWriter = csv.writer(open('eggs.csv', 'w'), delimiter=' ', quotechar='|', quoting=QUOTE_MINIMAL) does not work, as Python complains about SyntaxError: invalid syntax

[issue6377] distutils compiler switch ignored

2009-07-09 Thread Nicolas Dumazet
Nicolas Dumazet nicd...@gmail.com added the comment: It seems that the fix is still not perfect. At the moment ( r73906 ), if you try to build trunk using Python 2.6, you get: python setup.py build running build running build_ext Traceback (most recent call last): File setup.py, line 1901

[issue5873] Minidom: parsestring() error

2009-04-28 Thread Nicolas Frantzen
New submission from Nicolas Frantzen n.frant...@gmail.com: Hi, I'm pretty new to the community but I get an error using the minidom parseString() method. Here is my code (ulta simple!): import xml.dom.minidom xml = taghello/tag doc = xml.dom.minidom.parsString(xml) And here is my error trace

[issue5851] Add a stream parameter to gc.set_debug

2009-04-27 Thread Nicolas Dumazet
New submission from Nicolas Dumazet nicd...@gmail.com: Hello! gc.set_debug is provided to help debugging a leaking program. That tool can be very useful indeed. Debugging information, however, is written to sys.stderr, and there are cases where this behavior can be a problem: chances

[issue5751] Typo in documentation of print function parameters

2009-04-14 Thread Nicolas Goutte
New submission from Nicolas Goutte nicolas.gou...@extragroup.de: In http://docs.python.org/library/functions.html#print the print function is documented to have a parameter named end with a default 'n'. However the default should be '\n' as documented in Python 3 ( http://docs.python.org/3.0

[issue5154] OSX broken poll testing doesn't work

2009-04-14 Thread Nicolas Dumazet
Changes by Nicolas Dumazet nicd...@gmail.com: -- nosy: +nicdumz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5154 ___ ___ Python-bugs-list

[issue3006] subprocess.Popen causes socket to remain open after close

2008-08-26 Thread Nicolas Grilly
Changes by Nicolas Grilly [EMAIL PROTECTED]: -- nosy: +ngrilly ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3006 ___ ___ Python-bugs-list mailing list

[issue1398] Can't pickle partial functions

2008-08-15 Thread Nicolas Grilly
Nicolas Grilly [EMAIL PROTECTED] added the comment: It seems using protocol version 2 is not enough: s = pickle.dumps(partial_f, 2) f = pickle.loads(s) Traceback (most recent call last): ... TypeError: type 'partial' takes at least one argument Am I missing something? -- nosy

[issue2255] Change Mandrake by Mandriva for platform.dist()

2008-03-08 Thread Nicolas Lécureuil
Nicolas Lécureuil added the comment: is there a fix applied on mandriva python : --- (empty file) +++ cooker/python/current/SOURCES/python-2.5.1-detect-mandriva.patch Sat Mar 8 03:22:50 2008 @@ -0,0 +1,10 @@ +--- Lib/platform.py.old2007-10-05 20:17:15.0 +0800 Lib

[issue2255] Change Mandrake by Mandriva for platform.dist()

2008-03-07 Thread Nicolas Lécureuil
New submission from Nicolas Lécureuil: here is a patch fixing the issue by changing mandrake to mandriva -- components: Library (Lib) files: python-2.5-change-mandrake.patch keywords: patch messages: 63370 nosy: neoclust severity: normal status: open title: Change Mandrake by Mandriva

I founded a bug.

2005-01-02 Thread Nicolas Kowenski
script: (to extend c++ in python) filename: stpwsusr.py CANT BE "wsusr.py"!!! its bad,because everybody usally name the files like the program/module. source: /*/ from distutils.core import setup, Extension