Re: right list for SIGABRT python binary question ?

2017-10-21 Thread dieter
Karsten Hilbert writes: > ... > So here's the final console output of that: > ... > Debug memory block at address p=0x717b7c: API '' > 0 bytes originally requested > The 3 pad bytes at p-3 are not all FORBIDDENBYTE (0xfb): > at p-3: 0x03 *** OUCH >

Re: grapheme cluster library

2017-10-21 Thread Rustom Mody
On Saturday, October 21, 2017 at 11:51:57 AM UTC+5:30, Chris Angelico wrote: > On Sat, Oct 21, 2017 at 3:25 PM, Stefan Ram wrote: > > Rustom Mody writes: > >>Is there a recommended library for manipulating grapheme clusters? > > > > The Python Library has a module "unicodedata", with functions l

Sandsifter software finds hidden instructions inside processors.

2017-10-21 Thread skybuck2000
Hello, I just watched this video, it's pretty interesting and somewhat amazing, this guy find a way to find hidden instructions inside processors: https://www.youtube.com/watch?v=KrksBdWcZgQ The software which finds these hidden instructions is available too: https://github.com/xoreaxeaxeax/sa

Re: Application and package of the same name

2017-10-21 Thread David Stanek
On 19-Oct 19:34, Paul Moore wrote: > On 19 October 2017 at 19:18, Skip Montanaro wrote: > > > > This is in Python 2.7, FWIW. What am I missing? > > My immediate reaction is "you shouldn't name your main program and > your package the same". It's not a pattern I've seen commonly used. > This is

Re: Application and package of the same name

2017-10-21 Thread Skip Montanaro
This is actually a common pattern I see when teaching the language. For example, when a student wants to test out a package like requests many seem to initially want to create a requests.py module. Then they become very confused when they get an AttributeError on requests.get(). That I should fal

Re: grapheme cluster library

2017-10-21 Thread MRAB
On 2017-10-21 05:11, Rustom Mody wrote: Is there a recommended library for manipulating grapheme clusters? In particular, in devanagari क् + ि = कि in (pseudo)unicode names KA-letter + I-sign = KI-composite-letter I would like to be able to handle KI as a letter rather than two code-points. Can

Re: Application and package of the same name

2017-10-21 Thread Christopher Reimer
On Oct 21, 2017, at 6:08 AM, David Stanek wrote: > This is actually a common pattern I see when teaching the language. For > example, when a student wants to test out a package like requests many > seem to initially want to create a requests.py module. Then they become > very confused when they g

Re: right list for SIGABRT python binary question ?

2017-10-21 Thread M.-A. Lemburg
On 17.10.2017 09:30, Karsten Hilbert wrote: > On Tue, Oct 17, 2017 at 12:04:09PM +1100, Steve D'Aprano wrote: > >>> is this the right list to ask for help in debugging a >>> SIGABORT (?) happening on shutdown of a Python 2.7 script ? >>> >>> If not, which one is ? >> >> You should try here first.

Re: grapheme cluster library

2017-10-21 Thread Rustom Mody
On Saturday, October 21, 2017 at 9:22:24 PM UTC+5:30, MRAB wrote: > On 2017-10-21 05:11, Rustom Mody wrote: > > Is there a recommended library for manipulating grapheme clusters? > > > > In particular, in devanagari > > क् + ि = कि > > in (pseudo)unicode names > > KA-letter + I-sign = KI-composite

Re: How to debug an unfired tkinter event?

2017-10-21 Thread jfong
Terry Reedy at 2017-10-20 UTC+8 AM 7:37:59 wrote: > On 10/19/2017 5:07 AM, jf...@ms4.hinet.net wrote: > > > I got some info below each time when I squeeze the table: > > . > > .5006 > > .5006.50712528 > > .5006.50712496 > > .5006.50712464 > > .5006.50712144 > > .5006.507125

Re: Save non-pickleable variable?

2017-10-21 Thread ROGER GRAYDON CHRISTMAN
On Sat, Oct 21, 2017, Israel Brewster wrote: > tldr: I have an object that can't be picked. Is there any way to do a >"raw" dump of the binary data to a file, and re-load it later? > >Details: I am using a java (I know, I know - this is a python list. I'm >not asking about the java - honest!) libr

Re: How to debug an unfired tkinter event?

2017-10-21 Thread Terry Reedy
On 10/21/2017 1:25 PM, jf...@ms4.hinet.net wrote: Terry Reedy at 2017-10-20 UTC+8 AM 7:37:59 wrote: On 10/19/2017 5:07 AM, jf...@ms4.hinet.net wrote: I got some info below each time when I squeeze the table: . .5006 .5006.50712528 .5006.50712496 .5006.50712464 .5006.5071214

Re: grapheme cluster library

2017-10-21 Thread Steven D'Aprano
On Fri, 20 Oct 2017 21:11:02 -0700, Rustom Mody wrote: > Is there a recommended library for manipulating grapheme clusters? Back in July, I asked for anyone interested in grapheme clusters to consider checking out this issue on the bug tracker: http://bugs.python.org/issue30717 My post receive