[issue14229] On KeyboardInterrupt, the exit code should mirror the signal number

2012-03-09 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- nosy: +rosslagerwall ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14229 ___ ___ Python-bugs

[issue8963] test_urllibnet failure

2012-03-11 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: I tested the code from msg107484 on Fedora 16 with no change in locale. Probably OK to close? -- nosy: +rosslagerwall ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue14358] test_os failing with errno 61: No Data Available

2012-03-18 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Perhaps any errors that occur during supports_extended_attributes should cause it to just return false? -- nosy: +benjamin.peterson, rosslagerwall ___ Python tracker rep...@bugs.python.org

[issue7997] http://www.python.org/dev/faq/ doesn't seem to explain how to regenerate configure

2012-03-18 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- assignee: - rosslagerwall nosy: +rosslagerwall resolution: - fixed stage: - committed/rejected status: open - closed type: - enhancement ___ Python tracker rep...@bugs.python.org http

[issue14359] _posixsubprocess.o compilation error on CentOS 5.8

2012-03-19 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Thanks! -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14359

[issue14432] Bug in generator if the generator in created in a C thread

2012-03-28 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Here's the patch ;-) -- keywords: +patch nosy: +rosslagerwall Added file: http://bugs.python.org/file25055/generator.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue14443] Distutils test failure

2012-03-29 Thread Ross Lagerwall
New submission from Ross Lagerwall rosslagerw...@gmail.com: On an up to date Fedora 16: == CPython 3.3.0a1+ (default:d528b2d2+, Mar 29 2012, 18:04:26) [GCC 4.6.3 20120306 (Red Hat 4.6.3-2)] == Linux-3.3.0-4.fc16.x86_64-x86_64-with-fedora-16-Verne little-endian == /home/ross/src

[issue14443] Distutils test failure

2012-03-29 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: The output of running rpmbuild from bash: $ rpmbuild RPM version 4.9.1.2 Copyright (C) 1998-2002 - Red Hat, Inc. This program may be freely redistributed under the terms of the GNU GPL Usage: rpmbuild [-v?] [-bp] [-bc] [-bi] [-bl] [-ba

[issue14442] test_smtplib.py lacks import errno

2012-03-29 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Thanks Ross. I don't think this is worth a news item, even though the bug was shipped in an alpha. If someone disagrees please add one. I did add it to the [Tests] section in 9c2b710da3c7. Hardly worth it, but ... -- nosy

[issue14443] Distutils test failure

2012-03-31 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: The first bad revision is: changeset: 72818:27a36b05caed branch: 3.2 user:Éric Araujo mer...@netwok.org date:Sat Oct 08 00:34:13 2011 +0200 summary: Fix

[issue14467] Avoid exotic documentation in the devguide

2012-04-01 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: I'm happy to remove the bit about *installing* autoconf altogether. Do you think the Autoconf section (about regenerating configure) should stay where it is or be moved somewhere else

[issue14527] How to link with an external libffi?

2012-04-07 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: If it is in a non-standard location, try setting the environment variables: LDFLAGS linker flags, e.g. -Llib dir if you have libraries in a nonstandard directory lib dir CPPFLAGS(Objective) C/C++ preprocessor flags, e.g

[issue12081] Remove distributed copy of libffi

2012-04-15 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: In any case, it should be OK to remove libffi_arm_wince? Is WinCE supported? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12081

[issue17552] socket.sendfile()

2013-03-27 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- nosy: +rosslagerwall ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17552 ___ ___ Python-bugs

[issue15777] test_capi refleak

2012-08-24 Thread Ross Lagerwall
New submission from Ross Lagerwall: results for fa745ed89b7a on branch default test_capi leaked [2, 2, 2] references, sum=6 Command line was: ['./python', '-m', 'test.regrtest', '-uall', '-R', '3:3:/home/antoine/cpython/refleaks/reflogEr4Oyp', '-x

[issue15777] test_capi refleak

2012-08-24 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15777

[issue15798] subprocess.Popen() fails if 0, 1 or 2 descriptor is closed

2012-08-29 Thread Ross Lagerwall
Ross Lagerwall added the comment: It's caused by the following check in _posixsubprocess.c: if (close_fds errpipe_write 3) { /* precondition */ PyErr_SetString(PyExc_ValueError, errpipe_write must be = 3); return NULL; } which was written by Gregory P. Smith in 2010

[issue15798] subprocess.Popen() fails if 0, 1 or 2 descriptor is closed

2012-08-29 Thread Ross Lagerwall
Ross Lagerwall added the comment: The attached patch + test seems to fix the issue. It's not very elegant. -- keywords: +patch Added file: http://bugs.python.org/file27042/issue15798.patch ___ Python tracker rep...@bugs.python.org http

[issue15798] subprocess.Popen() fails if 0, 1 or 2 descriptor is closed

2012-08-30 Thread Ross Lagerwall
Ross Lagerwall added the comment: I sent a review through on rietveld; I'm attaching a patch with the changes so that it compiles and passes the tests. -- Added file: http://bugs.python.org/file27053/issue15798_v2.patch ___ Python tracker rep

[issue15876] test_curses refleak

2012-09-07 Thread Ross Lagerwall
New submission from Ross Lagerwall: [1/1] test_curses beginning 6 repetitions 123456 . test_curses leaked [1, 1, 1] references, sum=3 1 test failed: test_curses [154814 refs] -- assignee: rosslagerwall messages: 169973 nosy: rosslagerwall priority: low severity: normal status: open

[issue15876] test_curses refleak

2012-09-07 Thread Ross Lagerwall
Ross Lagerwall added the comment: This didn't get picked up by Antoine's daily refleak test run because test curses only runs when stdout is a TTY. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15876

[issue15876] test_curses refleak

2012-09-07 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15876

[issue16140] subprocess.Popen the os.close calls in _execute_child can raise an EBADF exception

2012-10-05 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- nosy: +rosslagerwall ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16140 ___ ___ Python-bugs

[issue16262] srcdir != builddir builds fail, if hg is not installed

2012-10-29 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- assignee: - rosslagerwall nosy: +rosslagerwall resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.2, Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue4609] Allow use of 256 FD's on solaris in 32 bit mode

2009-02-24 Thread Ross Hayden
Changes by Ross Hayden r...@nsnull.com: -- nosy: +ross ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4609 ___ ___ Python-bugs-list mailing list

[issue1975] signals not always delivered to main thread, since other threads have the signal unmasked

2009-02-27 Thread Ross Hayden
Changes by Ross Hayden r...@nsnull.com: -- nosy: +ross ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1975 ___ ___ Python-bugs-list mailing list

[issue1777398] IDLE Freezes After Running Scripts

2009-04-27 Thread Ross Peoples
Ross Peoples deejr...@users.sourceforge.net added the comment: I just did a fresh install of Ubuntu Jaunty in a virtual machine, copied and pasted the code. It ran the first time without a problem. But the second time I ran it, the application would not exit and IDLE is frozen. So I still have

[issue23070] Error in Tutorial comment

2014-12-16 Thread Ross Burnett
New submission from Ross Burnett: In section 3.1.2. Strings of the Tutorial (version 3.4 plus others?), a comment on a slicing error has an error: word[42] # the word only has 7 characters It should say word[42] # the word has 6 characters -- assignee: docs@python components

Re: Call for Assistance

2016-08-09 Thread Charles Ross
> CC-BY-NC-SA is not a license for free (as in speech) content. Is that > what you want? I really appreciate all the conversation about the license. Perhaps I made a mistake with requiring noncommercial in the license, I don’t know, but I’ll look at the links provided about free documentation

Re: Call for Assistance

2016-08-09 Thread Charles Ross
Well, I’ve been convinced. The license for the book is now Creative Commons Attribution-ShareAlike. https://github.com/chivalry/meta-python/blob/master/LICENSE.md Thanks, Chuck > On Aug 9, 2016, at 3:00 PM, Charles Ross <chiva...@mac.com> wrote: > >> CC-BY-NC-SA is not

Meta Python Chapter 3 Available

2016-08-12 Thread Charles Ross
I’ve completed a first draft of Chapter 3: Modules (and Packages) of the Meta Python book. Feedback from novices and experts alike would be welcome. https://github.com/chivalry/meta-python Thanks, Chuck --

Call for Assistance

2016-08-09 Thread Charles Ross
I’ve begun a new book called Meta Python that I’m looking for assistance with. The book is one I wish was out there, and so am writing. The book is targeted at experienced programmers who are novice Python users and want to move from that point to one where they have published to PyPI. I’m

Re: Call for Assistance

2016-08-09 Thread Charles Ross
.pyt...@pearwood.info> wrote: > > On Tuesday 09 August 2016 11:52, Charles Ross wrote: > >> I’ve begun a new book called Meta Python that I’m looking for assistance >> with. > > Are you looking for people to be co-authors? Are you offering payment, or > credit

How to get Read the Docs to generate py-modindex.html?

2016-08-29 Thread Charles Ross
Since I appear to be experiencing one of the few times that Stack Overflow hasn’t provided any quick answers to a problem (http://stackoverflow.com/questions/39197037/how-to-get-read-the-docs-to-generate-py-modindex-html

RE: how to control formatting of a namedtuple in a list

2016-11-17 Thread Boylan, Ross
es violating the intended semantics of repr, namely that the result could be converted back to the original object. I'm trying to get a display that has only some of the information in the object. My understanding is that str is supposed to provide that. At any rate, I agree there are reasons to use

RE: how to control formatting of a namedtuple in a list

2016-11-17 Thread Boylan, Ross
or, if in a format, the default formatting all the way down. Is there a good reason it's repr? Ross From: Python-list [python-list-bounces+ross.boylan=ucsf@python.org] on behalf of Chris Angelico [ros...@gmail.com] Sent: Thursday, November 17, 2016 3:24 PM

how to control formatting of a namedtuple in a list

2016-11-17 Thread Boylan, Ross
, spec): return self.__str__() f=Foo(4) print(f) print(str(f)) print("{}".format(f)) print("{}".format([f])) # a list with one f Output foolish(4) foolish(4) foolish(4) [Foo(x=4)] I'm running Python 3.4. Thanks. Ross -- https://mail.python.org/mailman/listinfo/python-list

error in syntax description for comprehensions?

2017-03-30 Thread Boylan, Ross
sure what or_test would do there either with or without an additional element following "in". Ross Boylan -- https://mail.python.org/mailman/listinfo/python-list

[issue26350] Windows: signal doc should state certains signals can't be registered

2017-08-08 Thread Ross Rosen
Ross Rosen added the comment: I'm not sure if this is helpful, but I thought it might be useful for you to hear a non-expert user's perspective. (In summary, I'm agreeing with the OP.) I spent a lot of time getting some signal handling working on OSX. Then finally in my process got

Re: Meaning of abbreviated terms

2018-05-12 Thread Ross Wilson
quot; [1] which were a key/value data structure, usually called an "alist" or "a-list". Ross [0] https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node108.html [1] https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node153.html On 12/5/2561 BE 13:45, Bob Martin wrote: in 793617

Re: How to start gnuradio

2018-07-31 Thread Ross Wilson
I had a paddle through the manual at https://www.gnuradio.org/doc/doxygen/page_python_blocks.html and apparently some DSP operations use numpy. Ross On Wed, 1 Aug 2018 at 11:56 wrote: > > > After some research I found out that "sudo apt-get install python-numpy" > solve

[issue34585] Don't use AC_RUN_IFELSE to determine float endian

2018-09-06 Thread Ross Burton
Change by Ross Burton : -- pull_requests: +8543 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34585> ___ ___ Python-bugs-list mai

[issue34585] Don't use AC_RUN_IFELSE to determine float endian

2018-09-05 Thread Ross Burton
New submission from Ross Burton : Currently configure.ac uses AC_RUN_IFELSE to determine the byte order of floats and doubles. This hurts when cross-compiling because a default is set, resulting in Python silently falling back to sub-optimal codepaths. A partial improvement would

[issue36125] Cannot cross-compile to more featureful but same tune

2019-02-26 Thread Ross Burton
New submission from Ross Burton : My build machine is a Haswell Intel x86-64. I'm cross-compiling to x86-64, with -mtune=Skylake -avx2. During make install PYTHON_FOR_BUILD loads modules from the *build* Lib/ which contain instructions my Haswell can't execute: | _PYTHON_PROJECT_BASE=/data

[issue36125] Cannot cross-compile to more featureful but same tune

2019-02-26 Thread Ross Burton
Ross Burton added the comment: >From what I can tell: configure.ac sets PYTHON_FOR_BUILD like this if cross-compiling: PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(a

[issue36159] Modify Formatter Class to handle arbitrary objects

2019-03-01 Thread Ross Biro
New submission from Ross Biro : The only point in the string.Formatter class that really depends on string output is line 245: return ''.join(result), auto_arg_index. I'm currently working on a problem that would be much easier if I could get access to the result list instead of having

[issue36125] Cannot cross-compile to more featureful but same tune

2019-03-02 Thread Ross Burton
Ross Burton added the comment: strace disagrees. By putting strace in PYTHON_FOR_BUILD and then invoking make sharedmods: | openat(AT_FDCWD, "/data/poky-tmp/master/work/corei7-64-poky-linux/python3/3.7.2-r0/build/build/lib.linux-x86_64-3.7/_heapq.cpython-37m-x86_64-linux-gnu.so",

[issue36125] Cannot cross-compile to more featureful but same tune

2019-03-03 Thread Ross Burton
Ross Burton added the comment: That's exactly the glitch. I'm cross-compiling to a more powerful IA process from IA. This *is* a cross-compilation but the triple is the same. Assuming that you can rely on the loader to not open target binaries when they're on the path to load from

[issue36159] Modify Formatter Class to handle arbitrary objects

2019-03-12 Thread Ross Biro
Ross Biro added the comment: I'm currently writing a language translator between two domain specific computer languages. Because some expressions occur repeatedly, but in slightly different contexts, I make multiple passes. The first pass reduces everything it can and leaves place holder

Re: Wind Rose Plotting in Python

2019-09-05 Thread Ross Wilson
matplotlib at https://github.com/python-windrose/windrose . The matplotlib page of third-party libraries is at https://matplotlib.org/3.1.1/thirdpartypackages/index.html#windrose . Ross -- https://mail.python.org/mailman/listinfo/python-list

[issue39507] http library missing HTTP status code 418 "I'm a teapot"

2020-01-31 Thread Ross Rhodes
New submission from Ross Rhodes : http library missing HTTP status code 418 "I'm a teapot". -- messages: 361106 nosy: trrhodes priority: normal severity: normal status: open title: http library missing HTTP status code 418 "I'm a teapot" __

[issue39507] http library missing HTTP status code 418 "I'm a teapot"

2020-01-31 Thread Ross Rhodes
Change by Ross Rhodes : -- keywords: +patch pull_requests: +17665 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18291 ___ Python tracker <https://bugs.python.org/issu

[issue38999] Python launcher on Windows does not detect active venv

2019-12-24 Thread Ross Boylan
Ross Boylan added the comment: As someone who finds the current behavior surprising, and having lost significant time because of it, I have a couple of comments. 1) If the venv created a python3 (or 2, as appropriate) file, would the expected behavior with !#/usr/bin/env python3 be restored

[issue40028] Math module method to find prime factors for non-negative int n

2020-04-18 Thread Ross Rhodes
Ross Rhodes added the comment: Unable to dedicate time to this issue under the change of circumstances. Happy for someone else to re-open this if they take an interest in picking up this work. -- resolution: -> postponed stage: needs patch -> resolved status: open -&g

[issue40028] Math module method to find prime factors for non-negative int n

2020-03-20 Thread Ross Rhodes
New submission from Ross Rhodes : Hello, Thoughts on a new function in the math module to find prime factors for non-negative integer, n? After a brief search, I haven't found previous enhancement tickets raised for this proposal, and I am not aware of any built-in method within either

[issue40028] Math module method to find prime factors for non-negative int n

2020-03-21 Thread Ross Rhodes
Ross Rhodes added the comment: Hi Tim, Are there any open discussions or threads following the proposed “imath” module? I’m a relatively new entrant to the Python community, so if there’s any ongoing discussion on that front I’d be happy to read further. I think as a first step it would

[issue40028] Math module method to find prime factors for non-negative int n

2020-03-21 Thread Ross Rhodes
Ross Rhodes added the comment: Hi Serhiy, Thanks for sharing your thread. I support this proposal, and would be happy to help where time permits if we can gather sufficient support. I inadvertently posted my support twice on your thread with no obvious means of deleting the duplicate post

[issue40028] Math module method to find prime factors for non-negative int n

2020-03-21 Thread Ross Rhodes
Ross Rhodes added the comment: Hi Steven, I agree, your set of proposed methods seem sensible to me. I'm happy to start with an implementation of at least some of those methods and open for review, taking this one step at a time for easier review and regular feedback. > Another quest

[issue40028] Math module method to find prime factors for non-negative int n

2020-03-21 Thread Ross Rhodes
Ross Rhodes added the comment: Hi Serhiy, > Provide a pull request. Apologies, by "this idea" I should clarify I meant the "imath" module proposal. On this particular enhancement, yes, I'm happy to work on and later

[issue42778] Add follow_symlinks=True parameter to both os.path.samefile() and Path.samefile()

2020-12-29 Thread Ross Rhodes
Change by Ross Rhodes : -- keywords: +patch nosy: +trrhodes nosy_count: 1.0 -> 2.0 pull_requests: +22839 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23996 ___ Python tracker <https://bugs.python.org/i

[issue42778] Add follow_symlinks=True parameter to both os.path.samefile() and Path.samefile()

2020-12-29 Thread Ross Rhodes
Ross Rhodes added the comment: Hi Tom, Thanks for raising this issue. I've opened a PR to permit us to set `follow_symlinks` in both os.path and pathlib. Feel free to leave feedback. -- ___ Python tracker <https://bugs.python.org/issue42

[issue41781] Typos in typing.py

2020-12-26 Thread Ross Rhodes
Change by Ross Rhodes : -- keywords: +patch nosy: +trrhodes nosy_count: 1.0 -> 2.0 pull_requests: +22804 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23957 ___ Python tracker <https://bugs.python.org/i

[issue42756] smtplib.LMTP.connect() raises TypeError if `timeout` is not specified

2020-12-27 Thread Ross Rhodes
Change by Ross Rhodes : -- keywords: +patch nosy: +trrhodes nosy_count: 1.0 -> 2.0 pull_requests: +22814 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23969 ___ Python tracker <https://bugs.python.org/i

[issue42756] smtplib.LMTP.connect() raises TypeError if `timeout` is not specified

2020-12-27 Thread Ross Rhodes
Ross Rhodes added the comment: Hello Wüstengecko, Thanks for raising this issue. I've opened a PR which I believe will resolve the problem, but it's difficult to verify this against the mock socket setup. Feel free to leave feedback

[issue41781] Typos in typing.py

2020-12-26 Thread Ross Rhodes
Ross Rhodes added the comment: Hello Patrick, Thanks for opening this issue. I'm creating a PR to resolve the typo in "_allow_reckless_class_cheks", but I'm unable to find "instnance". Presumably the latter was resol

[issue42352] A string representation of slice objects with colon syntax

2020-11-13 Thread Ross Barnowski
New submission from Ross Barnowski : It would be nice if there were a way to get a string representation of a slice object in extended indexing syntax, e.g. ``` >>> myslice = slice(None, None, 2) >>> print(myslice) '::2' ``` One motivating use-case is in descriptive e

[issue42173] Drop Solaris support

2020-11-02 Thread Gordon Ross
Gordon Ross added the comment: I can understand the frustrations around dealing with minority platforms, but please remember that the illumos project (www.illumos.org) is basically the inheritor of problems around "Build on Solaris" for 3rd party software like Python. There are

[issue41914] test_pdb fails

2020-12-30 Thread Ross Rhodes
Ross Rhodes added the comment: Hi Sumagna, test_pdb appears to be working as expected on my machine. I realise this was posted a few months ago so would you mind trying again and seeing if the issue persists? If so, which OS are you running your tests on? -- nosy: +trrhodes

[issue42787] email.utils.getaddresses improper parsing of unicode realnames

2020-12-30 Thread Ross Rhodes
Ross Rhodes added the comment: Hi Konstantin, Thanks for raising this issue. It appears the field provided in your example does not conform to RFC 2822 followed by this email library. Square brackets are treated as special characters in [section 3.2.1](https://tools.ietf.org/html/rfc2822

[issue42794] test_nntplib fails on CI

2020-12-31 Thread Ross Rhodes
Ross Rhodes added the comment: Server is returning '215 Newsgroup descriptions in form "group description"', but an empty list of lines, so it's reaching the 'nothing' case in _getdescriptions: https://github.com/python/cpython/blob/master/Lib/nntplib.py#L660 -- nosy:

[issue42916] Support for DICOM image file format in imghdr module

2021-01-16 Thread Ross Rhodes
Change by Ross Rhodes : -- keywords: +patch nosy: +trrhodes nosy_count: 2.0 -> 3.0 pull_requests: +23050 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/24227 ___ Python tracker <https://bugs.p

[issue42916] Support for DICOM image file format in imghdr module

2021-01-16 Thread Ross Rhodes
Ross Rhodes added the comment: Hello Charles, Following the format provided, I've opened a PR to implement your proposal. Feedback welcome. -- ___ Python tracker <https://bugs.python.org/issue42

[issue42756] smtplib.LMTP.connect() raises TypeError if `timeout` is not specified

2021-01-01 Thread Ross Rhodes
Change by Ross Rhodes : -- pull_requests: +22886 pull_request: https://github.com/python/cpython/pull/24050 ___ Python tracker <https://bugs.python.org/issue42

Release 0.3.4 of orderedstructs including a C++/Python SkipList

2021-04-29 Thread Paul Ross
iplist.readthedocs.io/en/latest/visualisations.html#skiplist-visualisation-label> Project source: https://github.com/paulross/skiplist PyPi: https://pypi.org/project/orderedstructs/ Documentation: http://skiplist.readthedocs.io/en/latest/index.html Paul Ross. __

[issue42916] Support for DICOM image file format in imghdr module

2021-02-08 Thread Ross Rhodes
Ross Rhodes added the comment: Looking for input from other contributors here. Naturally with a PR already open I’m inclined to keep these changes, but if the majority agree that it is too specific a format then I’m happy to hear alternative suggestions? Ross

[issue42778] Add follow_symlinks=True parameter to both os.path.samefile() and Path.samefile()

2021-02-08 Thread Ross Rhodes
Ross Rhodes added the comment: Thanks for sharing the alternative approach, Serhiy. Sounds like the proposed changes aren’t necessary if the combined use of samestat and lstat achieve the desired behaviour. Any objections if I close the open PR

Re: Mutable defaults

2021-02-10 Thread Ross Wilson
On Thu, 11 Feb 2564 BE at 12:52 Grant Edwards wrote: > On 2021-02-11, J. Pic wrote: > > > I just meant removing the whole "default value mutating" story, not > > removing mutable variables. Really, I was wondering if there was a use > case > > where this actually turns to an advantage, > > I've

[issue42916] Support for DICOM image file format in imghdr module

2021-04-12 Thread Ross Rhodes
Ross Rhodes added the comment: PR already open to support DICOM based on the first 132 characters. Marked “stale” since I haven’t had any feedback on GitHub, yet. -- ___ Python tracker <https://bugs.python.org/issue42

[issue43123] email MIME splitting

2021-04-12 Thread Ross Rhodes
Ross Rhodes added the comment: PR now “stale” since I have not received any feedback, yet. -- ___ Python tracker <https://bugs.python.org/issue43123> ___ ___

[issue43123] email MIME splitting

2021-02-07 Thread Ross Rhodes
Change by Ross Rhodes : -- keywords: +patch nosy: +trrhodes nosy_count: 3.0 -> 4.0 pull_requests: +23267 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24475 ___ Python tracker <https://bugs.python.org/i

[issue43123] email MIME splitting

2021-02-07 Thread Ross Rhodes
Ross Rhodes added the comment: Hi Martin, Looking into this further, it appears we already catch CR-LF characters in header values, but your test case shows that we do not run the same checks on header names. I've opened a PR to rectify this - feel free to leave feedback. Ross

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread Ross Martin
Ross Martin added the comment: I would like to fix this, if it hasnt been assigned already. -- nosy: +MrRBM97 ___ Python tracker <https://bugs.python.org/issue45

[issue45749] Silently fails to build hashlib if openssl has disabled algorithms

2021-11-08 Thread Ross Burton
Ross Burton added the comment: Cool, glad to see the additional checks. -- ___ Python tracker <https://bugs.python.org/issue45749> ___ ___ Python-bugs-list m

[issue45749] Silently fails to build hashlib if openssl has disabled algorithms

2021-11-08 Thread Ross Burton
New submission from Ross Burton : If my openssl is built with no-scrypt then the Python build of hashlib fails (as EVP_PBE_scrypt isn't present), but the overall compile succeeds. -- components: Build messages: 405954 nosy: rossburton2 priority: normal severity: normal status: open

[issue45749] Silently fails to build hashlib if openssl has disabled algorithms

2021-11-08 Thread Ross Burton
Change by Ross Burton : -- versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/issue45749> ___ ___ Python-bugs-list mailing list Unsubscribe:

justifying text...and also...correct use of classes...

2004-12-29 Thread Ross La Haye
Few questions. I have a module combin which contains Combin and Prob classes. This is the Prob class: class Prob: def binprob(self,n,k,p): fewerthan = sum([Combin().kcomb(n,i)*((p**i)*(1-p)**(n-i)) for i in range(k)]) exact = Combin().kcomb(n,k)*((p**k)*(1-p)**(n-k))

emulating an and operator in regular expressions

2005-01-02 Thread Ross La Haye
a match, but for substrings sg0 = 'Jones' and sg2 = 'Frank' I do not want to return a match. Because the expression 'A and B' is logically equivalent to 'not (not A or not B)' I thought I could try something along those lines, but can't crack it. Ross attachment: winmail.dat-- http://mail.python.org

Socket connection between python and C

2011-02-08 Thread Williamson, Ross X. (Guest)
. Is there a better way to package data on the server in python to send down a socket to a C client? XML? Pickle? Cheers, Ross -- http://mail.python.org/mailman/listinfo/python-list

<    3   4   5   6   7   8