Op 05-11-13 22:26, Nick the Gr33k schreef:
I know i'm close to solution, i can feel it but i have some issues.
The code we arr discussing is the following:
No you are not. You are just doing random changes, without any
understanding. If you had followed my suggestion and actually
read the
Στις 6/11/2013 9:38 πμ, ο/η Nick the Gr33k έγραψε:
Ah great!!!
I just examined my other MySQL database which just stored webpages and
their corresponding visits and voila.
Someone was able to pass values into my counters table:
look:
http://superhost.gr/?show=stats
thats why it didn't had 1
On 06/11/2013 01:14, Nick the Gr33k wrote:
How, do i i proceed?
If at first you don't succeed, keep asking on comp.lang.python until
someone gives me the completely bodged solution that I keep asking for
even if it's complete nonsense.
--
Python is the second best programming language in
On 06/11/2013 05:36, Dave Angel wrote:
On Tue, 5 Nov 2013 09:45:15 -0600, Tim Chase
python.l...@tim.thechases.com wrote:
You're assigning it to the bound function rather than calling the
function. Use the call operator:
data = infile.readlines()
Thanks for spoiling the lesson. Nicks
On Wed, Nov 6, 2013 at 3:49 AM, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 06/11/2013 01:14, Nick the Gr33k wrote:
How, do i i proceed?
If at first you don't succeed, keep asking on comp.lang.python until someone
gives me the completely bodged solution that I keep asking for even if
Is anybody here able to help me finish off an Anki add-on? If you're not
familiar with it, Anki (http://ankisrs.net/) is an open source, cross
platform flashcard learning program, in PyQT. It's extensible, with add-
ons.
Thing is, I'm not a programmer, but I've managed to make my own add-on by
2013/11/6 C. Ng ngc...@gmail.com
Ok, that seems to work... I modified from another package.
cool
I don't understand how setup.py does it exactly, but got it done anyways.
as usual :-)
--
https://mail.python.org/mailman/listinfo/python-list
On 2013-11-06, Denis McMahon denismfmcma...@gmail.com wrote:
On Wed, 06 Nov 2013 00:35:56 +0200, Nick the Gr33k wrote:
Now i realizes i just cannot store lists into it's columns because it
does not support a collection datatype.
All databases support storing of collections, but *NOT THE WAY
On Wed, Nov 6, 2013 at 9:17 AM, SH sshh@invalid.invalid wrote:
Is anybody here able to help me finish off an Anki add-on? If you're not
familiar with it, Anki (http://ankisrs.net/) is an open source, cross
platform flashcard learning program, in PyQT. It's extensible, with add-
ons.
Hi, I need to join multiples images in one image, in client side i don't found
the way to do, is possible in server side whit python django, any suggest?
--
https://mail.python.org/mailman/listinfo/python-list
I can't get conditional breakpoints to work. I have a variable ID and I
want to set a breakpoint which runs until ID==11005.
Here's what happens -
- import sys
...
(Pdb) b 53, ID==11005
Breakpoint 1 at /home/tom/Desktop/BEST Tmax/MYSTUFF/sqlanalyze3.py:53
(Pdb) b
Num Type Disp Enb
Okey let the hacker try again to mess with my database!!!
He is done it twice, lets see if he will make it again!
I'am waiting!
--
https://mail.python.org/mailman/listinfo/python-list
In article 6a9d8528-5f64-4d0f-b759-1d73078eb...@googlegroups.com,
hpue...@apptitud.com.co wrote:
Hi, I need to join multiples images in one image, in client side i don't
found the way to do, is possible in server side whit python django, any
suggest?
There are several¦ Python image
On 06.11.2013 16:14, Tom P wrote:
ok I figured it. ID is a tuple, not a simple variable.
The correct test is ID[0]==11005
I can't get conditional breakpoints to work. I have a variable ID and I
want to set a breakpoint which runs until ID==11005.
Here's what happens -
--
On Wed, Nov 6, 2013 at 10:25 AM, Νίκος Γκρ33κ nikos.gr...@gmail.com wrote:
Okey let the hacker try again to mess with my database!!!
He is done it twice, lets see if he will make it again!
I'am waiting!
--
https://mail.python.org/mailman/listinfo/python-list
Nothing like a good challenge.
On Wed, 06 Nov 2013 17:25:04 +0200, Νίκος Γκρ33κ wrote:
Okey let the hacker try again to mess with my database!!!
He is done it twice, lets see if he will make it again!
I'am waiting!
I don't think any cracker (hacker is something different) would need to.
you are doing a more than
On Mon, 4 Nov 2013 11:46:54 -0800 (PST), Pratik Mehta wrote:
I have written Python code for Google Drive which uploads the image
files to my drive app. I have three queries. Here is my code:
[snip]
My Queries:
1. This program will upload all the images to my given client_id and
On 06/11/2013 16:40, Alister wrote:
On Wed, 06 Nov 2013 17:25:04 +0200, Νίκος Γκρ33κ wrote:
Okey let the hacker try again to mess with my database!!!
He is done it twice, lets see if he will make it again!
I'am waiting!
(sorry every one I tried not to reply to Nicos but finally lost it)
On 06/11/2013 15:25, Νίκος Γκρ33κ wrote:
Okey let the hacker try again to mess with my database!!!
He is done it twice, lets see if he will make it again!
I'am waiting!
Terribly sorry old chap. We had our first team meeting this morning.
They were very enthusiastic, really wanted to get on
I just wanted to say thank you to everyone who posted here with recommendations
for programming-friendly text editors. I will follow up on this after I have
resolved a more fundamental issue with my new student -- his Python 3.3.2
interpreter segfaults and crashes on the second command! I'll
On Fri, Nov 1, 2013 at 11:03 AM, Albert-Jan Roskam fo...@yahoo.com wrote:
I would like to test the reliability and stability of at least one of them
I am curious whether the program will crash under certain circumstances
(e.g. multiple users checking code at *exactly* the same moment). What
On Wed, 06 Nov 2013 09:30:03 +0200, Nick the Gr33k wrote:
I have decided to take your advice.
No you haven't. You only think you have, but really you either haven't
understood the advice at all.
My implementation is like the following.
I do not use an extra table of downlaods that i
On Wednesday, November 6, 2013 11:29:11 PM UTC+5:30, Denis McMahon wrote:
On Wed, 06 Nov 2013 09:30:03 +0200, Nick the Gr33k wrote:
I have decided to take your advice.
No you haven't. You only think you have, but really you either haven't…
No, you think that he thinks that he has.
Of
On 06/11/2013 17:59, Denis McMahon wrote:
On Wed, 06 Nov 2013 09:30:03 +0200, Nick the Gr33k wrote:
I have decided to take your advice.
No you haven't. You only think you have, but really you either haven't
understood the advice at all.
My implementation is like the following.
I do not use
I am trying to help a student of mine install Python 3 on his MacBook Pro. The
installation succeeds. However, upon opening the Python interpreter, he can
only execute one Python command successfully. On the second command, the
interpreter crashes, giving the error Segmentation fault: 11.
I
Have a look at selenium and sauce labs:
http://www.seleniumhq.org/
https://saucelabs.com/
Maybe we should pass that information along to Kathleen Sebelius. :-)
Skip
--
https://mail.python.org/mailman/listinfo/python-list
On 06/11/2013 18:15, John Ladasky wrote:
I am trying to help a student of mine install Python 3 on his MacBook Pro. The
installation succeeds. However, upon opening the Python interpreter, he can only execute
one Python command successfully. On the second command, the interpreter crashes,
On Monday, October 28, 2013 10:22:00 PM UTC-7, Steven D'Aprano wrote:
Does anyone here use slices (or range/xrange) with negative strides other
than -1?
Non default positive strides are very handy, but negative strides seem weird to
me. Not the negative striding exactly, but the way
Hi,
Immediate Opening (Sr C++ / Linux Developer / Lead)
Location: Barrington, IL
Employment Type: Contract
Mandatory Skills
Linux Expert, Multi-Threading, C++, Good Communication skills, Agile, Scrum,
Design Patterns
Desired Skills
MFC
Job Responsibilities
Minimum 8-10
On Nov 6, 2013, at 1:25 PM, Skip Montanaro s...@pobox.com wrote:
Have a look at selenium and sauce labs:
http://www.seleniumhq.org/
https://saucelabs.com/
Maybe we should pass that information along to Kathleen Sebelius. :-)
Skip
Definitely! Anyone seen the cover of this week's issue
Thanks, Mark.
Reading through the information in your link, I appear to have encountered an
actual bug specific to Python 3.3.2 and OS X 10.9. And it appears that the
3.3.3 version of Python that fixes this bug is still in beta. And that I can
have my student download the working version
On 06/11/2013 20:47, John Ladasky wrote:
Thanks, Mark.
Reading through the information in your link, I appear to have encountered an
actual bug specific to Python 3.3.2 and OS X 10.9. And it appears that the
3.3.3 version of Python that fixes this bug is still in beta. And that I can
have
Στις 6/11/2013 5:25 μμ, ο/η Νίκος Γκρ33κ έγραψε:
Okey let the hacker try again to mess with my database!!!
He is done it twice, lets see if he will make it again!
I'am waiting!
No luck yet mighty one? :)
--
https://mail.python.org/mailman/listinfo/python-list
On 06Nov2013 09:51, John Ladasky john_lada...@sbcglobal.net wrote:
I just wanted to say thank you to everyone who posted here with
recommendations for programming-friendly text editors. I will follow up on
this after I have resolved a more fundamental issue with my new student --
his
On 06/11/2013 21:26, Νίκος Γκρ33κ wrote:
Στις 6/11/2013 5:25 μμ, ο/η Νίκος Γκρ33κ έγραψε:
Okey let the hacker try again to mess with my database!!!
He is done it twice, lets see if he will make it again!
I'am waiting!
No luck yet mighty one? :)
Nikos, just in case you don't understand
On 06/11/2013 21:26, Νίκος Γκρ33κ wrote:
Στις 6/11/2013 5:25 μμ, ο/η Νίκος Γκρ33κ έγραψε:
Okey let the hacker try again to mess with my database!!!
He is done it twice, lets see if he will make it again!
I'am waiting!
No luck yet mighty one? :)
So you're proud of the fact that you've only
On Wednesday 06 November 2013 16:10:40 Skip Montanaro did opine:
Have a look at selenium and sauce labs:
http://www.seleniumhq.org/
https://saucelabs.com/
Maybe we should pass that information along to Kathleen Sebelius. :-)
Skip
I seriously doubt it would do much good. I had a
On 2013-11-06, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 06/11/2013 21:26, ?? ??33?? wrote:
6/11/2013 5:25 , ??/?? ?? ??33?? :
Okey let the hacker try again to mess with my database!!!
He is done it twice, lets see if he will make it
On 06/11/2013 18:25, Skip Montanaro wrote:
Have a look at selenium and sauce labs:
http://www.seleniumhq.org/
https://saucelabs.com/
Maybe we should pass that information along to Kathleen Sebelius. :-)
Skip
Was she also involved with the nectar search toolbar?
--
Python is the second
On Wed, 06 Nov 2013 23:26:26 +0200
Νίκος Γκρ33κ wrote:
Στις 6/11/2013 5:25 μμ, ο/η Νίκος Γκρ33κ έγραψε:
Okey let the hacker try again to mess with my database!!!
He is done it twice, lets see if he will make it again!
I'am waiting!
No luck yet mighty one? :)
I am very new to this
On 2013-11-06 22:22, Grant Edwards wrote:
Waving red flags at female bulls is rarely dangerous. ;)
though I still wouldn't recommend it if you're COWardly :-)
Well, maybe the issue is MOOt.
-tkc
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Nov 7, 2013 at 9:34 AM, Tim Chase python.l...@tim.thechases.com wrote:
On 2013-11-06 22:22, Grant Edwards wrote:
Waving red flags at female bulls is rarely dangerous. ;)
though I still wouldn't recommend it if you're COWardly :-)
Well, maybe the issue is MOOt.
Ugh, if only these
On Thu, Nov 7, 2013 at 6:32 AM, parker.svksyst...@gmail.com wrote:
Immediate Opening (Sr C++ / Linux Developer / Lead)
Thanks and Regards
Petter Parker
Normally we'd ask job postings to be redirected to the Python Job
Board, but this one doesn't appear to have anything to do with Python
at
On 06/11/2013 22:54, Chris Angelico wrote:
On Thu, Nov 7, 2013 at 9:34 AM, Tim Chase python.l...@tim.thechases.com wrote:
On 2013-11-06 22:22, Grant Edwards wrote:
Waving red flags at female bulls is rarely dangerous. ;)
though I still wouldn't recommend it if you're COWardly :-)
Well,
On Thu, Nov 7, 2013 at 10:52 AM, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 06/11/2013 22:54, Chris Angelico wrote:
On Thu, Nov 7, 2013 at 9:34 AM, Tim Chase python.l...@tim.thechases.com
wrote:
On 2013-11-06 22:22, Grant Edwards wrote:
Waving red flags at female bulls is rarely
Thought this group would appreciate this: www.metabright.com/challenges/python
MetaBright makes skill assessments to measure how talented people are at
different skills. And recruiters use MetaBright to find outrageously skilled
job candidates.
Python is a new area of expertise for us. We make
On 06/11/2013 23:57, Chris Angelico wrote:
On Thu, Nov 7, 2013 at 10:52 AM, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 06/11/2013 22:54, Chris Angelico wrote:
On Thu, Nov 7, 2013 at 9:34 AM, Tim Chase python.l...@tim.thechases.com
wrote:
On 2013-11-06 22:22, Grant Edwards wrote:
I use a Macbook air for programming - yes it has Python 2.x in it.
For code editing i use a combination of:
1) Wing IDE 101
(from their website: is free scaled down Python IDE designed for teaching
introductory programming classes)
2) Sublime Text
3) Good old Vi
You could try those
On Thu, Nov
On 07/11/2013 00:00, Nathaniel Sokoll-Ward wrote:
Thought this group would appreciate this: www.metabright.com/challenges/python
MetaBright makes skill assessments to measure how talented people are at
different skills. And recruiters use MetaBright to find outrageously skilled
job
In article jWAeu.102858$rN3.45213@fx21.am4,
Andrew Cooper root@127.0.0.1 wrote:
On 07/11/2013 00:00, Nathaniel Sokoll-Ward wrote:
Thought this group would appreciate this:
www.metabright.com/challenges/python
MetaBright makes skill assessments to measure how talented people are at
On 07/11/2013 00:24, Roy Smith wrote:
In article jWAeu.102858$rN3.45213@fx21.am4,
Andrew Cooper root@127.0.0.1 wrote:
On 07/11/2013 00:00, Nathaniel Sokoll-Ward wrote:
Thought this group would appreciate this:
www.metabright.com/challenges/python
MetaBright makes skill assessments to
On Wednesday 06 November 2013 18:19:17 Chris Angelico did opine:
On Thu, Nov 7, 2013 at 9:34 AM, Tim Chase python.l...@tim.thechases.com
wrote:
On 2013-11-06 22:22, Grant Edwards wrote:
Waving red flags at female bulls is rarely dangerous. ;)
though I still wouldn't recommend it if
On 07/11/2013 00:28, Andrew Cooper wrote:
On 07/11/2013 00:24, Roy Smith wrote:
In article jWAeu.102858$rN3.45213@fx21.am4,
Andrew Cooper root@127.0.0.1 wrote:
On 07/11/2013 00:00, Nathaniel Sokoll-Ward wrote:
Thought this group would appreciate this:
www.metabright.com/challenges/python
On 11/06/2013 03:57 PM, Chris Angelico wrote:
On Thu, Nov 7, 2013 at 10:52 AM, Mark Lawrence wrote:
On 06/11/2013 22:54, Chris Angelico wrote:
On Thu, Nov 7, 2013 at 9:34 AM, Tim Chase wrote:
On 2013-11-06 22:22, Grant Edwards wrote:
Waving red flags at female bulls is rarely dangerous. ;)
On Thu, Nov 7, 2013 at 11:00 AM, Nathaniel Sokoll-Ward
nathanielsokollw...@gmail.com wrote:
Thought this group would appreciate this: www.metabright.com/challenges/python
MetaBright makes skill assessments to measure how talented people are at
different skills. And recruiters use MetaBright
Employee Salaries
You are working for a medium sized construction company as an intern in
the Information Technology department. A director in the Human Resources
department recently asked the IT department to write a small program that will
help them do a salary comparison. The
On Thu, Nov 7, 2013 at 11:00 AM, Nathaniel Sokoll-Ward
nathanielsokollw...@gmail.com wrote:
Thought this group would appreciate this: www.metabright.com/challenges/python
MetaBright makes skill assessments to measure how talented people are at
different skills. And recruiters use MetaBright
On Thu, Nov 7, 2013 at 11:56 AM, jonny seelye casiobo...@gmail.com wrote:
Employee Salaries
Use the following test data to test your program.
Employee Name Salary
John$45,600 Average Salary: $63, 862.50
Sue $55,400 Highest Salary: $89,750
David $64,700
On 07/11/2013 00:59, Chris Angelico wrote:
On Thu, Nov 7, 2013 at 11:00 AM, Nathaniel Sokoll-Ward
nathanielsokollw...@gmail.com wrote:
Thought this group would appreciate this: www.metabright.com/challenges/python
MetaBright makes skill assessments to measure how talented people are at
On Thu, Nov 7, 2013 at 12:12 PM, MRAB pyt...@mrabarnett.plus.com wrote:
From which languages are Python classes derived from?
Does it really have the word from twice?
You know, I didn't even notice that. But since that was copied and
pasted, I would say that yes, it really does. That's a
On 11/6/2013 5:04 PM, Chris Angelico wrote:
On Thu, Nov 7, 2013 at 11:00 AM, Nathaniel Sokoll-Ward
nathanielsokollw...@gmail.com wrote:
Thought this group would appreciate this:
www.metabright.com/challenges/python
MetaBright makes skill assessments to measure how talented people are at
On Wednesday, November 6, 2013 4:00:57 PM UTC-8, Nathaniel Sokoll-Ward wrote:
Thought this group would appreciate this: www.metabright.com/challenges/python
I have to concur with what several other people are saying here. Several of
MetaBright's questions are ambiguously worded, or expect
On Thu, Nov 7, 2013 at 12:55 PM, John Ladasky
john_lada...@sbcglobal.net wrote:
On Wednesday, November 6, 2013 4:00:57 PM UTC-8, Nathaniel Sokoll-Ward wrote:
Thought this group would appreciate this:
www.metabright.com/challenges/python
I have to concur with what several other people are
On Wed, 06 Nov 2013 16:56:26 -0800, jonny seelye wrote:
Since the name of the employee will be a string and the
salary will be a number, you decide to use two parallel
arrays to store the data.
The hell I do! I decide to do this:
# data initialisation
minsal = maxsal = sumsal = 0.0
minpers
Nikos said:
Okey let the hacker try again to mess with my database!!!
He is done it twice, lets see if he will make it again!
I'am waiting!
Seriously man, you gotta stop. Are you trying to be a host provider? You
know absolutely nothing about what you are doing. There are security holes
On 2013-11-07 10:57, Chris Angelico wrote:
Waving red flags at female bulls is rarely dangerous. ;)
though I still wouldn't recommend it if you're COWardly :-)
Well, maybe the issue is MOOt.
Ugh, if only these puns were like CALF-way funny...
I hereby profoundly apologise to the
On 2013-11-06 17:31, John Nagle wrote:
MetaBright makes skill assessments to measure how talented
people are at different skills. And recruiters use MetaBright to
find outrageously skilled job candidates.
With tracking cookies blocked, you get 0 points.
And with JavaScript blocked, you
h
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Nov 7, 2013 at 2:18 PM, Kewl p kewlp...@gmail.com wrote:
h
You've come to the right place, but (as the Princess Ida put it) the
subject's deep - how should we treat it, pray?
I recommend you start with the Python tutorial:
http://docs.python.org/3/tutorial/
and when you've worked
On Thu, Nov 7, 2013 at 11:22 AM, Ethan Furman et...@stoneleaf.us wrote:
Not only the OP (which I missed, 'cause he's a troll) was absolutely
hilarious, but this part of the thread has made my day. I guess trolls can
(rarely) have good side effects. :)
I could continue with the puns, but it'd
On Thursday, November 7, 2013 8:48:26 AM UTC+5:30, Kewl p wrote:
h
thanks very much
--
https://mail.python.org/mailman/listinfo/python-list
Hello Everyone,
I'm writing a little helper script in Python that will access a JSON
formatted argument from the shell when it's called. The parameter will
look like this:
{url:http://www.google.com}
So, if my program is called getargfromcli.py the call will look like this:
getargfromcli.py
On Wed, Nov 6, 2013 at 7:53 PM, Anthony Papillion papill...@gmail.com wrote:
Hello Everyone,
I'm writing a little helper script in Python that will access a JSON
formatted argument from the shell when it's called. The parameter will
look like this:
{url:http://www.google.com}
So, if my
In article mailman.2117.1383796399.18130.python-l...@python.org,
Anthony Papillion papill...@gmail.com wrote:
Hello Everyone,
I'm writing a little helper script in Python that will access a JSON
formatted argument from the shell when it's called. The parameter will
look like this:
在 2013年11月7日星期四UTC+8上午11时53分09秒,Anthony Papillion写道:
Hello Everyone,
I'm writing a little helper script in Python that will access a JSON
formatted argument from the shell when it's called. The parameter will
look like this:
{url:http://www.google.com}
So, if my program
On Thursday, November 7, 2013 8:48:26 AM UTC+5:30, Kewl p wrote:
h
can i get link of a ide in which python can run,,...??
--
https://mail.python.org/mailman/listinfo/python-list
Kewl p kewlp...@gmail.com writes:
On Thursday, November 7, 2013 8:48:26 AM UTC+5:30, Kewl p wrote:
h
can i get link of a ide in which python can run,,...??
I recommend learning a programming environment that is *not* tied to a
particular programming language.
Use an environment that
Antoine Pitrou added the comment:
I'm not sure why it's surprising. SNI and certificate validation are two
different things. Besides, this is adding a new level of complication to the
wrap_socket() signature.
--
___
Python tracker
Antoine Pitrou added the comment:
There is already an entire section about this:
http://docs.python.org/dev/library/ssl.html#security-considerations
It's up to consumers of the API to choose their security policy, the ssl module
merely provides building blocks to implement it. I think the ssl
STINNER Victor added the comment:
There is already an entire section about this:
http://docs.python.org/dev/library/ssl.html#security-considerations
So we just need to add a link from http, ftp, imap, ... to this section?
Using only
Nick Coghlan added the comment:
Just reviewed Victor's patch - aside from a trivial typo and not covering the C
implementation or documentation yet, it looks good to me. Most importantly, the
tests in that patch could be used to validate a C implementation as well.
I'll see if I can find
Andrei Dorian Duma added the comment:
I am interested in working on this, but I might need guidance at times. Is that
acceptable? If yes, I'm willing to start as soon as possible.
--
nosy: +andrei.duma
___
Python tracker rep...@bugs.python.org
Nick Coghlan added the comment:
Thanks, Andrei, that would be great.
The tests and the Python version in Victor's patch show the desired API and
behaviour.
In theory, the C version should just be a matter of adding an equivalent
textiowrapper_set_encoding method as a static function in
Roundup Robot added the comment:
New changeset ce8dd299cdc4 by Nick Coghlan in branch 'default':
Close #19378: address flaws in the new dis module APIs
http://hg.python.org/cpython/rev/ce8dd299cdc4
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
status: open -
Changes by Nick Coghlan ncogh...@gmail.com:
--
assignee: - ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17823
___
___
Python-bugs-list
Steven D'Aprano added the comment:
Duplicate of this: http://bugs.python.org/issue6017
--
nosy: +stevenjd
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19332
___
Changes by Steven D'Aprano steve+pyt...@pearwood.info:
--
nosy: -stevenjd
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19332
___
___
Nick Coghlan added the comment:
Switch direction of dependency to make this fixer rely on restoring the codec
aliases in issue 7475 first.
--
dependencies: +codecs missing: base64 bz2 hex zlib hex_codec ...
___
Python tracker rep...@bugs.python.org
Nick Coghlan added the comment:
Providing the 2to3 fixers in issue 17823 now depends on this issue rather than
the other way around (since not having to translate the names simplifies the
fixer a bit).
--
dependencies: -2to3 fixers for missing codecs
Changes by Tim Golden m...@timgolden.me.uk:
--
assignee: - tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13674
___
___
Changes by Tim Golden m...@timgolden.me.uk:
--
components: +Windows
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13674
___
New submission from Nick Coghlan:
In writing some new fixers for issue 17823, I noticed the 2/3 bridge grammar in
lib2to3 was never updated to handle yield from.
This item is also missing from the checklist in the devguide:
http://docs.python.org/devguide/grammar.html
--
components:
Nick Coghlan added the comment:
Attached diff shows a proof of concept fixer for the encode case.
It could be adjusted fairly easily to also handle decode methods (by including
an alternative in the pattern and also capturing the method name)
I'm sure how useful such a fixer would be in
Changes by Bohuslav Slavek Kabrda bkab...@redhat.com:
--
nosy: +bkabrda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9216
___
___
Nick Coghlan added the comment:
On 7 November 2013 00:06, Nick Coghlan rep...@bugs.python.org wrote:
I'm sure how useful such a fixer would be in practice, though, since it only
triggers when the codec name is passed as a literal - passing in a variable
instead keeps it from firing.
Oops,
Tim Golden added the comment:
Attached is a patch with tests
--
keywords: +patch
Added file: http://bugs.python.org/file32516/issue13674.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13674
Changes by Meador Inge mead...@gmail.com:
--
nosy: +meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19511
___
___
Python-bugs-list
Changes by Meador Inge mead...@gmail.com:
--
nosy: +meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17823
___
___
Python-bugs-list
STINNER Victor added the comment:
+if (strchr(y, outbuf[1]) buf.tm_year 0)
hum... why not simply outbuf[1] == 'y' ? It would be more explicit and less
surprising.
For the unit test, it would be nice to test also asctime(), even if
time.asctime() doesn't use asctime() of the C
Alexander Belopolsky added the comment:
MAL: Have you thought about the rounding/truncation issues
associated with not showing microseconds ?
I believe it has to be the truncation. Rounding is better left to the user
code where it can be done either using timedelta arithmetics or at the time
1 - 100 of 151 matches
Mail list logo