[issue21031] [patch] Add AlpineLinux to the platform module's supported distributions list

2014-03-22 Thread Elizabeth Myers
New submission from Elizabeth Myers: This patch adds support for the AlpineLinux distrubtion (http://alpinelinux.org) to the platform.linux_distributions function, e.g.: >>> platform.linux_distribution() ('alpine', '2.8.0_alpha2', '') Thoughts

[issue21031] [patch] Add AlpineLinux to the platform module's supported distributions list

2014-03-22 Thread Elizabeth Myers
Changes by Elizabeth Myers : -- type: -> enhancement ___ Python tracker <http://bugs.python.org/issue21031> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21031] [patch] Add AlpineLinux to the platform module's supported distributions list

2014-04-27 Thread Elizabeth Myers
Elizabeth Myers added the comment: Any information or updates? :) -- status: open -> languishing ___ Python tracker <http://bugs.python.org/issue21031> ___ _

[issue19443] add to dict fails after 1,000,000 items on py 2.7.5

2013-10-29 Thread Elizabeth Myers
Elizabeth Myers added the comment: Your test case, nor the one I wrote, trigger Python 2.7.5 nor 3.3.2 on Linux 64-bit: try: xrange except: xrange = range d = {} r = 1000 ctr = 0 for n in xrange(r): d[n] = n ctr += 1 assert len(d) == r assert ctr == r -- nosy: +Elizacat

[issue21975] Using pickled/unpickled sqlite3.Row results in segfault rather than exception

2014-07-13 Thread Elizabeth Myers
Elizabeth Myers added the comment: The backtrace of the crash, if it helps -- Added file: http://bugs.python.org/file35948/trace.txt ___ Python tracker <http://bugs.python.org/issue21

[issue21975] Using pickled/unpickled sqlite3.Row results in segfault rather than exception

2014-07-13 Thread Elizabeth Myers
New submission from Elizabeth Myers: Pickling, unpickling, then using an sqlite3.Row object results in a segfault on at least Python 3.3.5, 3.4.0, and 3.4.1. I have attached a test case and a backtrace below. I know you're not supposed to pickle sqlite3.Row objects, as the given test

[issue6331] Add unicode script info to the unicode database

2014-09-02 Thread Elizabeth Myers
Elizabeth Myers added the comment: > I think this needs to be fixed, then - we need to study why there are > so many new records (e.g. what script contributes most new records), > and then look for alternatives. The "Common" script appears to be very fragmented and may

[issue22380] Y2K compliance section in FAQ is 14 years too old

2014-09-09 Thread Elizabeth Myers
New submission from Elizabeth Myers: As seen at https://docs.python.org/3/faq/general.html#is-python-y2k-year-2000-compliant; this is 2014 - Y2K compliance hasn't been a relevant topic for, well, 14 years, and I doubt this is a "frequently asked question" nowadays. The &quo

[issue29275] time module still has Y2K issues note

2017-01-14 Thread Elizabeth Myers
New submission from Elizabeth Myers: It's 2017. I think it's time to remove the Y2K warning from this: https://docs.python.org/3/library/time.html :P. It's 17 years past the sell-by date for that notice. -- assignee: docs@python components: Documentation messag

[issue29275] time module still has Y2K issues note

2017-01-14 Thread Elizabeth Myers
Changes by Elizabeth Myers : -- type: -> enhancement ___ Python tracker <http://bugs.python.org/issue29275> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue29328] struct module should support variable-length strings

2017-01-19 Thread Elizabeth Myers
New submission from Elizabeth Myers: There was some discussion on python-ideas about this, and I figured it would be more productive to bring it here since to me this appears to be a glaring omission. The struct module has no capability to support variable-length strings; this includes null

[issue29328] struct module should support variable-length strings

2017-01-20 Thread Elizabeth Myers
Elizabeth Myers added the comment: Hi, After discussing this on the python-ideas ML a bit more, this is actually a feature people want a great deal. It can't cover every use case, but to expand it further than this proposal and make it do so is way beyond the scope of this proposal. I

[issue29328] struct module should support variable-length strings

2017-01-20 Thread Elizabeth Myers
Elizabeth Myers added the comment: Also, to add to the discussion: * Rejecting this because "it doesn't cover every use case" is a red herring at best. If this can't cover your use case, odds are the struct module can *never* cover it. That is no reason to reject it a

[issue27479] Slicing strings out of bounds does not raise IndexError

2016-07-10 Thread Elizabeth Myers
Changes by Elizabeth Myers : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue27479> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue27479] Slicing strings out of bounds does not raise IndexError

2016-07-10 Thread Elizabeth Myers
New submission from Elizabeth Myers: When slicing strings, IndexError is not raised when the slices are out of bounds, even for negative indexes. Like so: >>> "test"[-1000:1000] 'test' >>> "test"[-1000:1] 't' >>> &quo

[issue27479] Slicing strings out of bounds does not raise IndexError

2016-07-10 Thread Elizabeth Myers
Changes by Elizabeth Myers : -- components: +Interpreter Core ___ Python tracker <http://bugs.python.org/issue27479> ___ ___ Python-bugs-list mailing list Unsub

[issue23749] asyncio missing wrap_socket

2015-06-19 Thread Elizabeth Myers
Elizabeth Myers added the comment: After giving this a look over, I think this is over my head. Sorry. -- ___ Python tracker <http://bugs.python.org/issue23

[issue23749] asyncio missing wrap_socket (starttls)

2015-07-28 Thread Elizabeth Myers
Changes by Elizabeth Myers : -- nosy: -Elizacat ___ Python tracker <http://bugs.python.org/issue23749> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23749] asyncio missing wrap_socket (starttls)

2015-10-07 Thread Elizabeth Myers
Elizabeth Myers added the comment: > Therefore, the most convenient place to add the new API are *transports*. I had an inkling this was the case, but I didn't know how to go about the creation of a new protocol and transport pair. > I'm hesitant to add this API to Transport;

[issue25727] os.startfile implementation for other OS'es besides Windows

2015-11-24 Thread Elizabeth Myers
New submission from Elizabeth Myers: os.startfile can be implemented on other OS'es besides Windows relatively easily (although the operation parameter should probably be limited to Windows; it can be implemented elsewhere, but is probably not worth the trouble). On Unix-like oper

[issue25727] os.startfile implementation for other OS'es besides Windows

2015-11-24 Thread Elizabeth Myers
Elizabeth Myers added the comment: I'm not going to reopen that can of worms. Sorry to waste your time. -- ___ Python tracker <http://bugs.python.org/is

[issue25767] asyncio documentation section 18.5.2.3.1. (Windows) links to French Wikipedia in English docs

2015-11-29 Thread Elizabeth Myers
New submission from Elizabeth Myers: The link for HPET in the asyncio documentation (18.5.2.3.1 Windows, final paragraph, see https://docs.python.org/3/library/asyncio-eventloops.html#windows) links to https://fr.wikipedia.org/wiki/High_Precision_Event_Timer for the HPET link even though the

[issue24047] str.startswith and str.endswith should accept multiple arguments.

2015-04-23 Thread Elizabeth Myers
New submission from Elizabeth Myers: str.startswith and str.endswith should accept multiple arguments when passing in strings. This makes it easier to check if the first character of a string is one of a given option, versus this awkward construction: >>> f = 'abc' >>

[issue23749] asyncio missing wrap_socket

2015-04-26 Thread Elizabeth Myers
Elizabeth Myers added the comment: What needs to be done to make this happen? I can try to implement it. -- nosy: +Elizacat ___ Python tracker <http://bugs.python.org/issue23

[issue23749] asyncio missing wrap_socket

2015-04-26 Thread Elizabeth Myers
Elizabeth Myers added the comment: For what it's worth, IRC has an optional STARTTLS extension which is implemented by some servers. IMAP and SMTP also have STARTTLS as a fundamental component of their protocols. As gc pointed out, LDAP also supports it. IMO this is a pretty glaring omi

[issue23749] asyncio missing wrap_socket

2015-04-28 Thread Elizabeth Myers
Elizabeth Myers added the comment: It seems pretty simple to just make a function that returns a new transport, something like "transport = yield from loop.ssl_wrap_transport(transport)". I'm not sure how to handle plaintext data left on the wire, though, unless that&

[issue23749] asyncio missing wrap_socket

2015-04-28 Thread Elizabeth Myers
Elizabeth Myers added the comment: Reading the source now (just woke up, sorry!), the new protocol thing makes sense. I'm not sure what to do with the waiter argument or how to handle that. What I'm really trying to think of here is how to handle copying of state. I guess users will