[issue46830] Add Find functionality to Squeezed Text viewer

2022-02-22 Thread Jeff Cagle
New submission from Jeff Cagle : Squeezed text output currently opens in a viewer whose only functionality is scrolling. Adding the Find widget a la IDLE would make the viewer much more useful. -- assignee: terry.reedy components: IDLE messages: 413761 nosy: Jeff.Cagle, terry.reedy

[issue45435] delete misleading faq entry about atomic operations

2021-10-12 Thread Jeff Allen
Jeff Allen added the comment: Thomas wrote: > it's as part of this discussion in > https://mail.python.org/archives/list/python-...@python.org/thread/ABR2L6BENNA6UPSPKV474HCS4LWT26GY/#IAOCDDCJ653NBED3G2J2YBWD7HHPFHT6 > and others in #python-dev That's where I noticed it, but

[issue45435] delete misleading faq entry about atomic operations

2021-10-12 Thread Jeff Allen
Jeff Allen added the comment: I'm interested in Thomas' reasons, but here are some of mine (as far as I understand things): 1. It is specific to one interpreter implemented in C, equipped with a GIL, and on certain assumptions about the byte code interpreter and the implementation of built

[issue44481] Tkinter config() minor documentation bug for shorthand options

2021-06-21 Thread Jeff S
New submission from Jeff S : The documentation page https://docs.python.org/3/library/tkinter.html states "Passing the config() method the name of a shorthand option will return a 2-tuple, not 5-tuple." While config() without argument does return a map that yields refer

[issue44126] Support cross-compiling of cpython modules using setuptools

2021-05-20 Thread Jeff Moguillansky
Change by Jeff Moguillansky : -- status: open -> closed ___ Python tracker <https://bugs.python.org/issue44126> ___ ___ Python-bugs-list mailing list Un

[issue44126] Support cross-compiling of cpython modules using setuptools

2021-05-20 Thread Jeff Moguillansky
Jeff Moguillansky added the comment: Is it possible to add support for cross-compiling of cpython modules to setuptools? It seems that currently there's some 3rd party solutions like "crossenv" but they don't seem to work with clang / ndk-toolchain for example. -- stat

[issue44126] Cross Compile CPython Modules

2021-05-14 Thread Jeff Moguillansky
Jeff Moguillansky added the comment: Thanks for the info, I will forward the question to the setuptools mailing list -- status: open -> closed ___ Python tracker <https://bugs.python.org/issu

[issue44126] Cross Compile CPython Modules

2021-05-14 Thread Jeff Moguillansky
Change by Jeff Moguillansky : -- status: closed -> open ___ Python tracker <https://bugs.python.org/issue44126> ___ ___ Python-bugs-list mailing list Un

[issue44126] Cross Compile CPython Modules

2021-05-14 Thread Jeff Moguillansky
Change by Jeff Moguillansky : -- title: Cross Compile Cython Modules -> Cross Compile CPython Modules ___ Python tracker <https://bugs.python.org/issu

[issue44126] Cross Compile Cython Modules

2021-05-13 Thread Jeff Moguillansky
Jeff Moguillansky added the comment: Sorry I meant cpython. Distutils is part of cpython? Currently it doesn't seem to support cross compiling? On Thu, May 13, 2021, 1:08 PM Ned Deily wrote: > > Ned Deily added the comment: > > This issue tracker is for issues with cPython an

[issue44126] Cross Compile Cython Modules

2021-05-13 Thread Jeff Moguillansky
New submission from Jeff Moguillansky : Hi, I was able to cross-compile Python 3.9.4 for Android. How do I cross-compile cython modules? I found one tool online: https://pypi.org/project/crossenv/ but it doesn't seem to be compatible with android clang? Does cython support cross-compiling

[issue43437] venv activate bash script has wrong line endings on windows

2021-03-08 Thread Jeff Moguillansky
New submission from Jeff Moguillansky : when running python.exe -m venv on Windows, It creates several activate scripts. The activate bash script has the wrong line endings (it should be unix-style, not windows-style). Bash scripts should always end with unix style line endings

[issue43173] Python Windows DLL search paths

2021-02-09 Thread Jeff Moguillansky
Jeff Moguillansky added the comment: Thanks for the feedback On Mon, Feb 8, 2021, 8:29 PM Eryk Sun wrote: > > Eryk Sun added the comment: > > > What's the correct way to set the DLL search path when running a python > script? > > If possible, the simplest approach

[issue43173] Python Windows DLL search paths

2021-02-08 Thread Jeff Moguillansky
New submission from Jeff Moguillansky : Hi, What's the correct way to set the DLL search path when running a python script? It seems that it doesn't search the directories specified in PATH environment variable. FYI: For debugging the DLL loading issues, I'm using "Process Monitor&

[issue42894] Debugging native Python modules on Windows with Visual Studio Toolchain

2021-01-11 Thread Jeff Moguillansky
New submission from Jeff Moguillansky : I have a question regarding debugging native Python modules on Windows, with Visual Studio toolchain: Currently I have a native module (native C code), along with Python API bindings (via Cython), and finally Python code that invokes the native module

[issue42863] Python venv inconsistent folder structure on windows

2021-01-08 Thread Jeff Moguillansky
Jeff Moguillansky added the comment: Thanks for the feedback, I understand -- ___ Python tracker <https://bugs.python.org/issue42863> ___ ___ Python-bugs-list m

[issue42863] Python venv inconsistent folder structure on windows

2021-01-08 Thread Jeff Moguillansky
Jeff Moguillansky added the comment: Maybe we can consider adding additional params and a new code path to python -m venv? This way we don't break any existing functionality? e.g. -includedir=... -libdir=... -bindir=... ? -- ___ Python tracker

[issue42863] Python venv inconsistent folder structure on windows

2021-01-08 Thread Jeff Moguillansky
Jeff Moguillansky added the comment: To give more context regarding this issue: I'm currently using meson build system to generate the pkg-config files, and it seems that the paths "include", "lib" are hardcoded. >From the perspective of the overall system, I

[issue42863] Python venv inconsistent folder structure on windows

2021-01-07 Thread Jeff Moguillansky
New submission from Jeff Moguillansky : When creating a virtual environment on windows using venv, the folder structure: "Scripts", "Include", "Lib", is inconsistent with other platforms (e.g. "include", "lib", "bin", etc). This c

Debugging native cython module with visual studio toolchain

2020-11-14 Thread Jeff
> > Hi, > > We developed a Python module that interfaces with native code via Cython. > > We currently build on Windows with Visual Studio Toolchain. > > We encounter the following issues when trying to build a debug version: > > 1) 3rd party modules installed via PIP are Release mode, but Visual

[issue42338] Enable Debug Build For Python Native Modules in Windows, with Visual Studio Toolchain

2020-11-12 Thread Jeff Moguillansky
New submission from Jeff Moguillansky : Hi, We developed a Python module that interfaces with native code via Cython. We currently build on Windows with Visual Studio Toolchain. We encounter the following issues when trying to build a debug version: 1) 3rd party modules installed via PIP

[issue41708] request make uninstall target

2020-09-03 Thread Jeff Scheibly
New submission from Jeff Scheibly : I went through and ran the make altinstall from the Python3.8.3.tar.gz and after running the .configure --enable-optimizations, I ran make altinstall, which was successful. Would it be possible to get a uninstall target added so that in the case you may

Re: Fwd: [BUG] missing ')' causes syntax error on next line

2020-07-23 Thread Jeff Linahan
Interesting PEG thing. C++ compilers are getting better at suggesting fixes for minor syntax errors (in 2011 on MSVC I remember seeing pages of errors for forgetting a semicolon after a struct.) but python seems to be lagging behind in this regard.. will check out superhelp, maybe it'll help me

Fwd: [BUG] missing ')' causes syntax error on next line

2020-07-22 Thread Jeff Linahan
-- Forwarded message - From: Jeff Linahan Date: Wed, Jul 22, 2020, 5:23 PM Subject: Fwd: [BUG] missing ')' causes syntax error on next line To: Subscribing to the mailing list as per the bot's request and resending. -- Forwarded message - From: Jeff Linahan

[issue40320] Add ability to specify instance of contextvars context to Task() & asyncio.create_task()

2020-04-18 Thread Jeff Laughlin
New submission from Jeff Laughlin : As a test engineer I want to be able to run async test fixtures and test cases in different async tasks with the same Context. Not a copy; the same specific instance of contextvars.Context(). I do NOT want the task to run in a COPY of the context because I

[issue39959] (Possible) bug on multiprocessing.shared_memory

2020-03-16 Thread Jeff Fischer
Jeff Fischer added the comment: I've run into the same problem. It appears that the SharedMemory class is assuming that all clients of a segment are child processes from a single parent, and that they inherit the same resource_tracker. If you run separate, unrelated processes, you get

[issue39639] Remove Suite node from AST

2020-02-22 Thread Jeff Allen
Jeff Allen added the comment: Jython uses the reference grammar and ASDL as a way to ensure it is Python we approximate, not some subtly different language. The presence of Suite here gives rise to a class (https://github.com/jythontools/jython/blob/v2.7.2b3/src/org/python/antlr/ast

[issue39469] Support for relative home path in pyvenv.cfg

2020-01-28 Thread Jeff Edwards
Jeff Edwards added the comment: Interesting, I hadn’t realized that it would embed the FQ Executable path, but that does make sense overall. I guess I had always planned on fixing the ‘bin’ directory anyway afterwards, it’s just that the lack of relative home made it significantly harder

[issue39469] Support for relative home path in pyvenv.cfg

2020-01-28 Thread Jeff Edwards
Jeff Edwards added the comment: I would say they’re not designed to be, but the also aren’t designed to not be portable. This is often useful where open network access isn’t reasonable, so access to Pip/pipx/pipenv is limited at best. Suffice to say, is there a significant reason to not allow

[issue39469] Support for relative home path in pyvenv.cfg

2020-01-27 Thread Jeff Edwards
New submission from Jeff Edwards : Currently, the interpreter only supports absolute paths for the 'home' directory in the pyvenv.cfg file. While this works when the interpreter is always installed at a fixed location, it impacts the portability of virtual environments and can make

Re: Python 3.8 and :=

2019-12-25 Thread Jeff Gitlin
On Wednesday, December 25, 2019 at 9:13:09 AM UTC-5, Jeff Gitlin wrote: > With the new operator := in Python 3.8 > that allows you to do things like > > if ( x := f() ) == 1: > > Is there any reason to use just the assignment operator? ……….. Thanks. That web page

Re: Python 3.8 and :=

2019-12-25 Thread Jeff Gitlin
On Wednesday, December 25, 2019 at 9:22:56 AM UTC-5, Chris Angelico wrote: > On Thu, Dec 26, 2019 at 1:16 AM Jeff Gitlin wrote: > > > > With the new operator := in Python 3.8 > > that allows you to do things like > > > > if ( x := f() ) == 1: > > > > I

Python 3.8 and :=

2019-12-25 Thread Jeff Gitlin
With the new operator := in Python 3.8 that allows you to do things like if ( x := f() ) == 1: Is there any reason to use just the assignment operator? -- https://mail.python.org/mailman/listinfo/python-list

[issue38926] MacOS: 'Install certificates.command' has no effect

2019-11-26 Thread Jeff Berkowitz
New submission from Jeff Berkowitz : After using the Python-supported installer to install 3.8.0 on my employer-owned Mac running High Sierra (10.13.6), the 'Install Certificates.command' had no apparently effect on the behavior of Python. The behavior before executing the script

[issue37886] PyStructSequence_UnnamedField not exported

2019-08-19 Thread Jeff Robbins
Jeff Robbins added the comment: Editing one line in structseq.h seems to fix the issue. I changed this extern char* PyStructSequence_UnnamedField; to PyAPI_DATA(char*) PyStructSequence_UnnamedField; rebuilt, and now my C extension can use PyStructSequence_UnnamedField. -- Added

[issue37886] PyStructSequence_UnnamedField not exported

2019-08-19 Thread Jeff Robbins
New submission from Jeff Robbins : Python 3.8.0b3 has the fixed https://docs.python.org/3/c-api/tuple.html#c.PyStructSequence_NewType, but one of the documented features of PyStructSequence is the special https://docs.python.org/3/c-api/tuple.html#c.PyStructSequence_UnnamedField which

[issue35662] Windows #define _PY_EMULATED_WIN_CV 0 bug

2019-02-21 Thread Jeff Robbins
Jeff Robbins added the comment: Steve, sorry to be dense, but I'm unfortunately ignorant as to what tests I ought to be running. The only test I have right now is much too complicated, and I'd rather be running some official regression test that reveals the problem without my app code

[issue35662] Windows #define _PY_EMULATED_WIN_CV 0 bug

2019-02-21 Thread Jeff Robbins
Jeff Robbins added the comment: Steve, I did some more digging into why the native condition variable approach might be causing problems on Windows. Testing my fix revealed that there is at least one place in Modules\overlapped.c that either a) waits too long to call GetLastError

[issue35580] Windows IocpProactor: CreateIoCompletionPort 4th arg 0xffffffff -- why is this value the default?

2019-02-16 Thread Jeff Robbins
Jeff Robbins added the comment: I don't understand why 0 would be safer. Since asyncio can only service this IOCP from its single threaded event loop, I would have thought 1 would express the intent better. Why not convey to the OS what we're up to, in case that helps it do a better job

[issue35909] Zip Slip Vulnerability

2019-02-06 Thread Jeff Knupp
Jeff Knupp added the comment: According to https://snyk.io/research/zip-slip-vulnerability (the source of the paper), Python hasn't been vulnerable since 2014. -- nosy: +jeffknupp ___ Python tracker <https://bugs.python.org/issue35

[issue35662] Windows #define _PY_EMULATED_WIN_CV 0 bug

2019-01-05 Thread Jeff Robbins
Jeff Robbins added the comment: I searched harder. :-) https://bugs.python.org/issue29871 I see that someone else already noticed this broken function, but I guess it was left broken because of other issues with using condition variables instead of the emulated ones? Still, the code

[issue35662] Windows #define _PY_EMULATED_WIN_CV 0 bug

2019-01-04 Thread Jeff Robbins
Jeff Robbins added the comment: I did a search and couldn't find exactly this issue. This issue is about a broken function. It is broken because it treats a timeout as a fatal error which crashes your Python program. I supplied a proposed fix for the function. If there are other known issues

[issue35662] Windows #define _PY_EMULATED_WIN_CV 0 bug

2019-01-04 Thread Jeff Robbins
New submission from Jeff Robbins : Python 3.x defaults to using emulated condition variables on Windows. I tested a build with native Windows condition variables (#define _PY_EMULATED_WIN_CV 0), and found a serious issue. The problem is in condvar.h, in this routine

[issue35599] asyncio windows_events.py IocpProactor bug

2018-12-29 Thread Jeff Robbins
Jeff Robbins added the comment: This issue is likely a duplicate of https://bugs.python.org/issue34323 which was reported in Python 3.5. -- ___ Python tracker <https://bugs.python.org/issue35

[issue35599] asyncio windows_events.py IocpProactor bug

2018-12-27 Thread Jeff Robbins
New submission from Jeff Robbins : The close() method of IocpProactor in windows_events.py has this code in its close() method: while self._cache: if not self._poll(1): logger.debug('taking long time to close proactor') The bug is that self._poll() has

[issue35580] Windows IocpProactor: CreateIoCompletionPort 4th arg 0xffffffff -- why is this value the default?

2018-12-24 Thread Jeff Robbins
Jeff Robbins added the comment: Per https://stackoverflow.com/questions/38133870/how-the-parameter-numberofconcurrentthreads-is-used-in-createiocompletionport, it seems that `NumberOfConcurrentThreads` controls what happens when multiple threads call `GetQueuedCompletionStatus

[issue35580] Windows IocpProactor: CreateIoCompletionPort 4th arg 0xffffffff -- why is this value the default?

2018-12-24 Thread Jeff Robbins
New submission from Jeff Robbins : By default, the __init__ function of IocpProactor in windows_events.py calls CreateIoCompletionPort with a 4th argument of 0x, yet MSDN doesn't document this as a valid argument. https://docs.microsoft.com/en-us/windows/desktop/fileio

AES Encryption/Decryption

2018-11-02 Thread Jeff M
Python newbie here, looking for code samples for encrypting and decrypting functions, using AES. See lots of stuff on the interwebs, but lots of comments back an forth about bugs, or implemented incorrect, etc... I need to encrypt some strings that will be passed around in URL, and then also

Re: Is pypi the best place to find external python packages?

2018-08-21 Thread Jeff M
On Tuesday, August 21, 2018 at 9:48:50 AM UTC-6, Jeff M wrote: > are there other places also? On pypi I did not see anywhere the status of > defects or downloads, if it's actively supported. nevermind, i see the info i was looking for on the left side. -- https://mail.python.org/m

Is pypi the best place to find external python packages?

2018-08-21 Thread Jeff M
are there other places also? On pypi I did not see anywhere the status of defects or downloads, if it's actively supported. -- https://mail.python.org/mailman/listinfo/python-list

Project Structure for Backend ETL Project

2018-08-21 Thread Jeff M
Is this a good example to follow for a project that does mostly python to interact with external data sources including files, transformation, and import into Postgres? https://github.com/bast/somepackage I have a SWE background but not with python, and I want to make sure my team is

[issue16038] ftplib: unlimited readline() from connection

2018-08-13 Thread Jeff Dafoe
Jeff Dafoe added the comment: I have a question about this old patch, as it just came down in a CentOS 6 update. I think the patch is applied to the data channel in ASCII mode and not just the control channel. On the data channel in ASCII mode, there should be no assumption of maximum line

[issue33224] "RuntimeError: generator raised StopIteration" in difflib.mdiff

2018-04-04 Thread Jeff Kaufman
New submission from Jeff Kaufman <jeff.t.kauf...@gmail.com>: With python built at HEAD (c51d8c9b) and at 3.7b3 (fcd4e03e08) the code: import difflib for fromdata, todata, flag in difflib._mdiff( ["2"], ["3"], 1): pass produces: Traceb

[issue33088] Cannot pass a SyncManager proxy to a multiprocessing subprocess on Windows

2018-03-16 Thread Jeff DuMonthier
New submission from Jeff DuMonthier <jeffrey.j.dumonth...@nasa.gov>: The following simple example code creates a started SyncManager and passes it as an argument to a subprocess started with multiprocessing.Process(). It works on Linux and Mac OS but fails on Windows. import multiproc

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-11 Thread Jeff Ramnani
Jeff Ramnani <j...@jefframnani.com> added the comment: I think the error message you suggested is better than the one in the current patch. I've added a new patch with your improved message. I haven't submitted or updated a patch since the migration to GitHub. I can open a PR over on

[issue32520] error writing to file in binary mode - python 3.6.3

2018-01-08 Thread jeff deifik
New submission from jeff deifik <j...@jeffunit.com>: I am running python 3.6.3 on cygwin / windows. Here is a test program to demonstrate the bug: #!/usr/bin/env python3 fp = open("bug_out.txt", "ab") buff = 'Hello world' print('type of buff is', type(buff)) bin_

[issue12851] ctypes: getbuffer() never provides strides

2017-12-04 Thread Jeff VanOss
Change by Jeff VanOss <vano...@gmail.com>: -- keywords: +patch pull_requests: +4624 stage: needs patch -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue31630] math.tan has poor accuracy near pi/2 on OpenBSD

2017-10-17 Thread Jeff Allen
Change by Jeff Allen <ja...@farowl.co.uk>: -- nosy: +jeff.allen ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31630> ___ __

Re: Python 2.7: no such module pip

2017-05-06 Thread jeff saremi
ryk...@gmail.com> Sent: Friday, May 5, 2017 10:07:33 AM To: python-list@python.org Cc: jeff saremi Subject: Re: Python 2.7: no such module pip On Fri, May 5, 2017 at 4:57 PM, jeff saremi <jeffsar...@hotmail.com> wrote: > > There is no such option in the installation. Please take a look at

Re: Python 2.7 on Windows: Copy install

2017-05-05 Thread jeff saremi
Thanks very much Eryk. I will look into WinPython. And as for the PYTHONPATH i came up with that. I will unset it. From: eryk sun <eryk...@gmail.com> Sent: Thursday, May 4, 2017 10:21:20 PM To: python-list@python.org Cc: jeff saremi Subject: Re: Pyth

Re: Python 2.7: no such module pip

2017-05-05 Thread jeff saremi
forgot the attachment From: jeff saremi <jeffsar...@hotmail.com> Sent: Friday, May 5, 2017 9:57:30 AM To: eryk sun; python-list@python.org Subject: Re: Python 2.7: no such module pip Eryk There is no such option in the installation. Please take

Re: Python 2.7: no such module pip

2017-05-05 Thread jeff saremi
ed ensurepip From: eryk sun <eryk...@gmail.com> Sent: Friday, May 5, 2017 9:49:18 AM To: python-list@python.org Cc: jeff saremi Subject: Re: Python 2.7: no such module pip On Fri, May 5, 2017 at 4:30 PM, jeff saremi <jeffsar...@hotmail.com> wrote: > i che

Re: Python 2.7: no such module pip

2017-05-05 Thread jeff saremi
. From: eryk sun <eryk...@gmail.com> Sent: Thursday, May 4, 2017 9:58:40 PM To: python-list@python.org Cc: jeff saremi Subject: Re: Python 2.7: no such module pip On Thu, May 4, 2017 at 8:24 PM, jeff saremi <jeffsar...@hotmail.com> wrote: > Did a fresh instal

Python 2.7: no such module pip

2017-05-04 Thread jeff saremi
Did a fresh install of python-2.7.amd64.msi on windows 10. The install finishes with success. Python runs. No pip when the following is run: C:\> python -m pip install elastalert C:\Python27\python.exe: No module named pip -- https://mail.python.org/mailman/listinfo/python-list

bugs.python.org registration never completes

2017-05-04 Thread jeff saremi
i've been waiting for my confirmation email. Never received it Someone should look into the registration. And there is no admin emails where you could send your issue to! thanks Jeff -- https://mail.python.org/mailman/listinfo/python-list

Python 2.7 on Windows: Copy install

2017-05-04 Thread jeff saremi
. Add the new Python2.7\bin to PATH 3. Add C:\python2.7\Lib and C:\python2.7\Lib\site-packages to PYTHONPATH thanks Jeff -- https://mail.python.org/mailman/listinfo/python-list

[issue30275] pickle doesn't work in compile/exec

2017-05-04 Thread Jeff Zhang
New submission from Jeff Zhang: I want to use pickle in compile/exec, but it doesn't work for me. It only works when I use the global namespace. But I don't want to use global namespace, is there any way for that ? Thanks >>> a = compile("def f():\n\t'hello'\nimport pickle\n

[issue30256] Adding a SyncManager Queue proxy to a SyncManager dict or Namespace proxy raises an exception

2017-05-03 Thread Jeff DuMonthier
New submission from Jeff DuMonthier: In multiprocessing, attempting to add a Queue proxy to a dict or Namespace proxy (all returned by the same SyncManager) raises an exception indicating a keyword argument 'manager_owned=True' has been passed to the function AutoProxy

[issue29463] Add `docstring` attribute to AST nodes

2017-02-11 Thread Jeff Allen
Jeff Allen added the comment: Just terminology ... strictly speaking what you've done here is "add a *field* to the nodes Module, FunctionDef and ClassDef", rather than add an *attribute* -- that is, when one is consistent with the terms used in the ast module (https://docs.py

[issue29081] time.strptime() return wrong result

2017-01-07 Thread Jeff Knupp
Jeff Knupp added the comment: I believe this is working as intended. Remember, the '%w' directive instructs strptime to consider 0 to be Sunday, while tm_wday considers 0 Monday. In 2016, the %W directive means that the first week (week #1) starts on Monday, January 4th. If you go 52 weeks

[issue28730] __reduce__ not being called in dervied extension class from datetime.datetime

2016-11-18 Thread Jeff Reback
Jeff Reback added the comment: ok thanks for the info. fixed in pandas here: https://github.com/pandas-dev/pandas/pull/14689 is this documented in the whatsnew? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue28730] __reduce__ not being called in dervied extension class from datetime.datetime

2016-11-17 Thread Jeff Reback
New submission from Jeff Reback: xref to https://github.com/pandas-dev/pandas/issues/14679. pandas has had a cython extension class to datetime.datetime for quite some time. A simple __reduce__ is defined. def __reduce__(self): object_state = self.value, self.freq, self.tzinfo

[issue26040] Improve coverage and rigour of test.test_math

2016-08-29 Thread Jeff Allen
Jeff Allen added the comment: Ah, cunning: I can make sense of it in hex. >>> hex(to_ulps(expected)) '0x3ff0' >>> hex(to_ulps(got)) '0x3fec' >>> hex( to_ulps(got) - to_ulps(expected) ) '-0x4' ... and what you've done with ulp then follows.

[issue26040] Improve coverage and rigour of test.test_math

2016-08-29 Thread Jeff Allen
Jeff Allen added the comment: Mark: Thanks for doing my homework. Points 1 and 3 I can readily agree with. I must take another look at to_ulps() with your patch on locally. I used the approach I did because I thought it was incorrect in exactly those corners where you prefer it. I'll take

[issue26040] Improve coverage and rigour of test.test_math

2016-08-27 Thread Jeff Allen
Jeff Allen added the comment: Mark: Thanks for validating the additional cases so carefully. If you still want to apply it in stages then I suppose the change to the comparison logic could go first (untested idea), although that's also where I could most easily have made a mistake

[issue27427] Add new math module tests

2016-07-10 Thread Jeff Allen
Jeff Allen added the comment: It would be nice to see this considered alongside #26040. -- nosy: +jeff.allen ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

ANN: v0.18.1 pandas Released

2016-05-05 Thread Jeff Reback
t on Numpy 1.10. Macosx wheels are courtesy of Matthew Brett. Installation via conda is: conda install pandas currently its available via the conda-forge channel: conda install pandas -c conda-forge It will be available on the main channel shortly. Please report any issues on our issue tracker <https://

[issue26956] About Idle-x version not updated for 1.13

2016-05-04 Thread Jeff Peters
New submission from Jeff Peters: The help| about idleX | popup still lists the version as 1.12 this throws off the check for updats functionality -- components: IDLE messages: 264838 nosy: Jeff Peters priority: normal severity: normal status: open title: About Idle-x version

Re: Unacceptable behavior

2016-04-10 Thread Jeff Schumaker
On Sunday, April 10, 2016 at 9:33:47 PM UTC-4, Jeff Schumaker wrote: > On Sunday, April 10, 2016 at 10:03:37 AM UTC-4, Chris Angelico wrote: > > On Sun, Apr 10, 2016 at 11:54 PM, Jeff Schumaker wrote > > > > As a new member of this group, I am not sure on how to repor

Re: Unacceptable behavior

2016-04-10 Thread Jeff Schumaker
On Sunday, April 10, 2016 at 10:03:37 AM UTC-4, Chris Angelico wrote: > On Sun, Apr 10, 2016 at 11:54 PM, Jeff Schumaker wrote > > As a new member of this group, I am not sure on how to report unacceptable > > behavior. If this is not the correct way, I apologize. >

Re: Unacceptable behavior

2016-04-10 Thread Jeff Schumaker
On Sunday, April 10, 2016 at 1:15:18 PM UTC-4, bream...@gmail.com wrote: > On Sunday, April 10, 2016 at 2:54:45 PM UTC+1, Jeff Schumaker wrote: > > On Thursday, April 7, 2016 at 2:50:32 AM UTC-4, Ethan Furman wrote: > > > On 04/05/2016 01:05 PM, Thomas 'Point

Re: Unacceptable behavior

2016-04-10 Thread Jeff Schumaker
unnecessary rudeness on the part of one of the respondants to the original post Jeff -- https://mail.python.org/mailman/listinfo/python-list

[issue26040] Improve coverage and rigour of test.test_math

2016-03-19 Thread Jeff Allen
Changes by Jeff Allen <ja...@farowl.co.uk>: Added file: http://bugs.python.org/file42191/extra_cmath_testcases.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26040] Improve coverage and rigour of test.test_math

2016-03-19 Thread Jeff Allen
Changes by Jeff Allen <ja...@farowl.co.uk>: Removed file: http://bugs.python.org/file42190/stat_math.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26040] Improve coverage and rigour of test.test_math

2016-03-19 Thread Jeff Allen
Changes by Jeff Allen <ja...@farowl.co.uk>: Added file: http://bugs.python.org/file42192/stat_math.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26040] Improve coverage and rigour of test.test_math

2016-03-19 Thread Jeff Allen
Changes by Jeff Allen <ja...@farowl.co.uk>: Removed file: http://bugs.python.org/file41526/stat_math.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26040] Improve coverage and rigour of test.test_math

2016-03-19 Thread Jeff Allen
Jeff Allen added the comment: Thanks for the prompt acknowledgement and for accepting this to review. I have updated the coverage & tolerance demo program. Usage in the comments (in v3). I have also added the program I used to generate the extra test cases (needs mpmath -- easier to

[issue26040] Improve coverage and rigour of test.test_math

2016-03-18 Thread Jeff Allen
Changes by Jeff Allen <ja...@farowl.co.uk>: Added file: http://bugs.python.org/file42190/stat_math.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26040] Improve coverage and rigour of test.test_math

2016-03-14 Thread Jeff Allen
Jeff Allen added the comment: Here is a patch that improves coverage and addresses the uneven accuracy. Required accuracy is now specified in ulps. Mostly, I have choses 1 ulp, since this passed for me on an x86 architecture (and also ARM), but this may be too ambitious. I have also

Is anyone in this group using Python Editor v5 for Chromebooks?

2016-03-13 Thread Jeff Schumaker
I'm trying to use Python Editor v5 for Chromebooks. It works fine, except it won't read data files. I'm just wondering if anyone else is using this editor and has found a solution to this problem. -- https://mail.python.org/mailman/listinfo/python-list

ANN: pandas v0.18.0 Final released

2016-03-13 Thread Jeff Reback
ailable on PyPI <https://pypi.python.org/pypi/pandas> Installation via conda is: - conda install pandas windows wheels are courtesy of Christoph Gohlke and are built on Numpy 1.10 macosx wheels are courtesy of Matthew Brett. *Issues:* Please report any issues on our issue tracker <htt

ANN: pandas v0.18.0rc1 - RELEASE CANDIDATE

2016-02-14 Thread Jeff Reback
das-docs-travis/install.html#installing-pandas-with-anaconda> from our development channel. Builds for osx-64,linux-64,win-64 for Python 2.7 and Python 3.5 are all available. conda install pandas=v0.18.0rc1 -c pandas Thanks to all who made this release happen. It is a very large release! Jeff

[issue22121] IDLE should start with HOME as the initial working directory

2016-01-31 Thread Jeff Allen
Jeff Allen added the comment: I'm also interested in a smooth experience for beginners. I have a factual observation with respect to Terry's comment: '''Windows icons have a Shortcut tab with a Start-in field. We should like to put %USERPROFILE% there, but this does not work -- msg253393

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2016-01-12 Thread jeff
On Friday, January 8, 2016 at 6:16:49 PM UTC+1, geral...@gmail.com wrote: > On Friday, 8 January 2016 17:38:11 UTC+1, acushl...@gmail.com wrote: > > On Wednesday, 30 December 2015 19:21:32 UTC+1, Won Chang wrote: > > > i have these task which i believe i have done well to some level > > > > > >

ANN: pandas v0.17.1 Released

2015-11-23 Thread Jeff Reback
on our issue tracker <https://github.com/pydata/pandas/issues>: Jeff *Thanks to all of the contributors* * - Aleksandr Drozd - Alex Chase - Anthonios Partheniou - BrenBarn - Brian J. McGuirk - Chris - Christian Berendt - Christ

[issue24725] test_socket testFDPassEmpty fails on OS X 10.11 DP with "Cannot allocate memory"

2015-11-18 Thread Jeff Ramnani
Jeff Ramnani added the comment: I'm still getting these test failures on OS X 10.11.1. Has a radar been filed with Apple? I'd submit one, but I don't know enough about the issue to create a good bug report. In the meantime, I'm attaching a patch to skip these tests as was done in issue

Re: Building a python extension on Windows

2015-10-27 Thread Jeff Archer
remember the specific issues off-hand but since I was successful using the batch files, I didn't worry about it. With this build of Python I have gotten rudimentary extensions working with Boost.Python and straight C code. Had to build Boost against this build of Python to make that work. jeff *From

Trying to build Python

2015-10-18 Thread Jeff Archer
I am trying to build Python on windows. I have gotten the source in compressed form, Python-3.5.0.tgz. Attempting to follow PCBuild\readme.txt Ran the get_externals.bat in the PCBuild folder. No apparent errors. Trying to build and getting errors: 1> abort: there is no Mercurial repository

Re: Trying to build Python

2015-10-18 Thread Jeff Archer
On Sun, Oct 18, 2015 at 5:15 AM, Tim Golden <m...@timgolden.me.uk> wrote: > On 17/10/2015 17:25, Jeff Archer wrote: > >> I am trying to build Python on windows. I have gotten the source in >> compressed form, Python-3.5.0.tgz. Attempting to follow >>

ANN: pandas v0.17.0 released

2015-10-10 Thread Jeff Reback
a conda is: - conda install pandas windows wheels are courtesy of Christoph Gohlke and are built on Numpy 1.9 macosx wheels are courtesy of Matthew Brett *Issues:* Please report any issues on our issue tracker <https://github.com/pydata/pandas/issues>: Thanks to all who made this

  1   2   3   4   5   6   7   8   9   10   >