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
Changes by Elizabeth Myers :
--
type: -> enhancement
___
Python tracker
<http://bugs.python.org/issue21031>
___
___
Python-bugs-list mailing list
Unsubscrib
Elizabeth Myers added the comment:
Any information or updates? :)
--
status: open -> languishing
___
Python tracker
<http://bugs.python.org/issue21031>
___
_
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
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
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
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
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
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
Changes by Elizabeth Myers :
--
type: -> enhancement
___
Python tracker
<http://bugs.python.org/issue29275>
___
___
Python-bugs-list mailing list
Unsubscrib
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
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
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
Changes by Elizabeth Myers :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue27479>
___
___
Python-bugs-list mailing list
Unsubscrib
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
Changes by Elizabeth Myers :
--
components: +Interpreter Core
___
Python tracker
<http://bugs.python.org/issue27479>
___
___
Python-bugs-list mailing list
Unsub
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
Changes by Elizabeth Myers :
--
nosy: -Elizacat
___
Python tracker
<http://bugs.python.org/issue23749>
___
___
Python-bugs-list mailing list
Unsubscribe:
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;
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
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
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
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'
>>
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
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
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&
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
27 matches
Mail list logo