[issue33938] Cross compilation fail for ARM

2018-06-22 Thread David
New submission from David : Hi all, I fail on cross compiling Python 2.7.14 for ARM using a self built toolchain. Build host: Linux x86-64 CentOS 7 Target: arm cortex-a9 My steps are compiling python for the host, after that compiling python for the target using the PYTHON_FOR_BUILD flag

[issue33938] Cross compilation fail for ARM

2018-06-27 Thread David
David added the comment: After using --with-system-ffi and setting the correct LD_LIBRARY_PATH, it worked. Many thanks for the help! -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue34357] situation where urllib3 works, but urllib does not work

2018-08-08 Thread David
New submission from David : Hello! Newbie to python here. I run into an issue with one desktop library, Cinnamon. Specifically this one: https://github.com/linuxmint/Cinnamon/issues/5926#issuecomment-411232144. This library uses the urllib in the standard library to download some json. But

[issue34357] situation where urllib3 works, but urllib does not work

2018-08-13 Thread David
David added the comment: Hi Martin. It's definitely something with my internet connection. Yesterday I temporarily changed the way I connect to the internet to use the mobile connection from my cell phone instead of my WiFi connection, and things started working. I also debugge

[issue34357] situation where urllib3 works, but urllib does not work

2018-08-13 Thread David
David added the comment: martin.parter, it worked! Thanks so much, I was going nuts I also read the issue you pointed to, very interesting. Even if all servers should just work here, it does not seem to be the case in real life (I guess it's something easy to misconfigure) so I

[issue34438] do_handshake stuck in ssl.py

2018-08-19 Thread David
New submission from David : Sometimes, rarely, API calls will get stuck indefinitely on ssl.py. Stack trace: response = json.loads(urllib.request.urlopen(req).read()) File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout)

[issue19322] Python crashes on re.search in new regex module.

2013-10-20 Thread David
New submission from David: Python crashes while executing the following code using the new regex module. Have I made a mistake? import regex as re rx = re.compile(r'\bt(est){i<2}', flags=re.V1) print "Prints here" rx.findall("Some text") # Python crashes print

[issue21950] import sqlite3 not running

2014-07-11 Thread David
David added the comment: Hi, I've the same problem. I've already tested (from source, Python-3.4.1.tgz) under OpenSUSE 12.3 and Debian 7.5 with the same issue. I've compiled it in standard way (./configure; make; make install) although the output (error) is the same, after

[issue21950] import sqlite3 not running

2014-07-11 Thread David
David added the comment: You're absolute right that file is not in path. However, in my view this a bug, due to the fact libsqlite3-dev package must be installed before Python3.4.1 is compiled (or install it and recompile python) because there is no errors, no warnings... nothing. I

[issue7638] Counterintuitive str.splitlines() inconsistency.

2010-01-04 Thread David
New submission from David : Qualifier: This is the first issue that I've raised, so I apologise before-hand for any protocol flubs. str.splitlines()'s implementation jives unexpectedly with str.split(). In this code snippet, a server buffers input until it receives a blank line, a

[issue7638] Counterintuitive str.splitlines() inconsistency.

2010-01-04 Thread David
David added the comment: I typoed when copying my second snippet. while request_buffer.splitlines[-1] != "" or request_buffer == "": It should be: while request_buffer.splitlines()[-1] != "" or request_buffer == "": This code has the problem t

[issue7638] Counterintuitive str.splitlines() inconsistency.

2010-01-04 Thread David
David added the comment: Thank you for the clarification, David. I thought that it might have been a calculated decision beyond my understanding, and I can rest easy knowing that this behavior isn't accidental. I was thinking that I might have to do something like a regular expression,

[issue6301] Error in tutorial section 7.2

2009-06-17 Thread david
New submission from david : http://docs.python.org/tutorial/inputoutput.html#reading-and-writing- files "Windows makes a distinction between text and binary files; "the end-of-line characters in text files are automatically altered "slightly when data is read or written. Windows

[issue6301] Error in tutorial section 7.2

2009-06-18 Thread david
david added the comment: So, it's wrong, and it's not helpful unless you already know what it means, but it works for someone who doesn't need the Python tutorial! I'm gobsmacked. If "the C libraries that Python uses" have the concept of Text/Binary, why not ju

[issue6301] Error in tutorial section 7.2

2009-06-18 Thread david
david added the comment: If this is like to be non-portable to jPython, I'd like to be told. However, I can see that the tutorial may be the wrong place to mention that. -- ___ Python tracker <http://bugs.python.org/i

[issue9022] TypeError in wsgiref.handlers when using CGIHandler

2010-06-17 Thread David
New submission from David : The following code produces a type error, but from what I can tell it does comply with PEP333. This issue appeared using Python 3.1.1 and 3.1.2 on both Windows and Ubuntu. I have only tried the 32 bit versions. Works fine in Python 2.6.5.12 but I guess thats

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread David
David added the comment: I'm going to tackle the questions one-by-one: I would like these ".py" files to be IDLE files in the sense that they have the IDLE icon and they open up directly into an idle file with a shell in the background. For context: on my other Windows 10 mac

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread David
David added the comment: Thanks for the help Steve, however I cannot find the Python Launcher app anywhere on my computer. Even after repairing/reinstalling. Where might I find this file? What is it called exactly? Much appreciated. -- ___ Python

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-20 Thread David
David added the comment: So I tried changing it to py.exe, and it doesn't load the IDLE: instead, it opens up the run command for the program in command prompt. That's not what I want it to do. Also, there still is no Edit With IDLE option. And I tried doing the ProgID stuff, but

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Also, I created a reg file with the commands in a txt file and when I merged it, it was able to show the "Edit with IDLE" but it would do nothing. IDLE isn't there. Very perplexing. -- ___ Python

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Yes, I have IDLE installed, and Launcher is installed as well. I can open up IDLE from the shortcut, however I am not able to access it within "Open With" or "Default Programs" or "Change" (within Properties). I _can_ open up the file onl

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Thank you for your help. Attached is the py_config.txt that your .bat file gave me. -- Added file: http://bugs.python.org/file45991/py_config.txt ___ Python tracker <http://bugs.python.org/issue29

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Couple things: I installed PyCharm after all other options where exhausted. I needed to do some work on multiple projects. And also, I deleted .py key and it still doesn't show up. I tried associating it with idle.pyw and that didn't work either: Windo

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Couple things to note: I was not able to delete a couple of the keys. Regardless I've made some progress which I will outline in the next comment. -- ___ Python tracker <http://bugs.python.org/is

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Following your instructions on key deletion, I have now 2 "Edit with IDLE" options now. The top one does *not* work. The second one, however, does work. But when I tried to associate the .py with idle (so it opens up in IDLE) it reverted back to the comman

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: I did that, and now all the options are gone. -- ___ Python tracker <http://bugs.python.org/issue29014> ___ ___ Python-bugs-list mailin

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Also, just to clarify, I want this to be a regular installation of Python wherein I can associate .py files with IDLE (i.e. when I double click on a .py file, it takes me straight to the code) *as well as* having the option to "Edit with IDLE" when right-cli

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Also, just to clarify, I want this to be a regular installation of Python wherein I can associate .py files with IDLE (i.e. when I double click on a .py file, it takes me straight to the code) *as well as* having the option to "Edit with IDLE" when right-cli

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Before re-installing Windows 10, I was able to open up all my .py files by double-clicking on them and it would open them up in the IDLE (where I could edit the code manually and what have you). I'm not sure why it's never been a feature: I was doing tha

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Thank you so much! This solved it. -- ___ Python tracker <http://bugs.python.org/issue29014> ___ ___ Python-bugs-list mailing list Unsub

[issue27398] configure warning for Python 3.5.2 during compilation

2016-06-27 Thread David
New submission from David: Hi there. 3.5.1 final didn't have this problem, 3.5.2 final does have this problem. I'm compiling Python 3.5.2 under Debian, and get this warning during the ./configure step: --- configure: WARNING: linux/random.h: present but cannot b

[issue27398] configure warning for Python 3.5.2 during compilation

2016-06-27 Thread David
David added the comment: Forgot to mention - this is for Debian 4. A really old legacy system we're running, but where we like to use new versions of Python. -- ___ Python tracker <http://bugs.python.org/is

[issue28177] Compilation failure on Debian 4

2016-09-15 Thread David
New submission from David: Hi there. On Debian 4, while running 'make' against a downloaded and extracted Python-3.6.0b1.tar.xz, I get this error: gcc -pthread -c -fno-strict-aliasing -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes-std=c

[issue28177] Compilation failure on Debian 4

2016-09-15 Thread David
David added the comment: Thanks. What is the last official version of Python which does support GCC versions < 4.3 ? On Fri, Sep 16, 2016 at 7:20 AM, Benjamin Peterson wrote: > > Benjamin Peterson added the comment: > > We don't support GCC versions < 4.3 anymore

[issue46030] socket module add couple of FreeBSD constants

2021-12-09 Thread David Carlier
New submission from David Carlier : - adding LOCAL_CREDS then LOCAL_CREDS_PERSISTENT and SCM_CREDS2 which would be used as msg type for the latter. -- components: FreeBSD messages: 408175 nosy: dcarlier, koobs priority: normal pull_requests: 28242 severity: normal status: open title

[issue46030] socket module add couple of FreeBSD constants

2021-12-10 Thread David CARLIER
Change by David CARLIER : -- nosy: +devnexen -dcarlier ___ Python tracker <https://bugs.python.org/issue46030> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45959] Teach pprint about dict views

2021-12-13 Thread David Peled
Change by David Peled : -- nosy: +david-peled ___ Python tracker <https://bugs.python.org/issue45959> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46069] Super Smash Flash 2

2021-12-14 Thread haven david
New submission from haven david : Opportunity for you to transform into interesting characters like Mario, Sonic... Online game with exciting battles https://super-smashflash2.com -- components: Build messages: 408519 nosy: havenhaven priority: normal severity: normal status: open

[issue46140] Some API methods could take const Py_buffer* instead of Py_buffer *

2021-12-20 Thread David Hewitt
New submission from David Hewitt : The limited api methods `PyBuffer_GetPointer`, `PyBuffer_FromContiguous`, `PyBuffer_ToContiguous` and `PyMemoryView_FromBuffer` take buffer arguments as `Py_buffer *`. They do not mutate the buffer info, so could simply take `const Py_buffer *`. There is

[issue46140] Some API methods could take const Py_buffer* instead of Py_buffer *

2021-12-20 Thread David Hewitt
Change by David Hewitt : -- keywords: +patch pull_requests: +28438 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30217 ___ Python tracker <https://bugs.python.org/issu

[issue46143] [docs] IO > Text Encoding info outdated

2021-12-20 Thread David Gilbertson
New submission from David Gilbertson : On this page: https://docs.python.org/3/library/io.html#text-encoding it says "there is no concrete plan as of yet, Python may change the default text file encoding to UTF-8 in the future". On this page https://docs.python.org/3/library/os

[issue46168] Incorrect format specified for the "style" key in the configuration file format formatter example

2021-12-23 Thread David Bereza
New submission from David Bereza : Documentation link: https://docs.python.org/3/library/logging.config.html#configuration-file-format It seems that the example for the "formatter_form01" formatter section specifies following for the style(please note the single-quotes around

[issue46176] mmap module add MAP_STACK constant mostly for OpenBSD

2021-12-25 Thread David CARLIER
Change by David CARLIER : -- components: Library (Lib) nosy: devnexen priority: normal pull_requests: 28473 severity: normal status: open title: mmap module add MAP_STACK constant mostly for OpenBSD versions: Python 3.11 ___ Python tracker <ht

[issue46207] Log emit performance degradation in RotatingFileHandlers due to filesystem checks

2021-12-30 Thread David Fritz
New submission from David Fritz : I believe this also impacts 3.10 and 3.11 based on the original bpo-45401 which led to this change. Prior to commit ac421c348b in the 3.9 branch there were no additional os.path checks in the shouldRollover() methods of RotatingFileHandler and

[issue46222] posixmodule sendfile FreeBSD's constants update

2022-01-01 Thread David CARLIER
New submission from David CARLIER : Adding SF_NOCACHE and little note for SF_MNOWAIT. -- components: FreeBSD messages: 409465 nosy: devnexen, koobs priority: normal pull_requests: 28542 severity: normal status: open title: posixmodule sendfile FreeBSD's constants update ver

[issue46357] socket module fix warning build on FreeBSD

2022-01-12 Thread David CARLIER
New submission from David CARLIER : - Solves the "Make sure new member of socket address initialized." warning for the bluetooth sockaddr_l2cap usage. -- components: FreeBSD messages: 410419 nosy: devnexen, koobs priority: normal pull_requests: 28761 severity: normal st

[issue46357] socket module fix warning build on FreeBSD

2022-01-12 Thread David CARLIER
David CARLIER added the comment: I took as initialized to avoid undefined behavior rather than anything. -- ___ Python tracker <https://bugs.python.org/issue46

[issue46357] socket module fix warning build on FreeBSD

2022-01-13 Thread David CARLIER
David CARLIER added the comment: I get what you mean now I thought memset was enough. -- ___ Python tracker <https://bugs.python.org/issue46357> ___ ___ Pytho

[issue46357] socket module fix warning build on FreeBSD

2022-01-13 Thread David CARLIER
Change by David CARLIER : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue46357> ___ ___ Python-bugs-list

[issue33178] Add support for BigEndianUnion and LittleEndianUnion in ctypes

2022-01-14 Thread David Goncalves
David Goncalves added the comment: Any core developers available to review this PR? -- ___ Python tracker <https://bugs.python.org/issue33178> ___ ___ Python-bug

[issue46398] posixshmem module shm_rename freebsd support.

2022-01-16 Thread David CARLIER
Change by David CARLIER : -- components: FreeBSD nosy: devnexen, koobs, vstinner priority: normal pull_requests: 28825 severity: normal status: open title: posixshmem module shm_rename freebsd support. type: enhancement ___ Python tracker <ht

[issue46398] posixshmem module shm_rename freebsd support.

2022-01-16 Thread David CARLIER
New submission from David CARLIER : - Adding shm_rename (from FreeBSD 13) to be able to move a shared memory block from one location to another. -- ___ Python tracker <https://bugs.python.org/issue46

[issue24711] Document getpass.getpass behavior on ^C

2022-01-17 Thread David Lord
David Lord added the comment: I can reproduce this on Python 3.10. Actually, `input` and `getpass` both seem to have this behavior now. Please reopen it. ```python import getpass try: getpass.getpass("in: ") except: pass print("done") ``` ``` $ python example

[issue24711] Document getpass.getpass behavior on ^C

2022-01-17 Thread David Lord
David Lord added the comment: Meant to say that "done" shows up on the same line, not the shell prompt. An earlier version of my example was in the REPL, where its prompt *does* show up on the same line. -- ___ Python track

[issue46497] IDLE macOS shortcut ctrl+S doesn’t work for show completions

2022-01-23 Thread David Contreras
New submission from David Contreras : I noticed that selecting Edit>Show Completions works as expected on Python 3.10.2 and macOS 12.1 after issue 40128 was resolved. But trying the default keyboard shortcut ctrl+S only highlights the edit menu but doesn't work. I understand t

[issue46497] IDLE macOS shortcut ctrl+S doesn’t work for show completions

2022-01-25 Thread David Contreras
Change by David Contreras : -- assignee: -> terry.reedy components: +IDLE nosy: +terry.reedy type: -> behavior versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/i

[issue46497] IDLE macOS shortcut ctrl+S doesn’t work for show completions

2022-01-29 Thread David Contreras
David Contreras added the comment: I disabled the default ^space in macOS settings>Keyboard>Shortcuts>Input Sources>Select the Previous input source (^space) After doing that ^space works on IDLE, nonetheless the menu shows ^S which is not ^space. -- Added

[issue46475] typing.Never and typing.assert_never

2022-01-30 Thread David Foster
Change by David Foster : -- nosy: +David Foster ___ Python tracker <https://bugs.python.org/issue46475> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46658] shutil Lib enables sendfile on solaris for regular files

2022-02-06 Thread David CARLIER
New submission from David CARLIER : - sendfile on solaris supports copy between regular file descriptors as well. -- components: Library (Lib) messages: 412643 nosy: devnexen priority: normal pull_requests: 29338 severity: normal status: open title: shutil Lib enables sendfile on

[issue46696] socketmodule add Linux SO_INCOMING_CPU constasn

2022-02-09 Thread David CARLIER
Change by David CARLIER : -- nosy: devnexen priority: normal severity: normal status: open title: socketmodule add Linux SO_INCOMING_CPU constasn ___ Python tracker <https://bugs.python.org/issue46

[issue46696] socketmodule add Linux SO_INCOMING_CPU constant

2022-02-09 Thread David CARLIER
New submission from David CARLIER : Adding Linux's SO_INCOMING_CPU constant for setsockopt. -- components: +Library (Lib) keywords: +patch message_count: None -> 1.0 pull_requests: +29407 stage: -> patch review title: socketmodule add Linux SO_INCOMING_CPU constasn -> so

[issue46731] posix._fcopyfile flags addition

2022-02-12 Thread David CARLIER
New submission from David CARLIER : Exposing more flags for direct calls, shutil fastcopy still only using COPYFILE_DATA one. -- components: Library (Lib) messages: 413137 nosy: devnexen priority: normal pull_requests: 29459 severity: normal status: open title: posix._fcopyfile flags

[issue1003] zipfile password fails validation

2007-08-23 Thread David W
New submission from David W: This is in python2.5: zipfile.py SVN rev-56308 When testing a zipfile.Zipfile().read() with a password protected zip file, I would continually get exceptions. So I tracked this down to line 796-797: if ord(h[11]) != ((zinfo.CRC>>24)&255):

[issue1014] cgi: parse_qs and parse_qsl misbehave on empty strings

2007-08-24 Thread David Jessup
New submission from David Jessup: In Python 2.4.4, cgi.parse_qs(qs='', strict_parsing=True) errors out: Traceback (most recent call last): File "", line 1, in ? File "/usr/lib/python2.4/cgi.py", line 183, in parse_qs for name, value in parse_qsl(qs, kee

[issue1112] Test debug assertion in bsddb test_1413192.py

2007-09-05 Thread David Bolen
New submission from David Bolen: The change made to Lib/bsddb/test/test_1413192.py to clean up temporary files causes an abort in the DB library when trying to abort an open transaction at object destruction type - currently when the Python interpreter exits, because the transaction log file has

[issue1117] Spurious warning about missing _sha256 and _sha512 when not needed

2007-09-06 Thread David Ripton
New submission from David Ripton: Python 3.0a1, Gentoo Linux x86, with OpenSSL 0.9.8e installed. $ ./configure; make Failed to find the necessary bits to build these modules: _sha256 _sha512 To find the necessary bits, look in setup.py in detect_modules() for the module's

[issue1118] hashlib module fails with TypeError

2007-09-06 Thread David Ripton
New submission from David Ripton: The hashlib module seems not to work at all: $ python3.0 Python 3.0a1 (py3k, Sep 5 2007, 08:17:11) [GCC 4.1.2 (Gentoo 4.1.2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>

[issue1117] Spurious warning about missing _sha256 and _sha512 when not needed

2007-09-06 Thread David Ripton
David Ripton added the comment: Yes, the fix works for me. Thanks. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1117> __ ___ Python-bugs-list mailing list

[issue1120] "make altinstall" installs pydoc, idle, smtpd.py with broken shebang lines

2007-09-06 Thread David Ripton
New submission from David Ripton: Gentoo Linux, x86, Python 3.0a I did a vanilla "./configure; make; make test; make altinstall" build. The following files were created in /usr/local/bin: -rwxr-xr-x 1 root root 18036 Sep 6 17:49 smtpd.py -rwxr-xr-x 1 root root 81 Sep 6 1

[issue1144] parsermodule validation out of sync with Grammar

2007-09-11 Thread David Binger
New submission from David Binger: >>> parser.sequence2st(parser.suite("class A(object): pass").tolist()) Traceback (most recent call last): File "", line 1, in parser.ParserError: Expected node type 326, got 329. --- The Grammar in python 3 uses "arglis

[issue1183] race in SocketServer.ForkingMixIn.collect_children

2007-09-20 Thread David Ripton
New submission from David Ripton: CentOS Linux 5, Python 2.4.3 (but code appears unchanged in 2.5 and trunk, so I don't believe this bug has already been fixed) We have an xmlrpc server that subclasses DocXMLRPCServer.DocXMLRPCServer and SocketServer.ForkingMixIn. Under load, it some

[issue1311] os.path.exists(os.devnul) regression on windows

2007-10-22 Thread David Kågedal
New submission from David Kågedal: When moving from Python 2.4 to Python 2.5, my program stopped working on win32 because of a change in os.path.exists. I couldn't find any description of the change, so I can only assume it's a bug. The os.devnul variable contains the name of the

[issue1311] os.path.exists(os.devnull) regression on windows

2007-10-22 Thread David Kågedal
David Kågedal added the comment: It's called os.devnull, and nothing else. -- title: os.path.exists(os.devnul) regression on windows -> os.path.exists(os.devnull) regression on windows __ Tracker <[EMAIL PROTECTED]> <http://bugs.pyt

[issue1311] os.path.exists(os.devnull) regression on windows

2007-10-23 Thread David Kågedal
David Kågedal added the comment: I tried it on two different machines, and got two different answers: conan$ /cygdrive/c/Python25/python -c 'import os.path; print os.path.exists("nul")' False conan$ /cygdrive/c/Python24/python -c 'import os.path; print os.path.ex

[issue1183] race in SocketServer.ForkingMixIn.collect_children

2007-10-29 Thread David Ripton
David Ripton added the comment: No signal handler. Yes, we run subprocesses. I don't believe either is necessary to trigger the race condition, though. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python

[issue1430] Installing on Vista asks to close Explorer (and Nokia PC Suite)

2007-11-12 Thread David Barlow
New submission from David Barlow: Version 2.5.1. I'm trying to install Python on 32bit Vista Business. When I run the MSI file it proceeds smoothly (well, apart from offering to install to "c:\python..." instead of "c:\program files\python..."), and then starts the

[issue1430] Installing on Vista asks to close Explorer (and Nokia PC Suite)

2007-11-13 Thread David Barlow
Changes by David Barlow: __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1430> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mai

[issue1144] parsermodule validation out of sync with Grammar

2007-11-15 Thread David Binger
David Binger added the comment: The one line patch below makes "import parser; parser.sequence2st(parser.suite("class A(object): pass").tolist())" work. It puts the parsermodule's validation back in sync with the Python3 grammar for this rule of the grammar. This bug

[issue1144] parsermodule validation out of sync with Grammar

2007-11-15 Thread David Binger
David Binger added the comment: Okay, here is the whole thing with a unittest that exposes the problem. Index: Lib/test/test_parser.py === --- Lib/test/test_parser.py (revision 58984) +++ Lib/test/test_parser.py (working

[issue1514] missing constants in socket module

2007-11-28 Thread David Binger
New submission from David Binger: TCP_NODELAY and some constants are not present in the socket module. I think maybe "#include " should appear somewhere, perhaps at the top of socketmodule.c? (This is on OS X 10.5.1 with py3k revision 59215). -- components: Library (Lib),

[issue12958] test_socket failures on Mac OS X

2011-09-12 Thread David Watson
Changes by David Watson : -- nosy: +baikie ___ Python tracker <http://bugs.python.org/issue12958> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12537] mailbox's _become_message is very fragile

2011-09-14 Thread David Lam
David Lam added the comment: Hi hi, noob here. I found this today after clicking 'Easy issues' link. Would something like this work? test_mailbox.py seems to pass. However, I'm not too sure what more needs to be done in the _explain_to. It seems like everything to conver

[issue12537] mailbox's _become_message is very fragile

2011-09-15 Thread David Lam
David Lam added the comment: Hm, it seems right now that the only time that happens is when creating a message based on an mbox message. The 'status' and 'x-status' attributes are deleted. Any hints on what I could to do figure out what special attributes should be dele

[issue12981] rewrite multiprocessing (senfd|recvfd) in Python

2011-09-18 Thread David Watson
David Watson added the comment: I had a look at this patch, and the FD passing looked OK, except that calculating the buffer size with CMSG_SPACE() may allow more than one file descriptor to be received, with the extra one going unnoticed - it should use CMSG_LEN() instead (the existing C

[issue8623] Aliasing warnings in socketmodule.c

2011-09-18 Thread David Watson
David Watson added the comment: For reference, the warnings are partially explained here: http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Optimize-Options.html#index-fstrict_002daliasing-825 http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Warning-Options.html#index-Wstrict_002daliasing-337 I get

[issue8623] Aliasing warnings in socketmodule.c

2011-09-18 Thread David Watson
Changes by David Watson : Added file: http://bugs.python.org/file23187/socket-aliasing-union-3.2.diff ___ Python tracker <http://bugs.python.org/issue8623> ___ ___ Pytho

[issue8623] Aliasing warnings in socketmodule.c

2011-09-18 Thread David Watson
Changes by David Watson : Added file: http://bugs.python.org/file23188/socket-aliasing-union-3.3.diff ___ Python tracker <http://bugs.python.org/issue8623> ___ ___ Pytho

[issue13001] test_socket.testRecvmsgTrunc failure on FreeBSD 7.2 buildbot

2011-09-18 Thread David Watson
Changes by David Watson : -- nosy: +baikie ___ Python tracker <http://bugs.python.org/issue13001> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12537] mailbox's _become_message is very fragile

2011-09-19 Thread David Lam
David Lam added the comment: This patch deletes the leftover special attributes. Thanks for guiding me through my confusion and/or cluelessness! -- keywords: +patch Added file: http://bugs.python.org/file23191/12537.patch ___ Python tracker <h

[issue12537] mailbox's _become_message is very fragile

2011-09-19 Thread David Lam
Changes by David Lam : Added file: http://bugs.python.org/file23192/12537.find.attribute.differences.patch ___ Python tracker <http://bugs.python.org/issue12537> ___ ___

[issue12981] rewrite multiprocessing (senfd|recvfd) in Python

2011-09-19 Thread David Watson
David Watson added the comment: On Sun 18 Sep 2011, Charles-François Natali wrote: > > I had a look at this patch, and the FD passing looked OK, except > > that calculating the buffer size with CMSG_SPACE() may allow more > > than one file descriptor to be received, with t

[issue13022] _multiprocessing.recvfd() doesn't check that file descriptor was actually received

2011-09-20 Thread David Watson
New submission from David Watson : The function _multiprocessing.recvfd() calls recvmsg() and expects to receive a file descriptor in an SCM_RIGHTS control message, but doesn't check that such a control message is actually present. So if the sender sends data without an accompanying

[issue13022] _multiprocessing.recvfd() doesn't check that file descriptor was actually received

2011-09-20 Thread David Watson
Changes by David Watson : Added file: http://bugs.python.org/file23215/recvfd-skip-reduction-fix.diff ___ Python tracker <http://bugs.python.org/issue13022> ___ ___ Pytho

[issue12981] rewrite multiprocessing (senfd|recvfd) in Python

2011-09-20 Thread David Watson
David Watson added the comment: On Tue 20 Sep 2011, Charles-François Natali wrote: > I committed the patch to catch the ImportError in test_multiprocessing. This should go in all branches, I think - see issue #13022. -- ___ Python tracker &l

[issue8813] SSLContext doesn't support loading a CRL

2011-10-05 Thread David Andrzejewski
Changes by David Andrzejewski : -- nosy: +dandrzejewski ___ Python tracker <http://bugs.python.org/issue8813> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2011-10-12 Thread David Schnur
David Schnur added the comment: I haven't commented since opening this issue, but I've been following along. Regarding Marc-Andre's latest comment, I think whether to embed a manifest or not is a separate issue. The current behavior is to embed a manifest, and so it should

[issue8668] Packaging: add a 'develop' command

2011-10-17 Thread David Barnett
Changes by David Barnett : -- nosy: +mu_mind ___ Python tracker <http://bugs.python.org/issue8668> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13205] NameErrors in generated setup.py (codecs, split_multiline)

2011-10-17 Thread David Barnett
New submission from David Barnett : The setup.py file currently generated by "pysetup generate-setup" fails to import the "codecs" module, and also uses a split_multiline function from distutils2/utils.py that's undefined in the setup script. -- assignee: tar

[issue11638] python setup.py sdist crashes if version is unicode

2011-10-17 Thread David Barnett
David Barnett added the comment: I'm getting this exact error when I run "python setup.py sdist", no matter what I do. Even if I just create a new project, type "1.0.0" for version, type "a" in all the other fields, and say "no" to every que

[issue13170] distutils2 test failures

2011-10-17 Thread David Barnett
David Barnett added the comment: I looked into the ConfigTestCase.test_config failure, and it looks like it just needs the righthand edited to match the left. "package_data" lines are supposed to allow comma-separated lists of paths on the righthand. -- nosy

<    1   2   3   4   5   6   7   8   9   10   >